requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Official Docker container cannot start #224

Closed 0x4e3 closed 5 years ago

0x4e3 commented 6 years ago

Looking for a wiki solution for my teem, tried to test wiki.js in the docker container, but service cannot start in the container.

I'm using kitematic on macOS 10.13.1.

Actual behavior

2017-11-28 12:07:57,295 CRIT Supervisor running as root (no user in config file) 2017-11-28 12:07:57,333 INFO RPC interface 'supervisor' initialized 2017-11-28 12:07:57,335 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2017-11-28 12:07:57,335 INFO supervisord started with pid 1 2017-11-28 12:07:58,339 INFO spawned: 'wikijs' with pid 7 2017-11-28 12:07:58,594 INFO exited: wikijs (exit status 1; not expected) 2017-11-28 12:07:59,600 INFO spawned: 'wikijs' with pid 13 2017-11-28 12:07:59,985 INFO exited: wikijs (exit status 1; not expected) 2017-11-28 12:08:01,995 INFO spawned: 'wikijs' with pid 19 2017-11-28 12:08:02,174 INFO exited: wikijs (exit status 1; not expected) 2017-11-28 12:08:05,188 INFO spawned: 'wikijs' with pid 25 2017-11-28 12:08:05,461 INFO exited: wikijs (exit status 1; not expected) 2017-11-28 12:08:06,466 INFO gave up: wikijs entered FATAL state, too many start retries too quickly

NGPixel commented 6 years ago

Check for errors in the /logs folder. You can mount this folder using: -v /something/logs:/logs.

morganzhh commented 6 years ago

I got the same output when I was running container without mounting config.yml, after mounting, works perfect.

b-douglas commented 6 years ago

Yah me too, I get that error when it can't find a config.yml file.

rpoirier commented 5 years ago

My config.yaml is mounted but I'm getting the same error.

thunderstorm99 commented 5 years ago

Same for me. I can't get wiki.js to work at all in docker. Also changing something in the config.yml file does nothing at all.

mtiller commented 5 years ago

For anybody seeing this issue, be sure to mount only the config.yml file (not the directory it can be found in).