And once again, all my data has gone :/
-
Just like last time my website isn't working anymore. I was restarting the forum and everything was gone.
I'm sorry, but I'm switching to other software, because 2 times complete data loss, I'm not happy about it.
If an admin wants to look at the broken site (to check, or maybe to see what is going on). Please contact me, and I will give you my DigitalOcean username and password so you can check the console and stuff. Maybe it's my fault, maybe the software's fault, I don't know. I'm tired of getting data loss every time. Sorry.
please @julian or other admin, contact me for digitalocean log in and pass, and if you want you can check the log's and everything you want.
-
So, you didn't lose all your data? it was a configuration you changed?
-
File not found 路 NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found 路 NodeBB/NodeBB
GitHub (github.com)
It seems NodeBB reads the
maxLag
within its config (so it's within your database at the keyconfig
) aseventLoopLagThreshold
.I'm not sure which db you are using...
MongoDB solution:
mongo -u mongo-user -p mongo-password # start interactive mongodb session use mongo-database-name db.objects.update({_key: "config"}, {$set: {eventLoopLagThreshold: 70}})
RedisDB solution:
Someone who knows more about
redis
than me should be able to help you here...
@team-redis -
@frissdiegurke said:
File not found 路 NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found 路 NodeBB/NodeBB
GitHub (github.com)
It seems NodeBB reads the
maxLag
within its config (so it's within your database at the keyconfig
) aseventLoopLagThreshold
.I'm not sure which db you are using...
MongoDB solution:
mongo -u mongo-user -p mongo-password # start interactive mongodb session use mongo-database-name db.objects.update({_key: "config"}, {$set: {eventLoopLagThreshold: 70}})
RedisDB solution:
Someone who knows more about
redis
than me should be able to help you here...
@team-redisI use Redis yes.
Is it better to use MongoDB?
-
@MJ said:
I use Redis yes.
Is it better to use MongoDB?
I personally prefer MongoDB because I don't need the speed improvement on costs of persistence to disk. Whether it is better has to be decided per use-case and needs.
But because of that I did never learn any redis commands, so I can't help you out with commands to fix your configuration.There are a few discussions on the differences of both databases to be found on this board if you're interested in more details.