Excuse me, how does nodebb unload incompatible plugins from the command line
-
./nodebb reset -p <plugin name>
You can list active plugins with
./nodebb plugins
And it does have a help screen
./nodebb --help
-
Does anyone know the analog of that when running inside the Docker container? The
nodebb
inside the container doesn't seem to understandstart
,stop
, or any of the other subcommands documented here, but rather just tries to start the server (again) regardless of what option is given:$ docker-compose exec nodebb ./nodebb --help 2024-01-10T04:24:22.786Z [2454] - info: Launching web installer on port 4567 2024-01-10T04:24:23.439Z [2454] - info: [installer] Found setup.json, populating default values 2024-01-10T04:24:32.763Z [2454] - error: uncaughtException: listen EADDRINUSE: address already in use :::4567 Error: listen EADDRINUSE: address already in use :::4567 at Server.setupListenHandle [as _listen2] (node:net:1872:16) at listenInCluster (node:net:1920:12) at Server.listen (node:net:2008:7) at Function.listen (/usr/src/app/node_modules/express/lib/application.js:635:24) at launchExpress (/usr/src/app/install/web.js:100:15) at web.install [as webInstall] (/usr/src/app/install/web.js:85:3) {"date":"Wed Jan 10 2024 04:24:32 GMT+0000 (Coordinated Universal Time)","error":{"address":"::","code":"EADDRINUSE","errno":-98,"port":4567,"syscall":"listen"},"exception":true,"os":{"loadavg":[1.19,0.83,1.02],"uptime":30791.73},"process":{"argv":["/usr/local/bin/node","/usr/src/app/nodebb","--help"],"cwd":"/usr/src/app","execPath":"/usr/local/bin/node","gid":0,"memoryUsage":{"arrayBuffers":7123005,"external":10782422,"heapTotal":112189440,"heapUsed":79256000,"rss":193617920},"pid":2454,"uid":0,"version":"v20.10.0"},"stack":"Error: listen EADDRINUSE: address already in use :::4567\n at Server.setupListenHandle [as _listen2] (node:net:1872:16)\n at listenInCluster (node:net:1920:12)\n at Server.listen (node:net:2008:7)\n at Function.listen (/usr/src/app/node_modules/express/lib/application.js:635:24)\n at launchExpress (/usr/src/app/install/web.js:100:15)\n at web.install [as webInstall] (/usr/src/app/install/web.js:85:3)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1872,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1920,"method":null,"native":false},{"column":7,"file":"node:net","function":"Server.listen","line":2008,"method":"listen","native":false},{"column":24,"file":"/usr/src/app/node_modules/express/lib/application.js","function":"Function.listen","line":635,"method":"listen","native":false},{"column":15,"file":"/usr/src/app/install/web.js","function":"launchExpress","line":100,"method":null,"native":false},{"column":3,"file":"/usr/src/app/install/web.js","function":"web.install [as webInstall]","line":85,"method":"install [as webInstall]","native":false}]}
Copyright © 2024 NodeBB | Contributors