Two things you can tryComment out https://github.com/NodeBB/NodeBB/blob/master/public/src/admin/admin.js#L47 Add a true to this if block so it doesn't logout the admin automatically https://github.com/NodeBB/NodeBB/blob/master/src/middleware/admin.js#L148
Can't access admin panel
So i just downloaded NodeBB and fully set it up. However i don't think during the setup it ever asked for a administrative username and password, i have tried multiple attempts to access it in Redis or give another user admin rights but i can't get it to work. Please help!
@OmegaJT22 it should have asked for an admin account username and password. If it didn't that was in error. Did you use the web installer or the CLI installer?
@PitaJ I used the CLI installer, is it possible to completely redo the install?
@OmegaJT22 yes just delete your
./nodebb setupagain, with a different database name
@PitaJ I'm getting a bunch of errors.
@PitaJ Should I also be deleting the administrator database?
@OmegaJT22 yeah, I said to use a different database name. You used
0again. You could delete it and use
0, or try
1or something else.
I suggest using MongoDB if you're running on Windows, though. It's a lot easier to set up and a lot more stable. I say this specifically because it looks like you haven't set up Redis correctly.
@PitaJ OK thanks, I will have to try and do that tomorrow.