{"action":"reopened","issue":{"url":"https://api.github.com/repos/jsturgis/musicbrainz-docker/issues/14","repository_url":"https://api.github.com/repos/jsturgis/musicbrainz-docker","labels_url":"https://api.github.com/repos/jsturgis/musicbrainz-docker/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jsturgis/musicbrainz-docker/issues/14/comments","events_url":"https://api.github.com/repos/jsturgis/musicbrainz-docker/issues/14/events","html_url":"https://github.com/jsturgis/musicbrainz-docker/issues/14","id":155585582,"number":14,"title":"Unable to build latest container -- Error in /musicbrainz-server/script/compile_resources.sh","user":{"login":"isuftin","id":928288,"avatar_url":"https://avatars.githubusercontent.com/u/928288?v=3","gravatar_id":"","url":"https://api.github.com/users/isuftin","html_url":"https://github.com/isuftin","followers_url":"https://api.github.com/users/isuftin/followers","following_url":"https://api.github.com/users/isuftin/following{/other_user}","gists_url":"https://api.github.com/users/isuftin/gists{/gist_id}","starred_url":"https://api.github.com/users/isuftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuftin/subscriptions","organizations_url":"https://api.github.com/users/isuftin/orgs","repos_url":"https://api.github.com/users/isuftin/repos","events_url":"https://api.github.com/users/isuftin/events{/privacy}","received_events_url":"https://api.github.com/users/isuftin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-18T19:45:28Z","updated_at":"2016-05-24T19:14:36Z","closed_at":null,"body":"Running: `docker-compose run --rm musicbrainz /createdb.sh -fetch`\r\n\r\nError:\r\n```\r\nStep 22 : RUN /musicbrainz-server/script/compile_resources.sh\r\n ---> Running in f6099aa17eda\r\nUse of uninitialized value $ENV{\"DB_ENV_POSTGRES_USER\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_ENV_POSTGRES_PASSWORD\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_PORT_5432_TCP_ADDR\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_PORT_5432_TCP_PORT\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_ENV_POSTGRES_USER\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_ENV_POSTGRES_PASSWORD\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_PORT_5432_TCP_ADDR\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_PORT_5432_TCP_PORT\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_ENV_POSTGRES_USER\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_ENV_POSTGRES_PASSWORD\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_PORT_5432_TCP_ADDR\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nUse of uninitialized value $ENV{\"DB_PORT_5432_TCP_PORT\"} in string at /musicbrainz-server/admin/../lib/DBDefs.pm line 51.\r\nAttribute (port) does not pass the type constraint because: Validation failed for 'Int' with value \"\" at constructor MusicBrainz::Server::Database::new (defined at /musicbrainz-server/admin/../lib/MusicBrainz/Server/Database.pm line 53) line 52\r\n        MusicBrainz::Server::Database::new('MusicBrainz::Server::Database', 'HASH(0x3c62b00)') called at /musicbrainz-server/admin/../lib/MusicBrainz/Server/DatabaseConnectionFactory.pm line 19\r\n        MusicBrainz::Server::DatabaseConnectionFactory::register_databases('MusicBrainz::Server::DatabaseConnectionFactory', 'READWRITE', 'HASH(0x3c55f00)', 'TEST', 'HASH(0x3c560b0)', 'READONLY', 'HASH(0x3c62b00)', 'SYSTEM', 'HASH(0x3c627a0)') called at /musicbrainz-server/admin/../lib/DBDefs.pm line 51\r\n        require DBDefs.pm at admin/ShowDBDefs line 38\r\n        main::BEGIN at /musicbrainz-server/admin/../lib/DBDefs.pm line 0\r\n        eval {...} at /musicbrainz-server/admin/../lib/DBDefs.pm line 0\r\nCompilation failed in require at admin/ShowDBDefs line 38.\r\nBEGIN failed--compilation aborted at admin/ShowDBDefs line 38.\r\n/musicbrainz-server/root/static/gulpfile.js:4\r\n  throw new Error('error: DEVELOPMENT_SERVER should be set to either 0 or 1');\r\n  ^\r\n\r\nError: error: DEVELOPMENT_SERVER should be set to either 0 or 1\r\n    at Object.<anonymous> (gulpfile.js:2:9)\r\n    at Module._compile (module.js:413:34)\r\n    at loader (/musicbrainz-server/node_modules/babel-register/lib/node.js:130:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/musicbrainz-server/node_modules/babel-register/lib/node.js:140:7)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Module.require (module.js:367:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/musicbrainz-server/gulpfile.js:2:1)\r\n    at Module._compile (module.js:413:34)\r\n```\r\n\r\ndocker-compose.yml:\r\n```\r\npostgresqldata:\r\n  build: data-dockerfile\r\n  restart: always\r\n  volumes:\r\n   - /datadump:/media/dbdump:rw\r\n\r\npostgresql:\r\n  build: postgres-dockerfile\r\n  restart: always\r\n  env_file:\r\n   - ./postgres-dockerfile/postgres.env\r\n  expose:\r\n   - \"5432\"\r\n\r\nmusicbrainz:\r\n  build: musicbrainz-dockerfile\r\n  ports:\r\n   - \"5000:5000\"\r\n  volumes_from:\r\n   - postgresqldata\r\n  restart: always\r\n  environment:\r\n   - MUSICBRAINZ_USE_PROXY=1\r\n   - DEVELOPMENT_SERVER=1\r\n  expose:\r\n   - \"5000\"\r\n  links:\r\n   - postgresql:db\r\n```\r\n\r\n```\r\n$ docker --version\r\nDocker version 1.11.1, build 5604cbe\r\n\r\n$ docker-compose --version\r\ndocker-compose version 1.7.1, build 0a9ab35\r\n```\r\n\r\nDBDEFs.pm has `sub DEVELOPMENT_SERVER { 0 }`"}}
{"actor":{"display_login":"jsturgis"}}