Skip to content

Error while starting docker container #179

@sijomc

Description

@sijomc

I am getting an error when starting docker container. Please advise me to solve this issue.

Following is the error:

~/fhirbase# docker run 1bc27da5b3f0

  • Starting PostgreSQL 9.4 database server
    ...done.
    Now using node v6.2.0 (npm v3.8.9)

fhirbase@0.0.1 test /home/fhirbase/fhirbase
node_modules/mocha/bin/mocha --compilers mocha --compilers coffee:coffee-script/register --recursive

/home/fhirbase/fhirbase/plpl/node_modules/libpq/index.js:28
throw err;
^

Error: FATAL: the database system is starting up
FATAL: the database system is starting up

at PQ.connectSync (/home/fhirbase/fhirbase/plpl/node_modules/libpq/index.js:26:15)
at Client.connectSync (/home/fhirbase/fhirbase/plpl/node_modules/pg-native/index.js:51:11)
at Object.<anonymous> (/home/fhirbase/fhirbase/plpl/src/plv8.coffee:13:8)
at Object.<anonymous> (/home/fhirbase/fhirbase/plpl/src/plv8.coffee:1:1)
at Module._compile (module.js:541:32)
at Object.loadFile (/home/fhirbase/fhirbase/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/home/fhirbase/fhirbase/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/fhirbase/fhirbase/test/benchmark_spec.coffee:1:8)
at Object.<anonymous> (/home/fhirbase/fhirbase/test/benchmark_spec.coffee:1:1)
at Module._compile (module.js:541:32)
at Object.loadFile (/home/fhirbase/fhirbase/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/home/fhirbase/fhirbase/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at /home/fhirbase/fhirbase/node_modules/mocha/lib/mocha.js:231:27
at Array.forEach (native)
at Mocha.loadFiles (/home/fhirbase/fhirbase/node_modules/mocha/lib/mocha.js:228:14)
at Mocha.run (/home/fhirbase/fhirbase/node_modules/mocha/lib/mocha.js:536:10)
at Object.<anonymous> (/home/fhirbase/fhirbase/node_modules/mocha/bin/_mocha:582:18)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:160:18)
at node.js:449:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions