[Solved] How to revert my theme selected
-
@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 -
Are you on latest? did you run git pull because it looks like this crash was fixed before https://github.com/designcreateplay/NodeBB/issues/946
-
Are you on latest? did you run git pull because it looks like this crash was fixed before
Yeah i did git pull ...
Already up-to-date. -
My problem its fixed. @psychobunny Thank you so much.
Close the topic!