Open davidrinnan opened 9 years ago
I think mup should detect it. I will try it. I will be working on some enhancements to mup this week. I will do this as well. On 2015 ජන 26, සඳුදා at පෙ.ව. 6.00 David Rinnan notifications@github.com wrote:
Many probably do a mup setup on a VPS and many are probably as cheap as I and have disk space configured as low as possible :)
If you run with 5gb of space chances are your mongodb installation wont be 100% successful. A certain amount of space is needed when mongo creates basic db folders etc.
It has happened me twice and each time caused a lot of time to try and figure out what is the issue. It is a very simple issue once one figures out what is going on but is sure causing a lot of sweat and worry.
I would suggest maybe adding to the readme that a certain amount of free disk space is needed, I think it is 3gb.
Another thing is to consider finding a way for the mup setup script to actually detect that the installation wasn't completely successful.
Now it states [] - Installing MongoDB [] ✔ Installing MongoDB: SUCCESS
even though it is impossible to run mongo if the above mentioned issue has happened.
— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/235.
starting mongodb with config smallfiles=true
should cut a big chunk out of the diskspace requirements!
funny thing is that as far as I can see mongo has never used the space it requires enough to not even start :)
+1 start mongo with --smallfiles
option http://docs.mongodb.org/manual/reference/program/mongod/#cmdoption--smallfiles
I modified the scripts/linux/install-mongodb.sh
to include the smallfiles flag and it worked fine:
sudo docker run \
-d \
--restart=always \
--publish=127.0.0.1:27017:27017 \
--volume=/var/lib/mongodb:/data/db \
--volume=/opt/mongodb/mongodb.conf:/mongodb.conf \
--name=mongodb \
mongo mongod --smallfiles -f /mongodb.conf
Many probably do a mup setup on a VPS and many are probably as cheap as I and have disk space configured as low as possible :)
If you run with 5gb of space chances are your mongodb installation wont be 100% successful. A certain amount of space is needed when mongo creates basic db folders etc.
It has happened me twice and each time caused a lot of time to try and figure out what is the issue. It is a very simple issue once one figures out what is going on but is sure causing a lot of sweat and worry.
I would suggest maybe adding to the readme that a certain amount of free disk space is needed, I think it is 3gb.
Another thing is to consider finding a way for the mup setup script to actually detect that the installation wasn't completely successful.
Now it states [] - Installing MongoDB [] ✔ Installing MongoDB: SUCCESS
even though it is impossible to run mongo if the above mentioned issue has happened.