Hello everyone,
It's been a while since I took a look at the nodebb forum setup as I've had my exams. As of today I am however finished which means more time to focus & fix these issues.
So, for starters I have fixed some permission issues and have a secure forum while being able to upload files to the upload folder. However I am still not able to upload a profile picture. After spending the amount of time I did i am starting to suspect the software itself which brings me to the following. I can't automatically update nodebb using the rebuild & restart option on the forums.
This is the error it displays: Rebuilding and Restarting your NodeBB has been disabled as you do not seem to be running it via the appropriate daemon.
@PitaJ
As for plex, it's a hosting software package which lets you manage everything the easy way like installing ngnix/apache with the click of a button. Before I started using this I only used a terminal + ftp which in fact I have been using to install nodebb.
@Dravere
I have fixed the EADDRINUSE as well as the dev mode. I really do wonder how there could have been two instances. Confirming through listing the ports being listened on I do know that this issue has been fixed now though. I have tried setting the nginx directives in the vhosts through plesk ( i usually did this through apache vhosts without plesk ) but this caused everything to break down ( either proxy_pass or location / was not allowed for some reason I do not understand )
I do have to say that I've made sure to make backups after the #update!
#Update
The start of this reply was made about 7 hours ago. I've had my breaks but other then that I've attempted 3-reinstalls of nodebb from which there was one success. This was to make sure i am running the latest nodebb. Sadly the same issues persist. No restart/rebuild possible and no avatar uploads possible ( regular uploads are possible through the admin menu though )
P.S. This is not nearly my first couple setbacks, I've went through the same when my server's HDD got corrupted and I had no backups + when I attempted & eventually succeeded setting up a fully working mailserver ( which even finds it's way into outlook mailboxes ) So do know that I appreciate the help a ton and that any help is not getting to waste!
#Note
Given the re-install I did learned more then I knew previously, simple yet effective things like ./nodebb dev and log ( as well as how much things could possibly go wrong with npm )
#UPDATE 2 - Somehow rebuild and restart using the fancy button does work? Now i am confused
The startup contains this by the way:
Restricting access to origin: https://forum.dregora.com:*
Config:
{
"url": "https://forum.dregora.com",
"secret": "xxx-xxx-xxx-xxx",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "xxxxx",
"password": "xxxxx",
"database": "xxxxx",
"uri": ""
}