$ docker version [16:51:52]
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:13:02 2018
OS/Arch: darwin/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:22:38 2018
OS/Arch: linux/amd64
Experimental: true
version: '3'
services:
macacaDatahub:
container_name: "macaca-datahub"
image: "macacajs/macaca-datahub"
ports:
- "9200:9200"
- "9300:9300"
volumes:
- "./data/.macaca-datahub/macaca-datahub.data:/root/.macaca-datahub/macaca-datahub.data"
DataHub server start at: http://172.17.0.2:9200
2018-05-25 08:51:51,720 ERROR 28 nodejs.SequelizeConnectionError: SQLITE_CANTOPEN: unable to open database file
at Database.connections.(anonymous function).lib.Database.err (/usr/local/lib/node_modules/macaca-datahub/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:66:63)
name: 'SequelizeConnectionError'
parent: { Error: SQLITE_CANTOPEN: unable to open database file errno: 14, code: 'SQLITE_CANTOPEN' }
original: { Error: SQLITE_CANTOPEN: unable to open database file errno: 14, code: 'SQLITE_CANTOPEN' }
pid: 28
hostname: ebf53b157b63
2018-05-25 08:51:51,722 ERROR 28 nodejs.SequelizeConnectionError: SQLITE_CANTOPEN: unable to open database file
at Database.connections.(anonymous function).lib.Database.err (/usr/local/lib/node_modules/macaca-datahub/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:66:63)
name: 'SequelizeConnectionError'
parent: { Error: SQLITE_CANTOPEN: unable to open database file errno: 14, code: 'SQLITE_CANTOPEN' }
original: { Error: SQLITE_CANTOPEN: unable to open database file errno: 14, code: 'SQLITE_CANTOPEN' }
pid: 28
hostname: ebf53b157b63
2018-05-25 08:51:51,723 ERROR 28 [agent_worker] start error, exiting with code:1
2018-05-25 08:51:51,724 ERROR 28 [agent_worker] exit with code:1
2018-05-25 08:51:51,738 ERROR 18 nodejs.AgentWorkerDiedError: [master] agent_worker#1:28 died (code: 1, signal: null)
at Master.onAgentExit (/usr/local/lib/node_modules/macaca-datahub/node_modules/egg-cluster/lib/master.js:317:17)
at emitOne (events.js:116:13)
at Master.emit (events.js:211:7)
at Messenger.sendToMaster (/usr/local/lib/node_modules/macaca-datahub/node_modules/egg-cluster/lib/utils/messenger.js:122:17)
at Messenger.send (/usr/local/lib/node_modules/macaca-datahub/node_modules/egg-cluster/lib/utils/messenger.js:87:12)
at ChildProcess.agentWorker.once (/usr/local/lib/node_modules/macaca-datahub/node_modules/egg-cluster/lib/master.js:216:22)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
name: 'AgentWorkerDiedError'
pid: 18
hostname: ebf53b157b63
2018-05-25 08:51:51,739 ERROR 18 [master] agent_worker#1:28 start fail, exiting with code:1
2018-05-25 08:51:51,741 ERROR 18 [master] exit with code:1