NodeBB broken after installing a theme!
-
@So-Confused theme's are pretty easy to just revert back to the original setup..
You can even completely remove both vanilla and lavender and then npm install nodebb-theme-* again at the git prompt
look for the git command to re-pull / fetch the entire branch again if you fear you have messed up core templates
-
@Codejet said:
@So-Confused theme's are pretty easy to just revert back to the original setup..
You can even completely remove both vanilla and lavender and then npm install nodebb-theme-* again at the git prompt
look for the git command to re-pull / fetch the entire branch again if you fear you have messed up core templates
I already tried to uninstall and now my site won't even load.
Whats the command? I tried git clone https://github.com/NodeBB/NodeBB.git but it didnt change anything.
I get no errors when I run ./nodebb start
-
Try running
./nodebb dev
it should show any errors. -
@pitaj said:
Try running
./nodebb dev
it should show any errors.root@CV:~/nodebb# ./nodebb dev
Launching NodeBB in "development" mode.
To run the production build of NodeBB, please use "forever".
More Information: https://docs.nodebb.org/en/latest/running/index.htmlNodeBB v0.6.1 Copyright (C) 2013-2014 NodeBB Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For the full license, please visit: http://www.gnu.org/copyleft/gpl.htmlClustering enabled: Spinning up 1 process(es).
11/2 22:43 [11904] - info: Time: Wed Feb 11 2015 22:43:33 GMT-0500 (EST)
11/2 22:43 [11904] - info: Initializing NodeBB v0.6.1
11/2 22:43 [11904] - verbose: * using configuration stored in: /root/nodebb/config.json
11/2 22:43 [11904] - verbose: * using redis store at 127.0.0.1:6379
11/2 22:43 [11904] - verbose: * using themes stored in: /root/nodebb/node_modules
11/2 22:43 [11904] - verbose: [plugins] Initializing plugins system
11/2 22:43 [11904] - verbose: [notifications.init] Registering jobs.
11/2 22:43 [11904] - info: [themes] Using theme nodebb-theme-vanilla
11/2 22:43 [11904] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-mentions
11/2 22:43 [11904] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-mentions
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
11/2 22:43 [11904] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-spam-be-gone
11/2 22:43 [11904] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spam-be-gone
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-spam-be-gone
11/2 22:43 [11904] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
11/2 22:43 [11904] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
11/2 22:43 [11904] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-markdown
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
11/2 22:43 [11904] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-emoji-extended
11/2 22:43 [11904] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-emoji-extended
11/2 22:43 [11904] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-google-adsense
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-adsense
11/2 22:43 [11904] - verbose: [plugins] Found 5 js file(s) for plugin nodebb-theme-material
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-theme-vanilla
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgur
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-plugin-emoji-extended
11/2 22:43 [11904] - verbose: [plugins] Loaded plugin: nodebb-theme-material
11/2 22:43 [11904] - info: [plugins/spam-be-gone] Settings loaded
11/2 22:43 [11904] - verbose: [hotswap] Router with idplugins
replaced successfully
11/2 22:43 [11904] - verbose: [plugins] All plugins reloaded and rerouted
11/2 22:43 [11904] - info: [plugins] Plugins OK
11/2 22:43 [11904] - verbose: [meta/css] Minifying LESS/CSS
11/2 22:43 [11904] - verbose: [hotswap] Router with idauth
replaced successfully
11/2 22:43 [11904] - verbose: [sounds] Sounds OK
11/2 22:43 [11904] - verbose: [meta/js] Minification complete
11/2 22:43 [11904] - verbose: [meta/js] Client-side minfile committed to disk.
11/2 22:43 [11904] - verbose: [meta/css] admin.css committed to disk.
11/2 22:43 [11904] - verbose: [meta/css] stylesheet.css committed to disk.
11/2 22:43 [11904] - verbose: [meta/templates] Compiling templates
11/2 22:43 [11904] - verbose: [meta/templates] Successfully compiled templates.
11/2 22:43 [11904] - info: NodeBB Ready
11/2 22:43 [11904] - error: Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
at Server.listen (net.js:1138:5)
at module.exports.listen (/root/nodebb/src/webserver.js:139:18)
at /root/nodebb/node_modules/async/lib/async.js:656:23
at fn (/root/nodebb/node_modules/async/lib/async.js:641:34)
at Object._onImmediate (/root/nodebb/node_modules/async/lib/async.js:557:34)
at processImmediate [as _immediateCallback] (timers.js:345:15)
Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
at Server.listen (net.js:1138:5)
at module.exports.listen (/root/nodebb/src/webserver.js:139:18)
at /root/nodebb/node_modules/async/lib/async.js:656:23
at fn (/root/nodebb/node_modules/async/lib/async.js:641:34)
at Object._onImmediate (/root/nodebb/node_modules/async/lib/async.js:557:34)
at processImmediate [as _immediateCallback] (timers.js:345:15)
11/2 22:43 [11904] - error: NodeBB address in use, exiting...
[cluster] Child Process (11904) has exited (code: 0, signal: null)
root@CV:~/nodebb# -
Ok thanks guys, I got it working.
Now, why can't I install vanilla theme? I want to install pewter but I get this every time:
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/nodebb/npm-debug.log
npm ERR! not ok code 0
root@CV:~/nodebb# npm install nodebb-theme-vanilla
npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@>=0.0.137
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@^0.2.0
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@~0.0.13npm ERR! System Linux 3.13.0-43-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "nodebb-theme-vanilla"
npm ERR! cwd /root/nodebb
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/nodebb/npm-debug.log
npm ERR! not ok code 0
root@CV:~/nodebb# npm i nodebb-theme-vanilla
npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@>=0.0.137
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@^0.2.0
npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@~0.0.13npm ERR! System Linux 3.13.0-43-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "i" "nodebb-theme-vanilla"
npm ERR! cwd /root/nodebb
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/nodebb/npm-debug.log
npm ERR! not ok code 0
root@CV:~/nodebb# -
@So-Confused I believe Pewter is incomptible with the newest versions of NodeBB, though. @psychobunny would have a better idea about that one
-
@henrywright that's because the commands changed recently.
./nodebb reset theme
was valid at the time