Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker - Mongo db not starting on second start. And then everything crashs #919

Closed
cracker0dks opened this issue Jun 12, 2017 · 0 comments
Closed

Comments

@cracker0dks
Copy link
Contributor

if you want to reproduce just start and then restart a licode docker container. MongoDb will crash with:
ERROR: child process failed, exited with error number 100
this is caused by the owner of the DB folder.
If you insert:
mongod --repair --dbpath $DB_DIR
infront of the startcommand at licode/extras/docker/initDockerLicode.sh:
mongod --nojournal --dbpath $DB_DIR --logpath $BUILD_DIR/mongo.log --fork
all is working fine again. On every, and not just the first start.

@cracker0dks cracker0dks changed the title Mongo db not starting on second start and everything crashs Docker - Mongo db not starting on second start. And then everything crashs Jun 12, 2017
Arri98 pushed a commit to Arri98/licode that referenced this issue Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant