@MoJo Ah yeah it looks like you've run into this bug: https://github.com/NodeBB/NodeBB/issues/8515
You'll need to cherry-pick the referenced commit to fix it in your install.
Hi,
i am currently trying to get Nodebb running on a server. I am following this guide.
guide from another nodebb user
However when doing the last step i get this error.
C:\nginx>nginx -s reload
nginx: [error] CreateFile() "C:\nginx/logs/nginx.pid" failed (2: the system cant find the file)
Since i had a similar error when setting up nodebb i am curios what causes this.
Actually, i still get this error (Process "20576" from pidfile not found, deleting pidfile) every time when i start nodebb locally, but it works properly from what i can say.
Can't speak to nginx, but for NodeBB...
When you start NodeBB via the loader (e.g. ./nodebb start
), it saves the process id of the running application in a file called pidfile
.
If those commands are called again, and but the id in that file doesn't correspond to an actual NodeBB process, then that means that NodeBB lost the association. It could mean a lot of things... for example, if the process died some other way (e.g. killed via task manager, OOM, etc.)