@baris thanks 🙏
There seems to be a problem with your Mongo settings. Another possibility may be that the mongo server is not running. This could have a number of reasons.
Can you check the following:
- Is MongoDB running?
- Can you access the mongodb port on the IP/hostname that you use to connect it to?
- Are your mongo login errors
If you can't find a solution using these questions, can you tell me your setup? For instance, do you run MongoDB locally or do you use a hosted service?
Is nodebb died ? Can someone tell me what to do ? I'm losing a thousands of users !
If you are claiming this kind of critical loss, then you should pay for a supported version and not cheap out and do things you do not understand.
FOSS != us required to do anything for you for free.
@julian I already tried this :
2016-11-30T16:28:23.709-0500 I STORAGE [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating
2016-11-30T16:28:23.709-0500 I CONTROL [initandlisten] dbexit: rc: 100
I'm using nodebb more than 2 years. Before I had issues with redis and I rebuilt my forum one year ago to use Mongodb. It was stable untill today, I connot any more restart it.
I just need your expertise. You can search my name and see my very old discussion here.
@kacemlight You've just sent me your server root password. This is a terrible idea and a security risk. Change your passwords immediately.
I do not resolve installation issues for free. It is a liability as it opens me and the company up to potential legal issues.
Please see if someone here is willing to help you. There will be a cost associated with it, as is the case with all server administration work.
Anyone can, actually. If anybody here wants to help @kacemlight out, please DM him with your bid.
A failed Mongo instance and that post says the db file is missing. My money is on no backups either. Not wasting my time even thinking about it anymore. Good luck to anyone that attempts something here.
Looks like you have not been keeping your system up to date. That's an ancient version of NodeBB.
Your database says that its data is missing. Not much we can do there. Do you have backups? What happened when the site went down? Have you rebooted? Tons of the issues you've had here (not including the missing data) would have been fixed in a split second with a quick reboot.
Probably the files are not lost at all - I don't know whether
mongoduses a default configuration file or just default configuration if nothing is specified via
Maybe your system uses
systemdwhich means you're supposed to start mongodb with
systemctl start mongodb, replace
statusfor respective actions.
And if it's not
systemdyou're using, it might be any other init system with similar structure, in that case we'd need to know more about the system.
uname -awould be a start.
Does Xenial even load a proper systemd config for mongo anyway?
One of the many reasons that we use CentOS 7 for NodeBB / MongoDB systems. Unless you are an existing all-Ubuntu shop or an Ubuntu exclusive expert, I don't know why anyone would play with it in this case and clearly it isn't the right tool for the job for the OP. Unnecessarily complex and not properly supported.