My community is a mix of NodeBB and Angular, i am creating a notification widget same as nodebb on angular page. Everything is done just want to mark notifications read/unread by updating the value in database.
Could anyone can guide me with the object in MongoDB for read/unread notification.
A new installation fron a few days ago - I restarted the server and I get an error 502
I would very much appreciated your help to understand what's wrong here
On systemctl status nginx.service & systemctl status nodebb.service
May 26 00:47:02 test.wewp.net systemd: Can't open PID file /var/run/nginx.pid (yet?) after start: No such file or directory
May 26 00:15:32 test.wewp.net systemd: Can't open PID file /var/www/nodebb/pidfile (yet?) after start: No such file or directory
Why not? I've not scrutinized the rest of your stuff but a couple quick questions:
What is the value of "User" in your nodebb.service? Does it match your nodebb user?
What is the value of "PIDFile" in your nodebb.service config?
What are the permissions for that directory and file?
What is the ownership for that directory and file?