Settings ->User->Account Protection->Admin relogin duration (minutes)->0
For some reason i am no longer able to access the admin control panel, I enter my user and password and i end up in "504 Gateway Time-out".
PS: I can login as a user with no problem.
any help or clues what could be the problem and how to fix it is highly appreciated.
What commit hash are you on?
@baris How do I know which commit hash am I on?
git rev-parse HEAD
Did NodeBB crash? Check the logs and let us know.
@julian it does crash very often, even restarting the service doesnt work i have to restart the whole server to get NodeBB back to work.
@hnahli what errors do you get when it crashes? Do you get any errors client side (check the JS console)?
@PitaJ Where the log file located?
I tried to copy the log file in this post but i couldnt.
Please advise on how to stop NodeBB from crashing like this and access to admin panel.
@hnahli You asked us for help, we asked you for more information. Please give us the log output. Tell us what leads to the crash if you can reproduce it. Are there any errors client side? Have you run it in dev mode with
./nodebb dev? What is your config file? Are you set up with multiple processes? Are you using Nginx as a reverse proxy?
If restarting the service doesn't work then it could possibly be a database issue, or your service setup is wrong. How did you set up the service?
log output: http://termbin.com/2abp
Tell us what leads to the crash if you can reproduce it?: I have no idea
Are there any errors client side?: Yes the forums looks messy and cant post, reply or do anything else
Have you run it in dev mode with ./nodebb dev? Never did should I ?
What is your config file? : Here it is http://termbin.com/e82n
Are you set up with multiple processes? I dont understand the question.
Are you using Nginx as a reverse proxy? Yes I do.
How did you set up the service? I used one of the guides on your wiki.
Please let me know if my answers helped or if there is anything else i should provide.
@hnahli it looks like your redis database is configured incorrectly.
@PitaJ How it should be configured properly? where the redis config file located?
@hnahli I can't really help you with debugging redis. I suggest googling the repeated error in your log file.
I can live with NodeBB crashing very often but i cant live without accessing the admin panel.
How do I access the NodeBB admin panel??
@PitaJ no there is no errors
@hnahli have you fixed your redis database? Until you fix that it will be impossible to nail down the root of the issue.