#metabrainz

/

      • chirlu`
        Still, I think a local crontab for the musicbrainz_admin user would be better.
      • 2015-12-05 33935, 2015

      • Leftmost
        Ahh, local crontab is a new one on me. I'll look into that.
      • 2015-12-05 33942, 2015

      • Leftmost
        Sorry, a bit new at parts of this.
      • 2015-12-05 33951, 2015

      • chirlu`
        “crontab” command.
      • 2015-12-05 33936, 2015

      • Leftmost
        Thanks. And thanks for putting up with my ignorance.
      • 2015-12-05 33947, 2015

      • Leftmost
        I mean, not that you have a choice. ;)
      • 2015-12-05 33927, 2015

      • Leftmost
        It looks like the user has a cron job set up for slave.sh already, for five minutes after the hour.
      • 2015-12-05 33910, 2015

      • Leftmost
        I've poked at it, but if it doesn't run at the next hour, I'll poke it some more.
      • 2015-12-05 33914, 2015

      • Leftmost
        Err, well, it did run this hour. Is the slave db not up-to-date?
      • 2015-12-05 33903, 2015

      • chirlu`
        No, it’s from November 24 currently.
      • 2015-12-05 33927, 2015

      • chirlu`
        This also matches the latest logfile (~musicbrainz_admin/musicbrainz-server/slave.log).
      • 2015-12-05 33935, 2015

      • chirlu`
        What does “crontab -u musicbrainz_admin -l” output?
      • 2015-12-05 33906, 2015

      • darwin
        "man 5 crontab" is also a good read...
      • 2015-12-05 33917, 2015

      • reosarevok
        heh. ruaok: of course, I have friends in common with your Estonian friend in BCN :D
      • 2015-12-05 33922, 2015

      • reosarevok
        This country is so tiny it's amazing
      • 2015-12-05 33945, 2015

      • ruaok
        Mikhel?
      • 2015-12-05 33958, 2015

      • reosarevok
        Jep
      • 2015-12-05 33930, 2015

      • Leftmost
        chirlu`, 5 * * * * eval $(perl -Mlocal::lib=$HOME/perl5) && cd /home/musicbrainz_admin/musicbrainz-server && /home/musicbrainz_admin/musicbrainz-server/admin/cron/slave.sh 2> /dev/null
      • 2015-12-05 33909, 2015

      • chirlu`
        Ohh, good hint.
      • 2015-12-05 33938, 2015

      • Leftmost
        Ran it manually, getting an error. (Since stderr seems to just be sent to /dev/null.)
      • 2015-12-05 33938, 2015

      • grough has quit
      • 2015-12-05 33941, 2015

      • chirlu`
        You’ll need to reinstall the Perl dependencies, like on the sandbox servers themselves.
      • 2015-12-05 33952, 2015

      • Leftmost
        Yep.
      • 2015-12-05 33920, 2015

      • Leftmost
        Getting the Perl_Istack_sp_ptr error.
      • 2015-12-05 33946, 2015

      • chirlu`
        So, you should: 1. “rm -rf ~musicbrainz_admin/perl5”
      • 2015-12-05 33908, 2015

      • chirlu`
        2. Run “eval $(perl -Mlocal::lib=$HOME/perl5)”.
      • 2015-12-05 33926, 2015

      • chirlu`
        3. Install the newest cpanminus, because the one from the package is too old.
      • 2015-12-05 33952, 2015

      • chirlu`
        “curl -L https://cpanmin.us | perl - App::cpanminus”
      • 2015-12-05 33931, 2015

      • chirlu`
        4. Run “cpanm --installdeps --notest .”.
      • 2015-12-05 33940, 2015

      • Leftmost
        Already on it, thanks. :)
      • 2015-12-05 33948, 2015

      • chirlu`
        Step 4 inside the musicbrainz-server dir, of course.
      • 2015-12-05 33917, 2015

      • Leftmost
        I appreciate your help.
      • 2015-12-05 33900, 2015

      • Leftmost
        chirlu`, running slave.sh manually right now. Let me know if there are any further problems.
      • 2015-12-05 33903, 2015

      • Leftmost
        And thanks again.
      • 2015-12-05 33945, 2015

      • chirlu`
        Thank you for fixing rika. :)
      • 2015-12-05 33907, 2015

      • chirlu`
        (Should I already mention that I have another task? ;-) )
      • 2015-12-05 33922, 2015

      • Leftmost
        Go for it.
      • 2015-12-05 33929, 2015

      • chirlu`
      • 2015-12-05 33929, 2015

      • chirlu`
        It’s in ~ianmcorvidae/mb-reportstool currently, but possibly should be moved (to ~musicbrainz_admin?).
      • 2015-12-05 33948, 2015

      • chirlu`
        It uses Python, so no idea what needs to be done regarding dependencies.
      • 2015-12-05 33904, 2015

      • Leftmost
        Okay. Let me see.
      • 2015-12-05 33915, 2015

      • chirlu`
        ~ianmcorvidae/mb-reportstool/fcgi.sock is the socket.
      • 2015-12-05 33922, 2015

      • Leftmost
        Yep.
      • 2015-12-05 33955, 2015

      • Leftmost messes around with venv.
      • 2015-12-05 33928, 2015

      • Leftmost
        Okay, I'm not sure how this is properly run to set fcgi.sock.
      • 2015-12-05 33933, 2015

      • Leftmost
        uwsgi, presumably, but bleh.
      • 2015-12-05 33917, 2015

      • regagain has quit
      • 2015-12-05 33952, 2015

      • Leftmost
        Oh, got it.
      • 2015-12-05 33918, 2015

      • Leftmost
        chirlu`, good news! Now it's a 500 instead of a 502. :)
      • 2015-12-05 33912, 2015

      • Leftmost
        chirlu`, looks like it's working. Let me know if it isn't. :)
      • 2015-12-05 33925, 2015

      • Leftmost
        Replication is still catching up.
      • 2015-12-05 33959, 2015

      • Leftmost
        It's on 91169 right now.
      • 2015-12-05 33936, 2015

      • chirlu`
        Yes, reports seem to work. Great.
      • 2015-12-05 33905, 2015

      • chirlu`
        Yeah, replication may take a while still.
      • 2015-12-05 33957, 2015

      • Leftmost
        Yep. :)
      • 2015-12-05 33907, 2015

      • Leftmost
        Anyhow, feel free to ping me with more stuff, but I'm off for a bit.
      • 2015-12-05 33956, 2015

      • Bookzombie
        LordSputnik pushed 2 commits to bookbrainz-site: https://github.com/bookbrainz/bookbrainz-site/com…
      • 2015-12-05 33939, 2015

      • Bookzombie
        LordSputnik pushed 1 commits to bookbrainz-site: https://github.com/bookbrainz/bookbrainz-site/com…
      • 2015-12-05 33919, 2015

      • LordSputnik
        Leftmost: BB ready for release :)
      • 2015-12-05 33914, 2015

      • Bookzombie
        LordSputnik pushed 64 commits to bookbrainz-site: https://github.com/bookbrainz/bookbrainz-site/com…
      • 2015-12-05 33939, 2015

      • D4RK-PH0ENiX has quit