julianlam/nodebb-plugin-session-sharing

NodeBB goes into a restart loop after installing

Closed this issue · 4 comments

Doesn't stop until I reset my whole NodeBB ./nodebb reset -a

Git cloned this project into node_modules.. not sure if its the correct way of installing or not.

Need stack trace

Any idea what I'm doing wrong?
I git clone the project into node_modules. Then npm i to make sure all dependancies are installed.
Then i go into my admin and activate nodebb-plugin-session-sharing. That's when it goes into a neverending loop. Simply deleting nodebb-plugin-session-sharing from the node_modules also lets NodeBB run again.

Whats the best way of doing a stack trace with Nodejs?

Like I mentioned in my last response, I need the stack trace from NodeBB's server-side code. You can access it by running ./nodebb log or viewing logs/output.log.

If there's a restart loop that means it's crashing, and when it crashes, it'll output a stack trace.

Okay, I figured it out. I had to run ./nodebb upgrade after installing the plugin. Seems like its working now. :) Thanks!!