January 14, 20188 yr Getting an error message in the log and still no file in the data folder. However, I think this is going in the right direction as there is at least some change from before. Error message from log is below: "postgres: could not access the server configuration file. "/config/postgresql.conf": No such file or directory" Any thoughts appreciated. Thanks!
January 14, 20188 yr 4 hours ago, steve1977 said: Getting an error message in the log and still no file in the data folder. However, I think this is going in the right direction as there is at least some change from before. Error message from log is below: "postgres: could not access the server configuration file. "/config/postgresql.conf": No such file or directory" Any thoughts appreciated. Thanks! Post the log so I can see what is going on. Also post the docker run command. Edited January 14, 20188 yr by saarg
January 14, 20188 yr Let me get back to you with the docker run in a few days (away for the next few days). The error message from the log is shown below. It shows up in thousands of lines, so anything older is wiped out and no longer visible. "postgres: could not access the server configuration file. "/config/postgresql.conf": No such file or directory"
January 14, 20188 yr 1 hour ago, steve1977 said: Let me get back to you with the docker run in a few days (away for the next few days). The error message from the log is shown below. It shows up in thousands of lines, so anything older is wiped out and no longer visible. "postgres: could not access the server configuration file. "/config/postgresql.conf": No such file or directory" Then it's not working. You can just stop the container.
January 28, 20188 yr I have tried two more times and end up with the same issue. Where can I find the docker run command?
January 28, 20188 yr 1 minute ago, steve1977 said: I have tried two more times and end up with the same issue. Where can I find the docker run command? My sig
January 28, 20188 yr Here we go: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="musicbrainz" --net="bridge" -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e "BRAINZCODE"="REMOVED" -e "PGID"="100" -e "PUID"="99" -p 5000:5000/tcp -v "/mnt/user/MBZ/data/":"/data":rw -v "/mnt/cache/Docker/musicbrainz/config":"/config":rw linuxserver/musicbrainz REMOVEDThe command finished successfully!
January 28, 20188 yr 7 hours ago, steve1977 said: Here we go: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="musicbrainz" --net="bridge" -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e "BRAINZCODE"="REMOVED" -e "PGID"="100" -e "PUID"="99" -p 5000:5000/tcp -v "/mnt/user/MBZ/data/":"/data":rw -v "/mnt/cache/Docker/musicbrainz/config":"/config":rw linuxserver/musicbrainz REMOVEDThe command finished successfully! postgres doesn't work on a fuse mount (/mnt/user) use either a direct drive mount (/mnt/diskx/"location") or the cache drive Edited January 28, 20188 yr by sparklyballs
February 16, 20188 yr Hi, I just installed this container and while the GUI works I'm getting some errors in the log (below). Any idea what the issue is? ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-brainzcode: executing... [cont-init.d] 20-brainzcode: exited 0. [cont-init.d] 30-initialise-database: executing... [cont-init.d] 30-initialise-database: exited 0. [cont-init.d] 35-generate_css: executing... fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git [02:00:05] Using gulpfile /app/musicbrainz/gulpfile.js [02:00:05] Starting 'default'... [02:01:41] Finished 'default' after 1.58 min [cont-init.d] 35-generate_css: exited 0. [cont-init.d] 40-config: executing... [cont-init.d] 40-config: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. LOG: database system shutdown was interrupted; last known up at 2018-02-15 20:59:38 EST LOG: database system was not properly shut down; automatic recovery in progress LOG: redo starts at 3/2C4F1820 LOG: invalid record length at 3/2DECA3B8: wanted 24, got 0 LOG: redo done at 3/2DECA348 LOG: last completed transaction was at log time 2018-02-15 20:59:35.395681-05 LOG: MultiXact member wraparound protections are now enabled LOG: database system is ready to accept connections LOG: autovacuum launcher started WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks
February 16, 20188 yr 6 hours ago, zandrsn said: Hi, I just installed this container and while the GUI works I'm getting some errors in the log (below). Any idea what the issue is? ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-brainzcode: executing... [cont-init.d] 20-brainzcode: exited 0. [cont-init.d] 30-initialise-database: executing... [cont-init.d] 30-initialise-database: exited 0. [cont-init.d] 35-generate_css: executing... fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git [02:00:05] Using gulpfile /app/musicbrainz/gulpfile.js [02:00:05] Starting 'default'... [02:01:41] Finished 'default' after 1.58 min [cont-init.d] 35-generate_css: exited 0. [cont-init.d] 40-config: executing... [cont-init.d] 40-config: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. LOG: database system shutdown was interrupted; last known up at 2018-02-15 20:59:38 EST LOG: database system was not properly shut down; automatic recovery in progress LOG: redo starts at 3/2C4F1820 LOG: invalid record length at 3/2DECA3B8: wanted 24, got 0 LOG: redo done at 3/2DECA348 LOG: last completed transaction was at log time 2018-02-15 20:59:35.395681-05 LOG: MultiXact member wraparound protections are now enabled LOG: database system is ready to accept connections LOG: autovacuum launcher started WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not exist STATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADE WARNING: SET TRANSACTION can only be used in transaction blocks WARNING: SET CONSTRAINTS can only be used in transaction blocks nothing to worry about "errors" from syncing that are safe to ignore
February 16, 20188 yr 4 hours ago, sparklyballs said: nothing to worry about "errors" from syncing that are safe to ignore Cool, thanks a lot. Do I need to do anything to allow the database to regularly update or will it do so automatically during the hourly checks?
February 20, 20188 yr On 1/28/2018 at 5:42 PM, sparklyballs said: postgres doesn't work on a fuse mount (/mnt/user) use either a direct drive mount (/mnt/diskx/"location") or the cache drive Thanks. Re-ran it. What about the one below? Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='musicbrainz' --net='bridge' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'BRAINZCODE'='REMOVED' -e 'PGID'='100' -e 'PUID'='99' -p '5000:5000/tcp' -v '/mnt/disk1/MBZ/data':'/data':'rw' -v '/mnt/cache/Docker/musicbrainz/config':'/config':'rw' 'linuxserver/musicbrainz' REMOVEDThe command finished successfully!
February 21, 20188 yr I'd still love to get this running, but somehow still fail... Below what I am doing. Additional help appreciated! 1) Adding the docker Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='musicbrainz' --net='bridge' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'BRAINZCODE'='REMOVED' -e 'PGID'='100' -e 'PUID'='99' -p '5000:5000/tcp' -v '/mnt/disk1/MBZ/data':'/data':'rw' -v '/mnt/cache/Docker/musicbrainz/config':'/config':'rw' 'linuxserver/musicbrainz' REMOVEDThe command finished successfully! 2) Letting it run for 12+ hours, log shows: [cont-init.d] 10-adduser: exited 0.[cont-init.d] 20-brainzcode: executing...[cont-init.d] 20-brainzcode: exited 0.[cont-init.d] 30-initialise-database: executing...fetching latest dump from musicbrainz, if this section fails try again later as musicbrainz dump may not be fully uploadedto their site% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed 3) Suddenly log stops showing anything and only shows (rest of page is white): ErrorWarningSystemArrayLogin 4) Stop docker and change the IP from localhost to my Unraid IP 5) Restarting docker, log shows: [cont-init.d] 10-adduser: exited 0.[cont-init.d] 20-brainzcode: executing...[cont-init.d] 20-brainzcode: exited 0.[cont-init.d] 30-initialise-database: executing...fetching latest dump from musicbrainz, if this section fails try again later as musicbrainz dump may not be fully uploadedto their site** Resuming transfer from byte position 9188% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed
February 21, 20188 yr You seem to have a very slow connection to the musicbrainz ftp site. You see that the download is resumed in the second log you posted. You could try to download the files maually and place it in /data/import/name_of_the_folder_from_the_ftp_site/ Download the files in the latest folder. Then when all files are downloaded, start the container again.
February 22, 20188 yr I think you are right and that's the primary reason why I'm looking for this mirror/docker. My internet connection is actually lightning fast, but somehow things are getting very slow for me when I am accessing musicbrainz. So, your suspicions appear to be right. Currently, I only have one file (18KB) in the import folder. Even for a slow internet connection, this appears too little? Can you share guidance how to manually download the files? Even if this was to work, would this prevent me from any future updates? Thanks again for your continued help!
February 22, 20188 yr Forgot the link. ftp://ftp.musicbrainz.org/pub/musicbrainz/data/fullexport It will not fix your problem with a slow connection.
February 22, 20188 yr Thanks. I think I may have found a solution. This would require me though to run the Musicbrainz docker on a different IP from Unraid. Would this be feasible? I tried to change the docker from bridge to br0 and manually added a fixed IP. I also included the same fixed IP in the DBDefs file. Somehow, this does not appear to work. Config and data are still on the Unraid-IP, so this may be the issue? Not sure how br) works. Any thoughts?
February 22, 20188 yr And see below log after download: completed postgres initialisewaiting for server to start....LOG: could not bind IPv6 socket: Address not availableHINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.LOG: database system was shut down at 2018-02-22 22:54:41 CSTFATAL: the database system is starting up.LOG: MultiXact member wraparound protections are now enabledLOG: database system is ready to accept connectionsdone
February 22, 20188 yr 1 hour ago, steve1977 said: And see below log after download: completed postgres initialisewaiting for server to start....LOG: could not bind IPv6 socket: Address not availableHINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.LOG: database system was shut down at 2018-02-22 22:54:41 CSTFATAL: the database system is starting up.LOG: MultiXact member wraparound protections are now enabledLOG: database system is ready to accept connectionsdone I'm not sure what you are trying to do by changing the network of the container. What do you mean by config and data are still on the unraid IP? Do you mean the folders? It would be good if you stick to what I suggest you to tryor else it just becomes a mess trying to help.
February 23, 20188 yr You'd mentioned that this will not fix my issue with slow connection, so I tried another route. So, I played around with the VPN and it worked, I can now import the Musicbrainz server in a faster manner. However, this will require me to set up the docker with br0 / separate IP. I have VPN set up on my server and can dedicate it via the router to specific IPs. So, now all worked well and the import completed well. I can see the import folder being 2.6GB in size, so the download has actually happened. Also, can now access the musicbrainz UI. It may still be too early to declare full success. There has been a few error messages in the log. Particularly the ones below: completed postgres initialisewaiting for server to start....LOG: could not bind IPv6 socket: Address not availableHINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.LOG: database system was shut down at 2018-02-22 22:54:41 CSTFATAL: the database system is starting up.LOG: MultiXact member wraparound protections are now enabledLOG: database system is ready to accept connectionsdone ERROR: constraint "dbmirror_pendingdata_SeqId" of relation "dbmirror_pendingdata" does not existSTATEMENT: ALTER TABLE dbmirror_pendingdata DROP CONSTRAINT "dbmirror_pendingdata_SeqId" CASCADEWARNING: SET TRANSACTION can only be used in transaction blocksWARNING: SET CONSTRAINTS can only be used in transaction blocks I am not sure whether this had any negative impact. While the docker seems to be working and I can view release groups and releases, it feels very slow. I thought the mirror would display all info instantly as it is locally available. It now feels as slow as accessing it online, so I am worried that it doesn't access the locally stored info, but instead accesses the online info from musicbrainz.org. Any more thoughts?
February 24, 20188 yr Thanks @saarg. Two questions to help me trouble-shoot: (1) My data folder is 2.8GB. Does this sound right the right size? I would have anticipated the site is much larger than this. (2) How fast is the mirror supposed to be? I thought it would be instant as it is fully local, but maybe that's the wrong anticipation and it still takes some time to pull up the pages?
February 24, 20188 yr If you look through this page you will see that there is already a question answered about the errors you see. 1. Data folder seems to be the correct size. You can look at the size of the files in the ftp link to get an about size. 2. The speed depends on where in the world you are and ISP. I don't know the full speed of the ftp site, that you need to ask the musicbrainz people about.
February 24, 20188 yr Thanks for your help. re 2 - let me clarify. I am wondering how fast it should be once I have the mirror working (not the download/import of the mirror file). I succeeded with the download and now have a 2.8GB local mirror file. However, just looking for an artist and then selecting release groups, still takes some time. I would have expected that this would now be instant as it no longer needs to access the internet to download any information. Should all be locally mirrored and search should be instant / immediate. Am I missing anything?
February 24, 20188 yr Many things might affect the speed. If the drive the database is on needs to spin up, this will delay lookup. But I don't use it, so can't really say.
Archived
This topic is now archived and is closed to further replies.