It sounds like your database is corrupted. I recommend reinstalling nodebb from scratch.
How can I create an Admin account manually ?
I've just one question : How can I create an admin account manually ?
I'm packaging NodeBB for Yunohost, so I'm creating a script to install this. I've a problem because I set up the Databases in the config.json file but I don't know how to fill in it to create my admin account.
It's the only thing I need to finish my install script.
Can you help me please ?
PS: My work : https://github.com/YunoHost-Apps/nodebb_ynh
The install script : https://github.com/YunoHost-Apps/nodebb_ynh/blob/master/scripts/install
@frju365 you can pass in the admin username and password to the NodeBB setup script. You can refer to this for an example
Thank you very much for your answer. I will see if it works.