I cannot start up a new Meteor application on a Vagrant linux box (running on a Mac). It fails every time with a 'unspecified uncaught exception' in Mongo. I have tried a bunch of things to get this going, but even with the simplest set-up, I cannot get the project running. I would be grateful for any suggestions.
My steps are:
- create a completely clean Vagrant box ("ubuntu/trusty64");
- install Meteor on the new box (
curl https://install.meteor.com/ | sh
); - choose a location to create the project;
- create a new Meteor project (
meteor create app
); - start up the project (
cd app; meteor
)
I know that the permissions on the vagrant shared folder are quirky, so for step #3 above I have tried putting the project:
- in the shared guest/host folder,
/vagrant
, - in a subdirectory of the Vagrant home folder (
/home/vagrant
), - in a subdirectory of
/
(with permissions set tovagrant:vagrant
), and - in a subdirectory of
/
with permissions set toroot:root
, the project created withsudo meteor create app
and run withsudo meteor
In all cases, I see this error:
=> Started proxy.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can't start Mongo server.
MongoDB had an unspecified uncaught exception.
This can be caused by MongoDB being unable to write to a local database.
Check that you have permissions to write to .meteor/local. MongoDB does
not support filesystems like NFS that do not allow file locking.
I cannot tell if this is a Vagrant issue (though I think not, given what I've tried) or a Meteor issue, but I suspect it is Meteor (or one of its many dependencies). I doubt it is a permissions issue, since it failed when running as root. I've tried building meteor from scratch and the build fails and I've tried creating the project with --release 0.9.0
and --release 0.9.2-rc1
and the download is simply killed without explanation.