Git Product home page Git Product logo

docker_musicbrainz's People

Contributors

rickatnight11 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

isuftin gpmidi fat84

docker_musicbrainz's Issues

Cannot be build

Hi,

I tried tonight to build the container but the compilation isn't working anymore I think...

[root@KimSufi musicbrainz]# docker build -t rickatnight11/musicbrainz-postgres .
Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM postgres:9.4
9.4: Pulling from postgres
a2295636c7aa: Pull complete
3035387b9e83: Pull complete
5f9094421dca: Pull complete
6431f8fd6f73: Pull complete
5261c00393b4: Pull complete
6592aff74419: Pull complete
a12aef2c0e07: Pull complete
3b163d2939b7: Pull complete
acdfd4b35830: Pull complete
43ffe0954f9e: Pull complete
5b50a76a9557: Pull complete
5b1e56172968: Pull complete
fc72ea8ec8a3: Pull complete
512878ed0f4b: Pull complete
88778bbe79ae: Pull complete
877d443c3733: Pull complete
092485e5b81f: Pull complete
62813e8a8c55: Pull complete
7dd2be3d88b9: Pull complete
f24e2365b01e: Pull complete
dd88c522a0cc: Pull complete
2286a549e2a7: Pull complete
Digest: sha256:f76245b04ddbcebab5bb6c28e76947f49222c99fec4aadb0bb1c24821a9e83ef
Status: Downloaded newer image for postgres:9.4
 ---> 2286a549e2a7
Step 1 : MAINTAINER Paulson McIntyre <[email protected]>
 ---> Running in d4ab88409d50
 ---> 5dc5ecf1649a
Removing intermediate container d4ab88409d50
Step 2 : ENV POSTGRES_USER musicbrainz
 ---> Running in f74188a167f4
 ---> 04e6a2e184dc
Removing intermediate container f74188a167f4
Step 3 : ENV POSTGRES_PASSWORD musicbrainz
 ---> Running in 06c0e985f727
 ---> 089d3bfcd87e
Removing intermediate container 06c0e985f727
Step 4 : ENV POSTGRES_DB initial
 ---> Running in ec50064aad0b
 ---> a4933525232a
Removing intermediate container ec50064aad0b
Step 5 : ENV PGDATA /data
 ---> Running in 9317f940d9d2
 ---> 365ce3896e55
Removing intermediate container 9317f940d9d2
Step 6 : RUN echo "deb http://http.us.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list.d/nonfree.list
 ---> Running in 37c48ad4a099
 ---> 886327c06d83
Removing intermediate container 37c48ad4a099
Step 7 : RUN apt-get update
 ---> Running in 304c75e9e6c4
Err http://httpredir.debian.org jessie InRelease

Err http://httpredir.debian.org jessie-updates InRelease

Err http://httpredir.debian.org jessie Release.gpg
  Could not resolve 'httpredir.debian.org'
Err http://security.debian.org jessie/updates InRelease

Err http://httpredir.debian.org jessie-updates Release.gpg
  Could not resolve 'httpredir.debian.org'
Err http://security.debian.org jessie/updates Release.gpg
  Could not resolve 'security.debian.org'
Err http://apt.postgresql.org jessie-pgdg InRelease

Err http://apt.postgresql.org jessie-pgdg Release.gpg
  Could not resolve 'apt.postgresql.org'
Err http://http.us.debian.org stable InRelease

Err http://http.us.debian.org stable Release.gpg
  Could not resolve 'http.us.debian.org'
Reading package lists...
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/InRelease

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease

W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease

W: Failed to fetch http://http.us.debian.org/debian/dists/stable/InRelease

W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/InRelease

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/Release.gpg  Could not resolve 'httpredir.debian.org'

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/Release.gpg  Could not resolve 'httpredir.debian.org'

W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Could not resolve 'security.debian.org'

W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/Release.gpg  Could not resolve 'apt.postgresql.org'

W: Failed to fetch http://http.us.debian.org/debian/dists/stable/Release.gpg  Could not resolve 'http.us.debian.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
 ---> d9b2582f9635
Removing intermediate container 304c75e9e6c4
Step 8 : RUN apt-get install -y adduser sudo git unzip unrar         bash-completion wget vim build-essential         postgresql-server-dev-9.4         postgresql-plperl-9.4 libjson-xs-perl libicu-dev  && apt-get clean autoclean  && apt-get autoremove -y  && rm -rf /var/lib/{apt,dpkg,cache,log}/
 ---> Running in 466c58ea7ef6
Reading package lists...
Building dependency tree...
Reading state information...
Package bash-completion is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  util-linux bash

E: Unable to locate package sudo
E: Unable to locate package git
E: Unable to locate package unzip
E: Unable to locate package unrar
E: Package 'bash-completion' has no installation candidate
E: Unable to locate package wget
E: Unable to locate package vim
E: Unable to locate package build-essential
E: Unable to locate package postgresql-server-dev-9.4
E: Couldn't find any package by regex 'postgresql-server-dev-9.4'
E: Unable to locate package postgresql-plperl-9.4
E: Couldn't find any package by regex 'postgresql-plperl-9.4'
E: Unable to locate package libjson-xs-perl
E: Unable to locate package libicu-dev
The command '/bin/sh -c apt-get install -y adduser sudo git unzip unrar         bash-completion wget vim build-essential         postgresql-server-dev-9.4         postgresql-plperl-9.4 libjson-xs-perl libicu-dev  && apt-get clean autoclean  && apt-get autoremove -y  && rm -rf /var/lib/{apt,dpkg,cache,log}/' returned a non-zero code: 100

Do you have any fix to propose ?

Updating codebase to match schema

I was working on creating the Musicbrainz database container last night and was attempting to restore the latest dumps from the musicbrainz mirror.

The result was:

musicbrainzDb_1 | Mon Aug  3 00:29:50 2015 : Pre-checking /dump/mbdump-cdstubs.tar.bz2
musicbrainzDb_1 | Mon Aug  3 00:29:50 2015 : Schema sequence mismatch - codebase is 21, /dump/mbdump-cdstubs.tar.bz2 is 22
musicbrainzDb_1 |
musicbrainzDb_1 | Failed to import dataset.
musicbrainzDb_1 | Mon Aug  3 00:29:50 2015 : InitDb.pl failed

This is due to their datasets being at a version ahead of their codebase currently on github.

I went to their IRC chan on Freenode and they suggest following this: http://blog.musicbrainz.org/2015/05/19/schema-change-release-2015-05-18-including-upgrade-instructions/

They're suggesting that this is a constant issue when they do merges about every 6 months.

I'm wondering if you have any thoughts on how this can be made maintainable in Docker images. I have a few thoughts but nothing solid as of yet.

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.