502 Bad Gateway occured due to Pewter theme
-
I recently installed nodebb-theme-pewter on the latest NodeBB. The installation went well but when I activate the theme, then restart my nodebb an 504 Bad Gateway occured. I tried to restart NodeBB but it says that the system can't restart, as running instance could not be found. Any idea?
Please help. thanks
-
Do you get any errors in the terminal?
./nodebb log
If that doesn't give you anything useful, try running it in development mode and let me know the error, thanks
-
@psychobunny Yes it does. Here is the error.
-
Hey, so I had some problems getting it to work on the latest code, so I've just pushed a fix and published.... however, I'm not getting the error that you're having. Are you running the latest NodeBB?
-
@psychobunny Yup. I'm running on the latest NodeBB.
-
Can you try pulling the latest version of the theme and give it a shot?
-
@psychobunny Ok not sure if I did this right. You told me to pull the latest version of the theme so what I did was login to my server > cd nodebb > and then type in npm install nodebb-theme-pewter. And this is what I got.
And 502 Bad Gateway still happening.
-
That looks right, but you might want to do
./nodebb start
instead... the error message you're getting is due to the fact that NodeBB wasn't running in the first place (or it was running but unexpectedly crashed and was unable to automatically restart itself) -
@psychobunny Wow. That was easy and fast. Man, I wish i could of think of starting it instead of restarting. Haha. Thanks alot!
-
Haha no problem