can you lead me to some tutorial how to do it properly ?
Inspect your category data, it seems you have some invalid data in there.
Your vm may have suffered an unclean shutdown. Note "may". In absence of more info, a couple things to try.
If you have nodebb set up to be launched via systemd, disable that. And then stop just for good measure and then disable dependencies:
Then reboot the vm. When it comes back up we're going to restart all that in reverse order, verifying each is up and running before proceeding to next:
Those should now all report "disabled". So let's start them up, verifying each launches w/o error before proceeding to next
If the startup messages are greek to you or pass by too quickly:
Should report something very close to this:
If that all looks good, try starting nodebb:
A status check should look something like this:
If you are getting anything other than "SUCCESS" then stop just be sure:
Then sudo to change to your nodebb user and then go try starting nodebb manually using the "log" flag:
Then copy/pasta the ensuing spewage so the other gurus in the lurking can deconstruct. Good luck.
Once you get this sorted, be sure to re-enable those services else they will not automatically restart after a shutdown/reboot.
I'd even then reboot after that just to be sure all comes back up as expected.
Yeah, this is not issue specific but when dealing with unknown glitches it is nice to rule out some low hanging fruit to help isolate.
@baris now runs ok. Thnk you
I would like to disable all file upload to forum.
For that I disabled file upload in forum, avatar upload, and disable category permission. But not able to disable cover upload. How to do it.