[Solved] How to revert my theme selected
-
@psychobunny Still 502 ...
capitansupositorio@foro:~/mynodebb$ forever restart 0 info: Forever restarted process(es): data: uid command script forever pid logfile uptime data: [0] MFdd /usr/bin/nodejs app.js 15725 25844 /home/capitansupositorio/.forever/MFdd.log 0:1:13:45.656 capitansupositorio@foro:~/mynodebb$ forever restart 0 info: Forever restarted process(es): data: uid command script forever pid logfile uptime data: [0] MFdd /usr/bin/nodejs app.js 15725 27756 /home/capitansupositorio/.forever/MFdd.log 0:0:0:0.886
-
what error do you get now when running
./nodebb dev
-
@psychobunny said:
what error do you get now when running
./nodebb dev
´capitansupositorio@foro:~/mynodebb$ ./nodebb dev´ Launching NodeBB in "development" mode. To run the production build of NodeBB, please use "forever". More Information: https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB info: NodeBB v0.3.2 Copyright (C) 2013 DesignCreatePlay Inc. info: This program comes with ABSOLUTELY NO WARRANTY. info: This is free software, and you are welcome to redistribute it under certain conditions. info: info: Time: Sat Feb 15 2014 18:02:45 GMT+0000 (UTC) info: Initializing NodeBB v0.3.2 info: * using redis store at 127.0.0.1:6379 info: * using themes stored in: /home/capitansupositorio/mynodebb/node_modules info: Base Configuration OK. warn: You have no redis password setup! info: [themes] Using theme nodebb-theme-vanilla info: Middlewares loaded. info: [plugins] Initializing plugins system info: [notifications.init] Registering jobs. warn: [plugins/nodebb-plugin-dailymotion] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-dailymotion warn: [plugins/nodebb-plugin-dailymotion] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-linkcheck] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-linkcheck warn: [plugins/nodebb-plugin-linkcheck] staticDir is deprecated, define CSS files with new staticDirs instead. info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-mentions warn: [plugins/nodebb-plugin-youtube] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-youtube warn: [plugins/nodebb-plugin-youtube] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-twitter] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-emoji] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-emoji warn: [plugins/nodebb-plugin-emoji] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-sso-twitter] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-rss] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-sso-facebook] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-sso-google] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-soundcloud] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-soundcloud warn: [plugins/nodebb-plugin-soundcloud] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-twitter-hashtag] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-twitter-hashtag warn: [plugins/nodebb-plugin-twitter-hashtag] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-desktop-notifications] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-buzzer] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-buzzer warn: [plugins/nodebb-plugin-buzzer] staticDir is deprecated, define CSS files with new staticDirs instead. info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-markdown warn: [plugins/nodebb-plugin-42] staticDir is deprecated, use staticDirs instead info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-42 warn: [plugins/nodebb-plugin-42] staticDir is deprecated, define CSS files with new staticDirs instead. info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-imgbed info: [plugins] Loaded plugin: nodebb-plugin-imgbed info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-dailymotion info: [plugins] Loaded plugin: nodebb-plugin-dailymotion info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-linkcheck info: [plugins] Loaded plugin: nodebb-plugin-linkcheck info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-mentions info: [plugins] Hook registered: action:post.save will call nodebb-plugin-mentions info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-mentions info: [plugins] Loaded plugin: nodebb-plugin-mentions info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-youtube info: [plugins] Loaded plugin: nodebb-plugin-youtube info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-spotify info: [plugins] Loaded plugin: nodebb-plugin-spotify info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-twitter info: [plugins] Hook registered: filter:header.build will call nodebb-plugin-twitter info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-twitter info: [plugins] Loaded plugin: nodebb-plugin-twitter info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-emoji info: [plugins] Loaded plugin: nodebb-plugin-emoji info: [plugins] Hook registered: filter:auth.init will call nodebb-plugin-sso-twitter info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-sso-twitter info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-sso-twitter info: [plugins] Loaded plugin: nodebb-plugin-sso-twitter info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-rss info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-rss info: [plugins] Hook registered: action:plugin.activate will call nodebb-plugin-rss info: [plugins] Hook registered: action:plugin.deactivate will call nodebb-plugin-rss info: [plugins] Hook registered: action:config.set will call nodebb-plugin-rss info: [plugins] Loaded plugin: nodebb-plugin-rss info: [plugins] Hook registered: filter:auth.init will call nodebb-plugin-sso-facebook info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-sso-facebook info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-sso-facebook info: [plugins] Loaded plugin: nodebb-plugin-sso-facebook info: [plugins] Hook registered: filter:auth.init will call nodebb-plugin-sso-google info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-sso-google info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-sso-google info: [plugins] Loaded plugin: nodebb-plugin-sso-google info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-soundcloud info: [plugins] Loaded plugin: nodebb-plugin-soundcloud info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-twitter-hashtag info: [plugins] Loaded plugin: nodebb-plugin-twitter-hashtag info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-desktop-notifications info: [plugins] Loaded plugin: nodebb-plugin-desktop-notifications info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-buzzer info: [plugins] Hook registered: action:app.load will call nodebb-plugin-buzzer info: [plugins] Loaded plugin: nodebb-plugin-buzzer info: [plugins] Hook registered: filter:post.parse will call nodebb-plugin-markdown info: [plugins] Hook registered: filter:post.parseSignature will call nodebb-plugin-markdown info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-markdown info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-markdown info: [plugins] Hook registered: action:plugin.activate will call nodebb-plugin-markdown info: [plugins] Hook registered: action:config.set will call nodebb-plugin-markdown info: [plugins] Loaded plugin: nodebb-plugin-markdown info: [plugins] Hook registered: action:app.load will call nodebb-plugin-42 info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-42 info: [plugins] Hook registered: filter:header.build will call nodebb-plugin-42 info: [plugins] Hook registered: filter:footer.build will call nodebb-plugin-42 info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-42 info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-42 info: [plugins] Loaded plugin: nodebb-plugin-42 info: [plugins] Sorting hooks to fire in priority sequence info: [plugins] Plugins OK info: [nodebb-plugin-42] initializing info: NodeBB attempting to listen on: 127.0.0.1:4567 error: NodeBB address in use, exiting...´
-
@pablo-macaluso Maybe there is a lost instance of nodebb blocking the port? try
pidof node
andps PID
where PID is the result of the first command. If within the 'COMMAND' column sth is likenode app
you may kill that processkill PID
-
capitansupositorio@foro:~/mynodebb$ pidof node capitansupositorio@foro:~/mynodebb$ ps PID ERROR: Unsupported option (BSD syntax) ********* simple selection ********* ********* selection by list ********* -A all processes -C by command name -N negate selection -G by real group ID (supports names) -a all w/ tty except session leaders -U by real user ID (supports names) -d all except session leaders -g by session OR by effective group name -e all processes -p by process ID T all processes on this terminal -s processes in the sessions given a all w/ tty, including other users -t by tty g OBSOLETE -- DO NOT USE -u by effective user ID (supports names) r only running processes U processes for specified users x processes w/o controlling ttys t by tty *********** output format ********** *********** long options *********** -o,o user-defined -f full --Group --User --pid --cols --ppid -j,j job control s signal --group --user --sid --rows --info -O,O preloaded -o v virtual memory --cumulative --format --deselect -l,l long u user-oriented --sort --tty --forest --version -F extra full X registers --heading --no-heading --context ********* misc options ********* -V,V show version L list format codes f ASCII art forest -m,m,-L,-T,H threads S children in sum -y change -l format -M,Z security data c true command name -c scheduling class -w,w wide output n numeric WCHAN,UID -H process hierarchy capitansupositorio@foro:~/mynodebb$ kill PID -bash: kill: PID: arguments must be process or job IDs
-
what does
netstat -plten |grep 4567
give you?
-
capitansupositorio@foro:~/mynodebb$ netstat -plten |grep 4567 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:4567 0.0.0.0:* LISTEN 1000 3598904 6267
-
okay
kill 6267
and start nodebb -
@psychobunny Says me this: ``-bash: kill: (6267) - No such process`
-
NodeBB address in use, exiting...´
Just reboot the whole server and start nodebb back up and see what happens.
-
@trevor can u explain me? And how to make backup
-
I did it. When i try to start nodebb says this
info: Initializing NodeBB v0.3.2 info: * using redis store at 127.0.0.1:6379 info: * using themes stored in: /home/capitansupositorio/mynodebb/node_modules warn: You have no redis password setup! warn: [plugins/nodebb-plugin-dailymotion] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-dailymotion] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-linkcheck] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-linkcheck] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-youtube] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-youtube] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-twitter] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-emoji] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-emoji] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-sso-twitter] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-rss] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-sso-facebook] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-sso-google] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-twitter-hashtag] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-twitter-hashtag] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-soundcloud] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-soundcloud] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-desktop-notifications] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-buzzer] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-buzzer] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-42] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-42] staticDir is deprecated, define CSS files with new staticDirs instead. info: NodeBB attempting to listen on: 127.0.0.1:4567 error: NodeBB address in use, exiting...
-
capitansupositorio@foro:~/mynodebb$ forever stop 0 info: Forever stopped process: data: uid command script forever pid logfile uptime [0] Rev1 /usr/bin/nodejs app.js 1490 7582 /home/capitansupositorio/.forever/Rev1.log 0:0:0:1.83
-
@Pablo-Macaluso When I mean reboot, I mean turning the server off and back on again using the "reboot" command. You, have, another instance running...
-
@trevor i do it ... I don't know what to do now.
-
Login via SSH.
Go to your NodeBB directory.
Typenode app
Paste the output it gives you.And we can go from there since there should be no zombie or hanging processes running we can really see what's going on here since nothing else worked for you regarding the forever commands. I only had you restart your server because I'm sure you are eager to get your site back up and running so this was a more a dire approach. Its usually rare but its what I do if this happens and I've followed all of the steps above.
-
node app
Here we go
capitansupositorio@foro:~/mynodebb$ node app info: NodeBB v0.3.2 Copyright (C) 2013 DesignCreatePlay Inc. info: This program comes with ABSOLUTELY NO WARRANTY. info: This is free software, and you are welcome to redistribute it under certain conditions. info: info: Time: Mon Feb 17 2014 02:39:13 GMT+0000 (UTC) info: Initializing NodeBB v0.3.2 info: * using redis store at 127.0.0.1:6379 info: * using themes stored in: /home/capitansupositorio/mynodebb/node_modules warn: You have no redis password setup! warn: [plugins/nodebb-plugin-dailymotion] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-dailymotion] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-linkcheck] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-linkcheck] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-youtube] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-youtube] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-twitter] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-emoji] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-emoji] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-sso-twitter] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-rss] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-sso-facebook] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-sso-google] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-twitter-hashtag] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-twitter-hashtag] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-soundcloud] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-soundcloud] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-desktop-notifications] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-buzzer] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-buzzer] staticDir is deprecated, define CSS files with new staticDirs instead. warn: [plugins/nodebb-plugin-42] staticDir is deprecated, use staticDirs instead warn: [plugins/nodebb-plugin-42] staticDir is deprecated, define CSS files with new staticDirs instead. info: NodeBB attempting to listen on: 127.0.0.1:4567 info: NodeBB Ready /home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:196:18) at js_error (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:204:11) at croak (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:663:9) at token_error (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:671:9) at unexpected (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:677:9) at semicolon (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:697:43) at simple_statement (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:871:73) at /home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:744:19 at /home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:710:24 at block_ (/home/capitansupositorio/mynodebb/node_modules/uglify-js/lib/parse.js:984:20)
-
Still the same thing, i dont know.
If my forum stills down, im going to change it ... 3 days off