Hey! Greetings!
So recently I was thinking of resetting my nodebb forums when I had an error after deleting the database I couldn’t create a user. So what I thought was to delete MongoDB v3.2 again not 3.4 its 3.2 for my nodebb forums. I deleted the /var/lib/ files the /etc/ and that systemd files! When trying to install I can’t startup mongod and when I do service mongod start it says that not there and when I do service mongod status it shows a error! I think I have messed up something in the mongod.service as I deleted it I readded it to work with systemctl still NP chance! I have also asked a friend to myne to help out if he could I’ll notify as well!
Thanks/ Kind regards, /shar
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Try:
sudo systemctl enable mongod
Ensure you’ve got the correct config in etc/mongod.conf and then:
sudo service mongod restart
Hello,
In addition to what has already been mentioned, as DigitalOcean now offers Managed MongoDB databases as well, I could suggest giving it a try in case that you are looking for a production-ready MongoDB solution:
https://www.digitalocean.com/blog/introducing-digitalocean-managed-mongodb/
For more information on how to get started, make sure to check out this video here:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.