[DOCKER] MusicBrainz Server


Recommended Posts

 

 

it's running current schema, and checks for updates every hour. if and when the schema changes, instructions will be posted.

 

you can check replication date in the bottom left corner of the webui.... it shouldn't be more than 3 or 4 hours behind current time.

 

Thanks for the quick response.

I just checked and my one shows:

"Last replication packet received at 2015-06-21 00:03 UTC"

Any way to force update the database then?

Thanks

Link to comment
  • Replies 118
  • Created
  • Last Reply

Top Posters In This Topic

 

 

it's running current schema, and checks for updates every hour. if and when the schema changes, instructions will be posted.

 

you can check replication date in the bottom left corner of the webui.... it shouldn't be more than 3 or 4 hours behind current time.

 

Thanks for the quick response.

I just checked and my one shows:

"Last replication packet received at 2015-06-21 00:03 UTC"

Any way to force update the database then?

Thanks

 

do you have a valid musicbrainz code ?

Link to comment

 

do you have a valid musicbrainz code ?

 

Yes.

I copied the code from the metabrainz site once I created my account. I've just checked and my account with them is still active. Is it worth me re-generating the access token and seeing if that fixes this?

Thanks for speedy responses

Link to comment

 

 

do you have a valid musicbrainz code ?

 

Yes.

I copied the code from the metabrainz site once I created my account. I've just checked and my account with them is still active. Is it worth me re-generating the access token and seeing if that fixes this?

Thanks for speedy responses

 

i would try that for sure.. that is a long way off the latest replication update....

 

 

Link to comment

 

i would try that for sure.. that is a long way off the latest replication update....

 

Right just been tinkering with it and changed the access token but no joy. Also I've tried changing from bridge to host but no effect again.

Is there any way to trash the database so it pulls a fresh one?

Thanks

Link to comment

 

i would try that for sure.. that is a long way off the latest replication update....

 

Right just been tinkering with it and changed the access token but no joy. Also I've tried changing from bridge to host but no effect again.

Is there any way to trash the database so it pulls a fresh one?

Thanks

 

delete the entire config folder and repull the container from the hub...

 

you may have an old beta version....

Link to comment
  • 4 weeks later...

Sorry if this is in the wrong area - I'm a bit of a noob.

 

Well I've got the MusicBrainz mirror all up and running, but I'm having no luck getting it to work with headphones.

 

I keep getting the following error:

 

WARNING :: Thread-28 : Attempt to query MusicBrainz for dr. dre - compton failed (caused by: <urlopen error [Errno -2] Name or service not known>)

 

Any help with this would be much appreciated.

 

EDIT- Could it be because I'm trying to use my server's local IP?

Link to comment

Working well for me.... however, it runs some processes as user 103 and I get UID errors when I run lsof etc (in unraid)

 

Tasks: 331 total,   2 running, 329 sleeping,   0 stopped,   0 zombie
Cpu(s): 11.1%us,  0.7%sy,  0.0%ni, 86.8%id,  1.5%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   8218048k total,  7977392k used,   240656k free,   325796k buffers
Swap:        0k total,        0k used,        0k free,  4143428k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
17047 103       20   0  245m  12m  11m S    0  0.2   0:13.70 postgres
17059 103       20   0  245m 138m 136m S    0  1.7   0:59.88 postgres
17060 103       20   0  245m 133m 132m S    0  1.7   0:10.14 postgres
17061 103       20   0  245m 3952 2668 S    0  0.0   0:24.87 postgres
17062 103       20   0  245m 4156 2588 S    0  0.1   0:08.76 postgres
17063 103       20   0  104m 2152  504 S    0  0.0   0:47.88 postgres
...

root@Tower:~# lsof
...
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
lsof: no pwd entry for UID 103
....

 

I assume this is user postgres in the docker.

Link to comment
  • 4 weeks later...

Thank you for this awesome docker!

 

I have two questions:

 

1. How can one go about actually retrieving updates to the database? Does it happen automatically?

 

2. Is it possible to connect to the postgres instance via an external client? By that, I mean can I use pgAdmin III on my Windows box to run queries against the postgres instance inside this docker?

 

Cheers!

Scott

Link to comment

Thank you for this awesome docker!

 

I have two questions:

 

1. How can one go about actually retrieving updates to the database? Does it happen automatically?

 

2. Is it possible to connect to the postgres instance via an external client? By that, I mean can I use pgAdmin III on my Windows box to run queries against the postgres instance inside this docker?

 

Cheers!

Scott

 

1. yes, it's automatic.. providing you have a valid key that you entered in the variable space for it in the template.

 

2.. dunno... try it.

Link to comment
  • 1 month later...

I noticed today I am having issues with this docker. Below is a snippet from the logs. Whenever I try to fetch artist info from Headphones it fails. Do I just need to delete my data folder and let it rebuild?

 

Oct 26 04:17:01 3e888dcccc8d /USR/SBIN/CRON[12485]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Oct 26 04:59:01 3e888dcccc8d /USR/SBIN/CRON[13304]: (root) CMD (/bin/bash /root/update-script.sh)
Oct 26 04:59:02 3e888dcccc8d /USR/SBIN/CRON[13303]: (CRON) info (No MTA installed, discarding output)
Oct 26 05:00:01 3e888dcccc8d /USR/SBIN/CRON[13349]: (root) CMD (/bin/bash /root/update-script.sh)
Oct 26 05:00:02 3e888dcccc8d /USR/SBIN/CRON[13348]: (CRON) info (No MTA installed, discarding output)
Oct 26 05:17:01 3e888dcccc8d /USR/SBIN/CRON[13730]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Oct 26 05:59:01 3e888dcccc8d /USR/SBIN/CRON[14549]: (root) CMD (/bin/bash /root/update-script.sh)
Oct 26 05:59:02 3e888dcccc8d /USR/SBIN/CRON[14548]: (CRON) info (No MTA installed, discarding output)
Oct 26 06:00:01 3e888dcccc8d /USR/SBIN/CRON[14593]: (root) CMD (/bin/bash /root/update-script.sh)
Oct 26 06:00:02 3e888dcccc8d /USR/SBIN/CRON[14591]: (CRON) info (No MTA installed, discarding output)
Oct 26 06:17:01 3e888dcccc8d /USR/SBIN/CRON[14975]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Oct 26 06:25:01 3e888dcccc8d /USR/SBIN/CRON[15116]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
DBDefs is in your config folder, may need editing
postgres folders appear to be set
2015-10-27 11:40:59,590 CRIT Supervisor running as root (no user in config file)
2015-10-27 11:40:59,595 INFO supervisord started with pid 13
2015-10-27 11:41:00,597 INFO spawned: 'redis-server' with pid 17
2015-10-27 11:41:00,599 INFO spawned: 'postgres' with pid 18
2015-10-27 11:41:01,537 INFO exited: postgres (exit status 1; not expected)
2015-10-27 11:41:02,538 INFO success: redis-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-10-27 11:41:02,540 INFO spawned: 'postgres' with pid 21
2015-10-27 11:41:02,554 INFO exited: postgres (exit status 1; not expected)
2015-10-27 11:41:04,558 INFO spawned: 'postgres' with pid 22
2015-10-27 11:41:04,572 INFO exited: postgres (exit status 1; not expected)
2015-10-27 11:41:07,577 INFO spawned: 'postgres' with pid 25
2015-10-27 11:41:07,590 INFO exited: postgres (exit status 1; not expected)
2015-10-27 11:41:08,591 INFO gave up: postgres entered FATAL state, too many start retries too quickly
Oct 27 11:41:18 3e888dcccc8d syslog-ng[35]: syslog-ng starting up; version='3.5.3'

Link to comment
  • 3 weeks later...

I just installed this and cannot get it to load. I click webUI and get a ERR_CONNECTION_REFUSED ? I installed this with a valid code, using all the defaults.

 

EDIT: Now I just get a gigantic page of errors, that is too long to list, starting with

Caught exception in MusicBrainz::Server::Controller::Root->begin "08006 DBI connect('dbname=musicbrainz_db','musicbrainz',...) failed: could not connect to server: No such file or directory

Is the server running locally and accepting

connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at lib/MusicBrainz/Server/Connector.pm line 42.

 

I have my mappings as: /config/  to    /mnt/cache/appdata/musicbrainz/config

                                      /data        to    /mnt/cache/appdata/musicbrainz

                                      /music    to    /mnt/user/media/music

 

I have read I may need to delete a folder from within the docker possibly or something? I haven't exec'ed into a docker before, if this is in fact what I need to do, can someone tell me the commands to do so, and which directories etc, I need to delete?

Link to comment

I just installed, doing all of what I believe are the prereq's and I'm getting the same initial error message that you are getting:

 

Caught exception in MusicBrainz::Server::Controller::Root->begin "08006 DBI connect('dbname=musicbrainz_db','musicbrainz',...) failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at lib/MusicBrainz/Server/Connector.pm line 42.

 

I'm going to let it run overnight and will report back in the morning.

Link to comment
  • 2 weeks later...

I can't get the WebUI to open up. I keep getting failures when I am running the import. Not techie enough to sort it out...

 

I attached the log.

 

Do I need to expand the size of my docker? Mine is 10 gig. I have 2 TB on my cache drive so it isn't like I don't have a ton of room.

 

EDIT: Well it looks like part of the problem - if not THE problem - is that the downloads keep failing from Musicbrainz.org. I'm not getting full downloads ever - especially the 3.5 and 2 GB files. I have tried just downloading manually through a browser and these files fail consistently.

 

I am now trying to download via an ftp program and that seems to be working better. It reconnects when there is a disconnect and doesn't just end the download. Not sure how the docker is going to deal with the import already being ready. We'll see....

MusicBrainzLog.txt

Link to comment

Can you help? I've updated to the latest version this morning and now the web page doesn't work...

 

The docker appears to be still working; I'm getting the hourly updates, but the web page times out (chrome says "connection rejected").

 

Before today, it was all ok...

 

If you need any logs, let me know where to get them from and I'll do it!

 

 

cheers

 

dan

Link to comment

I have exactly the same issue.

 

Here is my log file. Any suggestions?

 

DBDefs is in your config folder, may need editing

postgres folders appear to be set

2015-12-03 23:38:30,468 CRIT Supervisor running as root (no user in config file)

2015-12-03 23:38:30,478 INFO supervisord started with pid 27

2015-12-03 23:38:31,480 INFO spawned: 'redis-server' with pid 31

2015-12-03 23:38:31,483 INFO spawned: 'postgres' with pid 32

2015-12-03 23:38:32,516 INFO success: redis-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2015-12-03 23:38:32,516 INFO success: postgres entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Dec 3 23:38:40 988cf1f9b8b2 syslog-ng[51]: syslog-ng starting up; version='3.5.3'

2015-12-03 23:40:04,201 WARN received SIGTERM indicating exit request

2015-12-03 23:40:04,201 INFO waiting for redis-server, postgres to die

2015-12-03 23:40:05,325 INFO exited: redis-server (exit status 0; expected)

2015-12-03 23:40:05,335 INFO stopped: postgres (exit status 0)

DBDefs is in your config folder, may need editing

postgres folders appear to be set

2015-12-03 23:40:05,989 CRIT Supervisor running as root (no user in config file)

2015-12-03 23:40:05,996 INFO supervisord started with pid 15

2015-12-03 23:40:07,000 INFO spawned: 'redis-server' with pid 19

2015-12-03 23:40:07,003 INFO spawned: 'postgres' with pid 20

2015-12-03 23:40:08,029 INFO success: redis-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2015-12-03 23:40:08,030 INFO success: postgres entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Dec 3 23:40:16 988cf1f9b8b2 syslog-ng[40]: syslog-ng starting up; version='3.5.3'

2015-12-03 23:47:23,232 WARN received SIGTERM indicating exit request

2015-12-03 23:47:23,239 INFO waiting for redis-server, postgres to die

2015-12-03 23:47:23,544 INFO exited: redis-server (exit status 0; expected)

2015-12-03 23:47:23,696 INFO stopped: postgres (exit status 0)

DBDefs is in your config folder, may need editing

postgres folders appear to be set

2015-12-03 23:47:53,572 CRIT Supervisor running as root (no user in config file)

2015-12-03 23:47:53,579 INFO supervisord started with pid 12

2015-12-03 23:47:54,581 INFO spawned: 'redis-server' with pid 16

2015-12-03 23:47:54,584 INFO spawned: 'postgres' with pid 17

2015-12-03 23:47:55,661 INFO success: redis-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2015-12-03 23:47:55,661 INFO success: postgres entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Dec 3 23:48:03 988cf1f9b8b2 syslog-ng[36]: syslog-ng starting up; version='3.5.3'

Dec 3 23:59:01 988cf1f9b8b2 /USR/SBIN/CRON[44]: (root) CMD (/bin/bash /root/update-script.sh)

Dec 4 00:00:01 988cf1f9b8b2 /USR/SBIN/CRON[54]: (root) CMD (/bin/bash /root/update-script.sh)

Link to comment
Guest
This topic is now closed to further replies.