julianlam / nodebb-plugin-session-sharing

Allows login sessions from your app to persist in NodeBB
MIT License
88 stars 65 forks source link

NodeBB goes into a restart loop after installing #51

Closed ronaldlangeveld closed 6 years ago

ronaldlangeveld commented 6 years ago

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.

julianlam commented 6 years ago

Need stack trace

ronaldlangeveld commented 6 years ago

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?

julianlam commented 6 years ago

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.

ronaldlangeveld commented 6 years ago

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