Created
December 22, 2017 02:33
-
-
Save shawngmc/e21c0f67554e927b78ecd4e56b6f85e0 to your computer and use it in GitHub Desktop.
Wiki.js - Exception when running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------- | |
Container Logs | |
-------------------------- | |
2017-12-22 00:31:34,716 CRIT Supervisor running as root (no user in config file) | |
2017-12-22 00:31:34,723 INFO RPC interface 'supervisor' initialized | |
2017-12-22 00:31:34,723 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
2017-12-22 00:31:34,723 INFO supervisord started with pid 1 | |
2017-12-22 00:31:35,725 INFO spawned: 'wikijs' with pid 9 | |
2017-12-22 00:31:37,309 INFO success: wikijs entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
-------------------------- | |
Manual start logs | |
-------------------------- | |
bash-4.3# /usr/local/bin/node /var/wiki/server/agent.js | |
2017-12-22T02:27:55.937Z - info: [AGENT] Background Agent is initializing... | |
2017-12-22T02:27:56.489Z - info: [AGENT] Checking Git repository... | |
2017-12-22T02:27:57.062Z - error: [AGENT] Failed to connect to MongoDB instance. | |
Unhandled rejection MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017] | |
at Pool.<anonymous> (/var/wiki/node_modules/mongodb-core/lib/topologies/server.js:336:35) | |
at emitOne (events.js:116:13) | |
at Pool.emit (events.js:211:7) | |
at Connection.<anonymous> (/var/wiki/node_modules/mongodb-core/lib/connection/pool.js:280:12) | |
at Object.onceWrapper (events.js:317:30) | |
at emitTwo (events.js:126:13) | |
at Connection.emit (events.js:214:7) | |
at Socket.<anonymous> (/var/wiki/node_modules/mongodb-core/lib/connection/connection.js:187:49) | |
at Object.onceWrapper (events.js:315:30) | |
at emitOne (events.js:116:13) | |
at Socket.emit (events.js:211:7) | |
at emitErrorNT (internal/streams/destroy.js:64:8) | |
at _combinedTickCallback (internal/process/next_tick.js:138:11) | |
at process._tickCallback (internal/process/next_tick.js:180:9) | |
2017-12-22T02:27:57.094Z - info: [AGENT] Git repository is OK. | |
/var/wiki/server/agent.js:227 | |
job.stop() | |
^ | |
TypeError: Cannot read property 'stop' of undefined | |
at process.on (/var/wiki/server/agent.js:227:7) | |
at emitOne (events.js:121:20) | |
at process.emit (events.js:211:7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment