Closed jamalbernhard closed 5 years ago
Solved using --network="host"
in the docker run
command.
hi, while i am trying to deploy wiki.js using yaml files in kubernetes(in gcp(GKE)) its getting deployed but while i am trying to create user or save the documents getting "ERROR UNDEFINED". couldnot able to resolve it.
@ @jamalbernhard @felipeplets @Savageman hi, while i am trying to deploy wiki.js using yaml files in kubernetes(in gcp(GKE)) its getting deployed but while i am trying to create user or save the documents getting "ERROR UNDEFINED". couldnot able to resolve it.
Sorry, this is just a call for help. I'm a mongodb noob and have very little docker experience as well. I installed mongodb just to try Wiki.js. The daemon seems to be running fine:
I followed the instructions to fetch the Wiki.js docker image and run the container. It looks to be up and connects successfully to the Github repo I set up, according to the log. However I can't get it to connect to mongodb. From
/logs/wiki-stderr.log
:I tried using both
db: mongodb://localhost:27017/wiki
anddb: mongodb://127.0.0.1:27017/wiki
explicitly in myconfig.yml
. I tried creating thewiki
db in mongo. I also tried downloading and using mongodb's docker image instead of the version I installed on the host. No dice. I'm probably doing something silly stupid here, but wasn't sure where else to turn.I can try the Docker Compose instructions and see if that works, but I've never used Docker Compose before so I was trying the simpler instructions first.
Thanks.