Using git pull to upgrade Nodebb,after this,NodeBB can't start normally.
-
using ./nodebb dev
it display this:
step:
./nodebb stop
git pull
./nodebb upgrade
./nodebb start -
Here's a link to the original topic for reference
You're having issues with the dbsearch plugin, and you'll have issues with others as well most likely. Notice how the plugin name is given in the first indented line of the error message.
@baris pushed his updated to the plugin onto NPM yesterday. So you should try running the following command
npm i nodebb-plugin-dbsearch@latest
-
@Ted Thanks a lot.now it's working.
step:
./nodebb stop
npm i nodebb-plugin-dbsearch@latest
./nodebb upgrade
./nodebb reset plugins
./nodebb start
-
@Ted but when you run : ./nodebb dev
still display this:
net.js:1236
throw new Error('Not running');Error:Not running
at Server.close(net.js:1236:11)
at shutdown(app.js:340:36)
at process.<anonymous> (app.js:177:7)
at process.emit (events.js:95:17)
at process._fatalException(node.js:272:26) -
@Ted There is a problem.when you restart the nodebb in command line.you must run
./nodebb reset plugins
-
@song19891121 - Post a screenshot of the full error please.
-
@song19891121 said:
still display this:
net.js:1236
throw new Error('Not running');Error:Not running
at Server.close(net.js:1236:11)
at shutdown(app.js:340:36)
at process.<anonymous> (app.js:177:7)
at process.emit (events.js:95:17)
at process._fatalException(node.js:272:26) -
An actual screenshot, please, as that is only part of the error message. Otherwise I won't be able to assist.
-
@Ted I uninstall the plugin you told me. so it's fine now.
-
You've disabled the search feature of your forum. The search plugin works.
You don't need to run nodebb upgrade when installing plugins. Nor do you need to disable it either. Nodebb reset plugins switches off all of your plugins.
Go into your ACP and switch your installed plugins back to Active, restarting NodeBB each time until it crashes, post here the full crash log (looking for the name of the plugin), chances are their will be an update for it. To update a plugin
npm i plugin-name@latest
That's all you need to do, you don't need to upgrade or update. Go into your ACP and reload your forum.
Only do nodebb upgrade when you pull the latest files. And don't reset plugins unless you're having an issue with plugins and you don't know which one. to disable a specific plugin,
./nodebb reset plugin="nodebb-plugin-name"