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/
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.
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.