Comments (9)
same problem, its also complaining about the db port though so maybe that's the real culprit.
from musicbrainz-docker.
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.
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.
@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.
@jsturgis Those env vars are not available in my running Docker container
from musicbrainz-docker.
I pushed a fix, let me know if it fixes your issues.
from musicbrainz-docker.
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.
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.
This seems to have fixed the issue I was having. Thank you.
from musicbrainz-docker.
Related Issues (20)
- Ubuntu 22.04.1 LTS - OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown HOT 1
- Replication issues after upgrading to v-2022-08-25-hotfixes HOT 10
- Cron job to update search index HOT 28
- Shutting down remote indexed search? HOT 1
- Issue Building Indexes HOT 15
- Using sudo to run Docker commands in docs HOT 3
- Download of new search index loads replication data HOT 1
- Schema upgrade 27 to 28 dockerfile references wrong tag? HOT 2
- Installation step "Build docker images" fails currently for DB #28 HOT 16
- Please add "IF EXIST" to recreatedb.sh script HOT 1
- v-2023-06-07 release breaks on building musicbrainz-docker-index HOT 2
- Build issues with v-2023-08-28 HOT 3
- Consider adding a recommendation to explicitly set an ulimit value in docker-compose.yml HOT 3
- musicbrainz-docker-db container shuts down when trying initdb HOT 2
- Documentation request: How to handle duplication during replication? HOT 2
- docker-compose build fails on initial install HOT 15
- Docker-compose build failing on update build HOT 1
- Info: The recommended minimum hardware for VM is no longer sufficient HOT 9
- about database index HOT 6
- "docker-compose build" seems broken HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musicbrainz-docker.