@keng-her Thank you. I'll back everything up and try that and report back.
Solved Quit admin group when I am the only user
-
I quit the admin group and can't add myself back. I am the only user in the forum. How do I add myself back to the group?
Thanks.
-
You can run ./nodebb setup again, if there aren't any other admins it will let you create a new admin user.
-
Thanks @baris.
I ran ./nodebb setup, it aborted after configuration of Redis.
[email protected]:/var/nodebb# ./nodebb setup 26/7 13:38 [11971] - info: NodeBB Setup Triggered via Command Line Welcome to NodeBB! This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed. Press enter to accept the default setting (shown in brackets). URL used to access this NodeBB (http://localhost) Please enter a NodeBB secret (xxx) Which database to use (redis) 26/7 13:38 [11971] - info: Now configuring redis database: Host IP or address of your Redis instance (127.0.0.1) Host port of your Redis instance (6379) Password of your Redis database Which database to use (0..n) (0) Configuration Saved OK npm WARN unmet dependency /var/nodebb/node_modules/nodebb-plugin-finder requires [email protected]'~0.7.2' but will load npm WARN unmet dependency /var/nodebb/node_modules/winston, npm WARN unmet dependency which is version 0.9.0 npm WARN unmet dependency /var/nodebb/node_modules/nodebb-plugin-finder requires [email protected]'~0.2.8' but will load npm WARN unmet dependency /var/nodebb/node_modules/async, npm WARN unmet dependency which is version 0.9.2 26/7 13:38 [11971] - warn: NodeBB Setup Aborted. Error: The package [email protected] does not satisfy its siblings' peerDependencies requirements! at /var/nodebb/node_modules/npm/lib/install.js:125:32 at /var/nodebb/node_modules/npm/lib/install.js:268:7 at /var/nodebb/node_modules/npm/node_modules/read-installed/read-installed.js:142:5 at /var/nodebb/node_modules/npm/node_modules/read-installed/read-installed.js:263:14 at cb (/var/nodebb/node_modules/npm/node_modules/slide/lib/async-map.js:47:24) at /var/nodebb/node_modules/npm/node_modules/read-installed/read-installed.js:263:14 at cb (/var/nodebb/node_modules/npm/node_modules/slide/lib/async-map.js:47:24) at /var/nodebb/node_modules/npm/node_modules/read-installed/read-installed.js:263:14 at cb (/var/nodebb/node_modules/npm/node_modules/slide/lib/async-map.js:47:24) at /var/nodebb/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
Any idea how to fix it?
Thanks.
-
Try removing vanilla theme with
npm r nodebb-theme-vanilla
then try again.