when i try to start meteor app i get this error
=> Started proxy.
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
and i when try to access mongodb via shell everything is ok and shell opens and connects to mongodb
mongodb log file is also clean and doesn't show any error
i'm running mongo with
my os is Ubuntu 16.04
mongod --fork --logpath /var/log/mongodb.log
If you're having this issue running Ubuntu inside Vagrant/VirtualBox, then the problem come from working in the synced vagrant folder. The workaround is to initialize the .meteor directory in the home directory and to mount it in the synced folder. Assuming your meteor app is called MyApp and the /vagrant is the synced folder, here's how to do it:
cd ~
meteor create MyApp
cd MyApp
meteor
cd /vagrant/MyApp
sudo mount --bind ~/MyApp/.meteor/ .meteor
meteor
Try:
meteor update --release *LAST STABLE VERSION FOR YOU*
meteor
If it's still not working, try:
meteor reset
meteor
Otherwise, if that still doesn't work, try removing the local db folder then running meteor again like this:
rm -r .meteor/local/db folder
meteor
Also experienced this problem.
To fix the problem in my case i needed to remove /tmp/mongodb-<port>.sock
file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With