Problems with the meteor shower app

I have a virtual virtual (virtual) installation with a meteorite. My host and guest is Ubuntu. The VM contains the configuration of the vboxfs shared folder through the Vagrantfile. The behavior I notice is like mounting NFS.

I can create a meteor project in this shared folder, but when I start the project, I get errors pointing to mongodb.

If I follow the instructions at https://github.com/pixelhandler/vagrant-dev-env/blob/master/README.md my application works fine.

According to further research, MongoDB does not work with NFS stocks, http://www.mongodb.org/display/DOCS/NFS

Anyone else run into this issue? and if so, did you find out the solution (non-rsync)?

I plan to send a link to this question in 10gen, maybe someone from their team will be able to answer it.

+4
source share
3 answers

Not sure if Mongo plans work on NFS / vboxfs, but you can get around this by running your own MongoDB, but not in a shared folder (for example, use the ubuntu mongodb package). Use the MONGO_URL environment variable to tell the meteor where to connect. If you pass this variable, the meteorite will not try to start MongoDB in the meteor project directory.

+6
source

You can move the dir data somewhere inside the virtual machine and use a symbolic link from the vagrant folder:

  cd /vagrant/.meteor/local
 ln -s ~ / db /

This means that the data will not be shared, but you probably want it to be ignored by git anyway.

( https://grahamrhay.wordpress.com/2013/06/18/running-meteor-in-a-vagrant-virtualbox/ )

+4
source

The grahamrhay solution will not work with a firewall running on Windows. It is not possible to create symbolic links to windows for vagrants, at least not for administrator accounts.

0
source

All Articles