#metabrainz

/

      • ruaok
        k.
      • 2016-06-27 17939, 2016

      • ruaok
        might be good to work together from the office, too.
      • 2016-06-27 17948, 2016

      • Gentlecat
        sure, I can come
      • 2016-06-27 17911, 2016

      • chirlu
        dumb: See above (or chatlog).
      • 2016-06-27 17945, 2016

      • dumb
        chirlu: sorry but i can't see previous chat and i dont know how to see chatlog
      • 2016-06-27 17936, 2016

      • chirlu
      • 2016-06-27 17959, 2016

      • dumb
        thanks chirlu
      • 2016-06-27 17950, 2016

      • dumb
        Can u please infrom me or give reference about the files in "musicbrainz-server/admin/cron , admin/replication, bin/"
      • 2016-06-27 17956, 2016

      • dumb
        Thanks in advance
      • 2016-06-27 17957, 2016

      • dumb
        .
      • 2016-06-27 17952, 2016

      • dumb
        kudos #chirlu
      • 2016-06-27 17952, 2016

      • chirlu has left the channel
      • 2016-06-27 17904, 2016

      • chirlu joined the channel
      • 2016-06-27 17913, 2016

      • ruaok
      • 2016-06-27 17909, 2016

      • Gentlecat
        docker container?
      • 2016-06-27 17912, 2016

      • ruaok
        yep
      • 2016-06-27 17914, 2016

      • ruaok
        fab build_static
      • 2016-06-27 17918, 2016

      • ruaok
        fails though.
      • 2016-06-27 17925, 2016

      • ruaok
        is fabric installed?
      • 2016-06-27 17932, 2016

      • Gentlecat
        ah, I didn't test that
      • 2016-06-27 17944, 2016

      • ruaok
        let me see if I can fix it.
      • 2016-06-27 17947, 2016

      • ruaok
        should be simple
      • 2016-06-27 17955, 2016

      • Gentlecat
        just built them before spinning up the box
      • 2016-06-27 17918, 2016

      • ruaok
        ah.
      • 2016-06-27 17958, 2016

      • Gentlecat
        should be party of dockerfile
      • 2016-06-27 17905, 2016

      • Gentlecat
        part*
      • 2016-06-27 17907, 2016

      • ruaok
        woo party!
      • 2016-06-27 17910, 2016

      • ruaok
        oh. :(
      • 2016-06-27 17951, 2016

      • ruaok
        where is the fabfile??
      • 2016-06-27 17900, 2016

      • Gentlecat
        oh, I might have got rid of it
      • 2016-06-27 17907, 2016

      • ruaok
        seems that way.
      • 2016-06-27 17915, 2016

      • Gentlecat
        it doesn't speak py3
      • 2016-06-27 17915, 2016

      • ruaok
        is gulp a node tool?
      • 2016-06-27 17926, 2016

      • Gentlecat
        check manage.py
      • 2016-06-27 17931, 2016

      • ruaok
        I see gulpfile.js
      • 2016-06-27 17937, 2016

      • Gentlecat
        yes it is
      • 2016-06-27 17922, 2016

      • ruaok
        nothing in manage.py about building the static files
      • 2016-06-27 17905, 2016

      • ruaok
        meh. I'll let you fix this when you get in.
      • 2016-06-27 17914, 2016

      • ruaok
        but short of that, it fired right up.
      • 2016-06-27 17951, 2016

      • ruaok
        signing in works too.
      • 2016-06-27 17955, 2016

      • ruaok
        this is freaking sweet. :)
      • 2016-06-27 17912, 2016

      • ruaok kicks the VM in the face
      • 2016-06-27 17919, 2016

      • chirlu has quit
      • 2016-06-27 17937, 2016

      • chirlu joined the channel
      • 2016-06-27 17946, 2016

      • ruaok
        wow.
      • 2016-06-27 17953, 2016

      • ruaok
        just wow.
      • 2016-06-27 17901, 2016

      • ruaok
        I did a docker-compose up -d
      • 2016-06-27 17906, 2016

      • ruaok
        followed by
      • 2016-06-27 17908, 2016

      • ruaok
        reboot
      • 2016-06-27 17923, 2016

      • ruaok
        docker gave zero fucks and properly restarted everything.
      • 2016-06-27 17932, 2016

      • Gore|home has quit
      • 2016-06-27 17909, 2016

      • rahulr joined the channel
      • 2016-06-27 17921, 2016

      • madmouser1 has quit
      • 2016-06-27 17924, 2016

      • rahulr has quit
      • 2016-06-27 17911, 2016

      • Gentlecat
      • 2016-06-27 17922, 2016

      • ruaok
        They changed the packaging..
      • 2016-06-27 17929, 2016

      • hellska has quit
      • 2016-06-27 17941, 2016

      • D4RK-PH0ENiX has quit
      • 2016-06-27 17908, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-06-27 17949, 2016

      • D4RK-PH0ENiX has quit
      • 2016-06-27 17947, 2016

      • dumb has quit
      • 2016-06-27 17906, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-06-27 17906, 2016

      • D4RK-PH0ENiX has quit
      • 2016-06-27 17913, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-06-27 17942, 2016

      • Freso|koume joined the channel
      • 2016-06-27 17924, 2016

      • pingupingu joined the channel
      • 2016-06-27 17924, 2016

      • pingupingu has quit
      • 2016-06-27 17924, 2016

      • pingupingu joined the channel
      • 2016-06-27 17942, 2016

      • rahulr joined the channel
      • 2016-06-27 17942, 2016

      • rahulr has quit
      • 2016-06-27 17942, 2016

      • rahulr joined the channel
      • 2016-06-27 17959, 2016

      • chrisskye
        ruaok: re link^, please advise on any expected actions on my part, thx
      • 2016-06-27 17939, 2016

      • madmouser1 joined the channel
      • 2016-06-27 17920, 2016

      • ruaok
        which link?
      • 2016-06-27 17956, 2016

      • ruaok
      • 2016-06-27 17931, 2016

      • chirlu has quit
      • 2016-06-27 17928, 2016

      • Freso|koume has quit
      • 2016-06-27 17947, 2016

      • Freso|koume joined the channel
      • 2016-06-27 17924, 2016

      • chirlu joined the channel
      • 2016-06-27 17951, 2016

      • ruaok comments on the links above
      • 2016-06-27 17936, 2016

      • reosarevok
        :)
      • 2016-06-27 17951, 2016

      • ruaok
        reosarevok: I'll leave the support@ spammer to you.
      • 2016-06-27 17957, 2016

      • reosarevok
        heh
      • 2016-06-27 17904, 2016

      • reosarevok
        I just clicked Report Spam
      • 2016-06-27 17906, 2016

      • ruaok
        see how much he's willing to pay 30M/requests a day.
      • 2016-06-27 17909, 2016

      • reosarevok
        Not feeling like shouting :p
      • 2016-06-27 17928, 2016

      • ruaok
        he can have half our traffic
      • 2016-06-27 17940, 2016

      • reosarevok
        Oh, crap
      • 2016-06-27 17945, 2016

      • reosarevok finds some legit mails in spam
      • 2016-06-27 17932, 2016

      • reosarevok
        Oh, only one apparently, at least in the last 30 days
      • 2016-06-27 17933, 2016

      • reosarevok
        Phew
      • 2016-06-27 17902, 2016

      • Freso|koume
        "I would like to buy 100% of your traffic." XD
      • 2016-06-27 17906, 2016

      • Freso|koume
        Good luck, dude.
      • 2016-06-27 17952, 2016

      • ruaok
        Gentlecat: *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
      • 2016-06-27 17954, 2016

      • chrisskye
        ruaok: yes, that link
      • 2016-06-27 17909, 2016

      • ruaok
        chrisskye: no action on your part required.
      • 2016-06-27 17920, 2016

      • ruaok
        Gentlecat: this comes back to the question of users.
      • 2016-06-27 17923, 2016

      • chrisskye
        ok
      • 2016-06-27 17933, 2016

      • Gentlecat
        but that's inside the container?
      • 2016-06-27 17947, 2016

      • ruaok
        yes.
      • 2016-06-27 17948, 2016

      • Gentlecat
        I was talking about the host
      • 2016-06-27 17929, 2016

      • ruaok
        I guess my question is this: Does it matter if we run uwsgi as root in a container?
      • 2016-06-27 17941, 2016

      • ruaok
        if so, then we need to create a user to run our stuff in.
      • 2016-06-27 17952, 2016

      • ruaok
        if not, then we ignore the message.
      • 2016-06-27 17903, 2016

      • Gentlecat
        creating a separate user for it shouldn't be a problem
      • 2016-06-27 17916, 2016

      • Gentlecat
        if that's what they recommend doing
      • 2016-06-27 17917, 2016

      • ruaok
        it is an extra manual step, sadly.
      • 2016-06-27 17925, 2016

      • ruaok
        I'm going to ask in #docker
      • 2016-06-27 17925, 2016

      • mihaitish has quit
      • 2016-06-27 17936, 2016

      • Freso|koume
        Even if it's in a container, it would probably still be good to follow standard security measures like that. One more obstacle for potential intruders.
      • 2016-06-27 17905, 2016

      • ruaok
        Freso|koume: yerp.
      • 2016-06-27 17917, 2016

      • ruaok
        Gentlecat: that is what the USER directive in Dockerfiles are for.
      • 2016-06-27 17922, 2016

      • ruaok
        I added
      • 2016-06-27 17925, 2016

      • ruaok
        USER daemon
      • 2016-06-27 17937, 2016

      • ruaok
        at the end of my Dockerfile and now it runs uwsgi as use daemon.
      • 2016-06-27 17909, 2016

      • JesseW joined the channel
      • 2016-06-27 17902, 2016

      • ruaok
        Gentlecat: why did you decide to install uwsgi via pip and not via apt-get?
      • 2016-06-27 17903, 2016

      • ruaok
        RUN pip install uWSGI==2.0.13.1
      • 2016-06-27 17920, 2016

      • Gentlecat
        latest version
      • 2016-06-27 17950, 2016

      • Gentlecat
        other than that, no specific reason
      • 2016-06-27 17910, 2016

      • ruaok
        because I can get the apt-get version to work.
      • 2016-06-27 17902, 2016

      • ruaok
        can't. :(
      • 2016-06-27 17951, 2016

      • Gentlecat
        in LB?
      • 2016-06-27 17903, 2016

      • ruaok
        yeah
      • 2016-06-27 17921, 2016

      • Gentlecat
        didn't try it, so can't suggest much
      • 2016-06-27 17934, 2016

      • ruaok
        > ImportError: No module named _sysconfigdata_nd
      • 2016-06-27 17940, 2016

      • ruaok
        da fuq? I
      • 2016-06-27 17945, 2016

      • ruaok
        I'll try your way.
      • 2016-06-27 17901, 2016

      • Gentlecat
        that's how they recommend to install it anyway http://uwsgi-docs.readthedocs.io/en/latest/WSGIqu…
      • 2016-06-27 17950, 2016

      • ruaok
        k, I'll just do that then.
      • 2016-06-27 17919, 2016

      • Zastai joined the channel
      • 2016-06-27 17952, 2016

      • chrisskye
        Does anyone know if these guys use of db? https://www.musicreports.com
      • 2016-06-27 17933, 2016

      • ruaok
        I really don't think they do. for now I would just ignore them and move on to other people.
      • 2016-06-27 17922, 2016

      • JesseW has quit
      • 2016-06-27 17959, 2016

      • ruaok
        armalcolite: got a bug for you: http://tickets.musicbrainz.org/browse/LB-94
      • 2016-06-27 17933, 2016

      • Mineo joined the channel
      • 2016-06-27 17919, 2016

      • kartikgupta0909 has quit
      • 2016-06-27 17950, 2016

      • github joined the channel
      • 2016-06-27 17950, 2016

      • github
        [listenbrainz-server] mayhem created docker-nginx (+4 new commits): https://github.com/metabrainz/listenbrainz-server…
      • 2016-06-27 17950, 2016

      • github
        listenbrainz-server/docker-nginx 93255ca Robert Kaye: Interim check-in
      • 2016-06-27 17950, 2016

      • github
        listenbrainz-server/docker-nginx 72b4ba1 Robert Kaye: Merge branch 'master' into docker-nginx
      • 2016-06-27 17950, 2016

      • github
        listenbrainz-server/docker-nginx 0c67c80 Robert Kaye: Add support for uwsgi and nginx
      • 2016-06-27 17950, 2016

      • github has left the channel
      • 2016-06-27 17900, 2016

      • github joined the channel
      • 2016-06-27 17900, 2016

      • github
        [listenbrainz-server] mayhem opened pull request #86: Docker nginx (master...docker-nginx) https://github.com/metabrainz/listenbrainz-server…
      • 2016-06-27 17900, 2016

      • github has left the channel
      • 2016-06-27 17927, 2016

      • ruaok wonders if Dockerfiles should all be concentrated into one dir
      • 2016-06-27 17909, 2016

      • chrisskye
        ruaok: Thank you for your advise. I am just following up on correspondence.
      • 2016-06-27 17900, 2016

      • Freso|koume
        Notes from #MetaBrainz meeting two weeks ago are now up: https://community.metabrainz.org/t/notes-from-met…
      • 2016-06-27 17942, 2016

      • colbydray joined the channel