Error: Cannot find module './build/Release/magic'
You must install imagemagick:
sudo apt-get install imagemagick
I got a fetal issue, Internal Server Error, acutally the sevice is totally down.
Before issue, the ONLY thing I have done is de-installed a plugin (emoj plugin for Android), because this plugin is not nessesary for our site. I de-installed, then restart the nodebb in web ui (http://ip:port/admin). Then every thing is done.
The troubleshooting is done, but nothing intresting is found,
[root@cc nodebb]# service nginx stop
Redirecting to /bin/systemctl stop nginx.service
[root@cc nodebb]# service nginx start
Redirecting to /bin/systemctl start nginx.service
[root@cc nodebb]# ./nodebb stop
Stopping NodeBB. Goodbye!
[root@cc nodebb]# ./nodebb start
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb help" for more commands
Thanks for any kinds of help.
First: Please don't run NodeBB as root. This is a setup for pure catastrophes.
Did you try to rebuild your forum?
Could be that your templates are not up-to-date.
I tried to rebuild with command ./nodebb build, some warnings, but still can sucess (see attached), then I restart nodebb, but still the same issue.
At last I did a upgrade : ./nodebb upgrade
I think the plugin I deinstalled has some links with theme, after upgrade the missing files should be replaced again.