#metabrainz

/

      • d4rkie has quit
      • 2020-08-30 24350, 2020

      • Nyanko-sensei joined the channel
      • 2020-08-30 24339, 2020

      • Gore has quit
      • 2020-08-30 24328, 2020

      • Gore joined the channel
      • 2020-08-30 24348, 2020

      • BrainzGit
        [spambrainz_ml] diru1100 opened pull request #3 (master…predict): Add prediction and resepective dataset generation code https://github.com/metabrainz/spambrainz_ml/pull/3
      • 2020-08-30 24342, 2020

      • BrainzGit
        [spambrainz_ml] diru1100 opened pull request #4 (master…retrain): Add retrain code with all the dependencies https://github.com/metabrainz/spambrainz_ml/pull/4
      • 2020-08-30 24346, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1669 (master…more-flow): Improve flow typing and add flow strict-local when possible https://github.com/metabrainz/musicbrainz-server/…
      • 2020-08-30 24316, 2020

      • reosarevok
        yvanzo: thanks! :)
      • 2020-08-30 24342, 2020

      • iliekcomputers
        shivam-kapila: i think we need to mention why we didn't actually do the redesign in the work product
      • 2020-08-30 24311, 2020

      • iliekcomputers
        or just not mention the redesign at all because we didn't do it
      • 2020-08-30 24333, 2020

      • iliekcomputers
        i don't think putting in screenshots of a design we didn't do in the end is a good idea.
      • 2020-08-30 24344, 2020

      • iliekcomputers
        i think it's probably a good idea to not structure this doc in terms of phases, because there's really not much to say about phase 2.
      • 2020-08-30 24341, 2020

      • iliekcomputers
        Maybe structure it in terms of "Things that I changed", "Things that I'm working on currently"
      • 2020-08-30 24343, 2020

      • shivam-kapila
        iliekcomputers: thanks
      • 2020-08-30 24302, 2020

      • shivam-kapila
        I will update and ping you
      • 2020-08-30 24325, 2020

      • Gore has quit
      • 2020-08-30 24355, 2020

      • Gore joined the channel
      • 2020-08-30 24310, 2020

      • antlarr has quit
      • 2020-08-30 24348, 2020

      • shivam-kapila
        iliekcomputers: One question
      • 2020-08-30 24326, 2020

      • rdswift has quit
      • 2020-08-30 24315, 2020

      • rdswift joined the channel
      • 2020-08-30 24300, 2020

      • hugo___ has quit
      • 2020-08-30 24300, 2020

      • SomalRudra has quit
      • 2020-08-30 24300, 2020

      • mruszczyk has quit
      • 2020-08-30 24300, 2020

      • revi has quit
      • 2020-08-30 24331, 2020

      • alastairp has quit
      • 2020-08-30 24331, 2020

      • zas has quit
      • 2020-08-30 24331, 2020

      • jmp_music_ has quit
      • 2020-08-30 24331, 2020

      • iliekcomputers has quit
      • 2020-08-30 24332, 2020

      • loujine has quit
      • 2020-08-30 24334, 2020

      • prabal has quit
      • 2020-08-30 24315, 2020

      • zas joined the channel
      • 2020-08-30 24329, 2020

      • SomalRudra joined the channel
      • 2020-08-30 24337, 2020

      • hugo___ joined the channel
      • 2020-08-30 24338, 2020

      • alastairp joined the channel
      • 2020-08-30 24338, 2020

      • iliekcomputers joined the channel
      • 2020-08-30 24311, 2020

      • revi joined the channel
      • 2020-08-30 24311, 2020

      • prabal joined the channel
      • 2020-08-30 24334, 2020

      • Leftmost has quit
      • 2020-08-30 24336, 2020

      • Leftmost joined the channel
      • 2020-08-30 24351, 2020

      • jmp_music_ joined the channel
      • 2020-08-30 24302, 2020

      • loujine joined the channel
      • 2020-08-30 24322, 2020

      • antlarr joined the channel
      • 2020-08-30 24327, 2020

      • antlarr has quit
      • 2020-08-30 24337, 2020

      • adhawkins
        Hi all, trying to set up the musicbrainz server as a docker container using the official instructions. Seems to be basically working, but got a couple of issues:
      • 2020-08-30 24300, 2020

      • prabal has quit
      • 2020-08-30 24309, 2020

      • adhawkins
        1. (not a deal-breaker) the images etc on the web pages seem to be referenced using 'localhost' style URLs. Presumably somewhere I have to specify the host name of the machine the container is running on so that I can access it from elsewhere on the network. How do I do this?
      • 2020-08-30 24331, 2020

      • adhawkins
        2. When trying to set up replication, I'm getting this in slave.log when I run the replication script: https://paste.debian.net/1161824/
      • 2020-08-30 24335, 2020

      • adhawkins
        Appreciate any help.
      • 2020-08-30 24336, 2020

      • prabal joined the channel
      • 2020-08-30 24346, 2020

      • shivam-kapila
        iliekcomputers: ping
      • 2020-08-30 24357, 2020

      • shivam-kapila
        updated
      • 2020-08-30 24327, 2020

      • antlarr joined the channel
      • 2020-08-30 24359, 2020

      • mruszczyk joined the channel
      • 2020-08-30 24330, 2020

      • prabal has quit
      • 2020-08-30 24352, 2020

      • mruszczyk has quit
      • 2020-08-30 24358, 2020

      • iliekcomputers
        shivam-kapila: lgtm
      • 2020-08-30 24345, 2020

      • Mr_Monkey has quit
      • 2020-08-30 24344, 2020

      • mruszczyk joined the channel
      • 2020-08-30 24339, 2020

      • prabal joined the channel
      • 2020-08-30 24338, 2020

      • ishaanshah submits his final evaluation 🎉
      • 2020-08-30 24347, 2020

      • shivam-kapila
        Thx
      • 2020-08-30 24327, 2020

      • Mr_Monkey joined the channel
      • 2020-08-30 24358, 2020

      • supersandro2000 has quit
      • 2020-08-30 24327, 2020

      • Mr_Monkey has quit
      • 2020-08-30 24339, 2020

      • Mr_Monkey joined the channel
      • 2020-08-30 24322, 2020

      • heyoni has quit
      • 2020-08-30 24300, 2020

      • heyoni joined the channel
      • 2020-08-30 24329, 2020

      • Mr_Monkey has quit
      • 2020-08-30 24341, 2020

      • Mr_Monkey joined the channel
      • 2020-08-30 24302, 2020

      • yvanzo
      • 2020-08-30 24329, 2020

      • yvanzo
        for 2. I’m not sure, which commands exactly did you run?
      • 2020-08-30 24358, 2020

      • adhawkins
        yvanzo: Where do I set the environment variables to change the host name and port?
      • 2020-08-30 24332, 2020

      • v6lur joined the channel
      • 2020-08-30 24347, 2020

      • adhawkins
        yvanzo: This is the highlights of my command history on this box: http://paste.debian.net/1161836/
      • 2020-08-30 24355, 2020

      • yvanzo
        adhawkins: I recommend creating a file '.env' in your 'musicbrainz-docker' directory, see above: https://github.com/metabrainz/musicbrainz-docker#…
      • 2020-08-30 24310, 2020

      • adhawkins
        It's a VM so if need be I could revert and start again.
      • 2020-08-30 24327, 2020

      • yvanzo
        adhawkins: for 2. I found that instructions are misleading, will fix that
      • 2020-08-30 24334, 2020

      • diru110026 joined the channel
      • 2020-08-30 24302, 2020

      • adhawkins
        Ah, that probably won't have helped. Let me know if there's anything you want me to try. Happy to start again from scratch to 'debug' the instructions if need be.#
      • 2020-08-30 24304, 2020

      • yvanzo
        Since your local website is not currently in use, just stop it for initial replication.
      • 2020-08-30 24322, 2020

      • yvanzo
        sudo docker-compose stop musicbrainz
      • 2020-08-30 24341, 2020

      • yvanzo
        Then use "run" rather than "exec" for replication.
      • 2020-08-30 24315, 2020

      • yvanzo
        sudo docker-compose run musicbrainz replication.sh & sudo docker-compose exec musicbrainz /usr/bin/tail -f slave.log
      • 2020-08-30 24330, 2020

      • yvanzo
        (Using "exec" for log tail is fine.)
      • 2020-08-30 24351, 2020

      • diru1000 joined the channel
      • 2020-08-30 24337, 2020

      • adhawkins
        Docker exec said 'no container found'
      • 2020-08-30 24344, 2020

      • diru110026 has quit
      • 2020-08-30 24349, 2020

      • yvanzo
        so replication is probably running in a container with another name, try 'docker ps' to find its name.
      • 2020-08-30 24322, 2020

      • adhawkins
      • 2020-08-30 24326, 2020

      • adhawkins
        Which one of those, the first one?
      • 2020-08-30 24327, 2020

      • yvanzo
        yes
      • 2020-08-30 24306, 2020

      • yvanzo
        sudo docker exec musicbrainz-docker_musicbrainz_run_30f4e0fe0c3a /usr/bin/tail -f slave.log
      • 2020-08-30 24347, 2020

      • adhawkins
        Ok, getting the tail output now
      • 2020-08-30 24359, 2020

      • adhawkins
        So will it 'just work' when I set up the automatic replication with the web server running?
      • 2020-08-30 24308, 2020

      • yvanzo
        So it is currently downloading hourly replication packets that have been created after the database dump you downloaded, it should take some minutes.
      • 2020-08-30 24309, 2020

      • adhawkins
        Yes, it's up to yesterday at 9am, so about 30 or so to process.
      • 2020-08-30 24313, 2020

      • yvanzo
        At best it probably takes 1 minute per hour in average, that is about 40 minutes in your case.
      • 2020-08-30 24355, 2020

      • adhawkins
        Yeah, it's about a minute per packet on this machine.
      • 2020-08-30 24320, 2020

      • adhawkins
        Ok, so once this finishes and I set up cron, would you expect it to 'just work'?
      • 2020-08-30 24345, 2020

      • supersandro2000 joined the channel
      • 2020-08-30 24341, 2020

      • adhawkins
        yvanzo: The variable I set to setup a custom crontab, does that point to the file, or just the directory it's in?
      • 2020-08-30 24339, 2020

      • adhawkins
        I'll assume it's the path and file name, will see what happens.
      • 2020-08-30 24355, 2020

      • adhawkins
        In the container, how can I verify that it's using the correct one? Somewhere in /etc/cron.d?
      • 2020-08-30 24345, 2020

      • ephemer0l has quit
      • 2020-08-30 24301, 2020

      • shivam-kapila
        reosarevok: can you take a look before I publish the blog
      • 2020-08-30 24357, 2020

      • v6lur_ joined the channel
      • 2020-08-30 24303, 2020

      • v6lur__ joined the channel
      • 2020-08-30 24304, 2020

      • v6lur has quit
      • 2020-08-30 24328, 2020

      • adhawkins
        Ok, replication complete. Added the cron job. Any way within the container I can verify that it's set up using my custom crontab yvanzo?
      • 2020-08-30 24334, 2020

      • v6lur_ has quit
      • 2020-08-30 24350, 2020

      • yvanzo
        Is the previous container stopped? (docker ps)
      • 2020-08-30 24346, 2020

      • adhawkins
        Yes, I stopped it, then used docker-compose up -d to restart everything
      • 2020-08-30 24354, 2020

      • adhawkins
        crontab -l is showing the correct crontab I think.
      • 2020-08-30 24336, 2020

      • BrainzGit
        [listenbrainz-server] vansika opened pull request #1063 (master…pydantic-model-dataframes): Pydantic model for data returned from spark (create_dataframes.py) https://github.com/metabrainz/listenbrainz-server…
      • 2020-08-30 24319, 2020

      • yvanzo
        adhawkins: yes, it is
      • 2020-08-30 24354, 2020

      • adhawkins
        Perfect, just set a temporary time of 50 minutes pas the hour to make sure it's working.
      • 2020-08-30 24357, 2020

      • adhawkins
        Yep, it ran and said no packet was available. Will set it to the correct time and monitor.
      • 2020-08-30 24324, 2020

      • yvanzo
        If you see any difference between your cron file on your host and the file /crons.conf on the container, stop it and recreate it.
      • 2020-08-30 24323, 2020

      • adhawkins
        Yeah, just noticed that you have to explicitly down and up rather than just doing an 'up' and expecting docker-compose to rebuild (if you just change the crontab)
      • 2020-08-30 24327, 2020

      • yvanzo
        sudo docker-compose exec musicbrainz cat /crons.conf # to see the cron file in the container, doesn't always match `crontab -l` which is the only true.
      • 2020-08-30 24347, 2020

      • adhawkins
        All the style sheets etc seem to be loaded when I view the web page now too.
      • 2020-08-30 24318, 2020

      • adhawkins
        Thanks a lot for the help yvanzo, appreciate it.
      • 2020-08-30 24330, 2020

      • yvanzo
        np, you're welcome!
      • 2020-08-30 24326, 2020

      • BrainzGit
        [spambrainz_ml] yvanzo merged pull request #2 (master…gsoc-init): Add data generation code and Update lodbrok https://github.com/metabrainz/spambrainz_ml/pull/2
      • 2020-08-30 24314, 2020

      • BrainzGit
        [spambrainz_ml] dependabot[bot] opened pull request #5 (master…dependabot/pip/notebook-5.7.8): Bump notebook from 5.6.0 to 5.7.8 https://github.com/metabrainz/spambrainz_ml/pull/5
      • 2020-08-30 24319, 2020

      • BrainzGit
        [spambrainz_ml] dependabot[bot] opened pull request #6 (master…dependabot/pip/bleach-3.1.4): Bump bleach from 2.1.3 to 3.1.4 https://github.com/metabrainz/spambrainz_ml/pull/6
      • 2020-08-30 24341, 2020

      • v6lur__ has quit
      • 2020-08-30 24345, 2020

      • adhawkins
        yvanzo: Cron job just ran at the appropriate time. All done hopefully|!
      • 2020-08-30 24307, 2020

      • iconoclasthero joined the channel
      • 2020-08-30 24341, 2020

      • diru1000 has quit
      • 2020-08-30 24325, 2020

      • yvanzo
      • 2020-08-30 24323, 2020

      • adhawkins
        Thanks yvanzo: I'll take a look.
      • 2020-08-30 24340, 2020

      • adhawkins
        Any way to set time zone in the container? Usually I'd pass through the hosts /etc/localtime to the container.
      • 2020-08-30 24336, 2020

      • yvanzo
        adhawkins: try setting TZ variable for 'musicbrainz' service through compose overwrite
      • 2020-08-30 24313, 2020

      • ephemer0l joined the channel
      • 2020-08-30 24313, 2020

      • BrainzGit
        [spambrainz_ml] diru1100 opened pull request #7 (master…docs): Add documentation for the folders https://github.com/metabrainz/spambrainz_ml/pull/7
      • 2020-08-30 24330, 2020

      • BrainzGit
        [musicbrainz-android] amCap1712 merged pull request #55 (master…fixes_before_2nd_release): Fixes before 2nd release https://github.com/metabrainz/musicbrainz-android…
      • 2020-08-30 24322, 2020

      • slriv joined the channel
      • 2020-08-30 24331, 2020

      • abhinavohri joined the channel
      • 2020-08-30 24303, 2020

      • reosarevok
        shivam-kapila: I was in the forest :)
      • 2020-08-30 24311, 2020

      • reosarevok
        Do you still need review?
      • 2020-08-30 24344, 2020

      • shivam-kapila
        Sure
      • 2020-08-30 24307, 2020

      • BrainzGit
        [spambrainz_ml] yvanzo merged pull request #3 (master…predict): Add prediction and respective dataset generation code https://github.com/metabrainz/spambrainz_ml/pull/3
      • 2020-08-30 24353, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1662 (master…use-word-diff): Edit diff improvements https://github.com/metabrainz/musicbrainz-server/…
      • 2020-08-30 24314, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1661 (master…MBS-11048): MBS-11048: Convert Edit Area edit to React https://github.com/metabrainz/musicbrainz-server/…
      • 2020-08-30 24316, 2020

      • BrainzBot
        MBS-11048: Convert Edit Area edit to React https://tickets.metabrainz.org/browse/MBS-11048
      • 2020-08-30 24328, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1665 (master…MBS-11051): MBS-11051: Convert Edit Artist Credit edit to React https://github.com/metabrainz/musicbrainz-server/…
      • 2020-08-30 24329, 2020

      • BrainzBot
        MBS-11051: Convert Edit Artist Credit edit to React https://tickets.metabrainz.org/browse/MBS-11051
      • 2020-08-30 24346, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1664 (master…MBS-11050): MBS-11050: Convert Edit URL edit to React https://github.com/metabrainz/musicbrainz-server/…