Git Product home page Git Product logo

Comments (9)

orangepeelbeef avatar orangepeelbeef commented on August 27, 2024

same problem, its also complaining about the db port though so maybe that's the real culprit.

from musicbrainz-docker.

orangepeelbeef avatar orangepeelbeef commented on August 27, 2024

I was able to fix this by editing musicbrainz-dockerfile/DBDefs.pm
it looks like he's expecting some environment variables which may or may not work, but i hardcoded credentials in mine and it seems to work.

from musicbrainz-docker.

jsturgis avatar jsturgis commented on August 27, 2024

Yeah those values should be exposed by docker when it links to the postgresql image. I am not seeing this problem on my instance but I will look into it and try to get this fixed. In the meantime you can do what @orangepeelbeef said and hard code those values.

from musicbrainz-docker.

jsturgis avatar jsturgis commented on August 27, 2024

@isuftin @orangepeelbeef, if you replace CONTAINER_ID in the command below with your running musicbrainz container id and run it do you see DB_ENV_POSTGRES_USER, DB_ENV_POSTGRES_PASSWORD or DB_PORT_5432?

sudo docker exec -ti CONTAINER_ID /usr/bin/printenv | /usr/bin/awk '/^DB_ENV_POSTGRES/ || /^DB_PORT_5432_TCP/'

from musicbrainz-docker.

isuftin avatar isuftin commented on August 27, 2024

@jsturgis Those env vars are not available in my running Docker container

from musicbrainz-docker.

jsturgis avatar jsturgis commented on August 27, 2024

I pushed a fix, let me know if it fixes your issues.

from musicbrainz-docker.

orangepeelbeef avatar orangepeelbeef commented on August 27, 2024

I believe it is working now.

I did notice however:

2016-05-24 13:23:20 (5.62 MB/s) - '/media/dbdump/.listing' saved [1880]

Removed '/media/dbdump/.listing'.
Rejecting 'mbdump-documentation.tar.bz2'.
Rejecting 'mbdump-documentation.tar.bz2.asc'.
Rejecting 'mbdump-edit.tar.bz2'.
Rejecting 'mbdump-edit.tar.bz2.asc'.
Rejecting 'mbdump-editor.tar.bz2'.
Rejecting 'mbdump-editor.tar.bz2.asc'.

FINISHED --2016-05-24 13:26:42--
Total wall clock time: 3m 22s
Downloaded: 16 files, 2.3G in 3m 21s (11.6 MB/s)
/media/dbdump /musicbrainz-server
mbdump-cdstubs.tar.bz2: OK
mbdump-cover-art-archive.tar.bz2: OK
mbdump-derived.tar.bz2: OK
md5sum: mbdump-documentation.tar.bz2: No such file or directory
mbdump-documentation.tar.bz2: FAILED open or read
md5sum: mbdump-edit.tar.bz2: No such file or directory
mbdump-edit.tar.bz2: FAILED open or read
md5sum: mbdump-editor.tar.bz2: No such file or directory
mbdump-editor.tar.bz2: FAILED open or read
mbdump-stats.tar.bz2: OK
mbdump-wikidocs.tar.bz2: OK
mbdump.tar.bz2: OK
md5sum: WARNING: 3 listed files could not be read

from musicbrainz-docker.

jsturgis avatar jsturgis commented on August 27, 2024

Cool, those failed messages are normal the fetch script doesn't fetch the documentation or edit database dumps to keep the download and DB size as small as possible. If you need those dumps you can edit the fetch script.

from musicbrainz-docker.

isuftin avatar isuftin commented on August 27, 2024

This seems to have fixed the issue I was having. Thank you.

from musicbrainz-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.