[Solved] How to revert my theme selected
-
@julian
Do it:capitansupositorio@foro:~/mynodebb$ redis-cli hdel config theme:type (integer) 0 capitansupositorio@foro:~/mynodebb$ redis-cli hdel config theme:id (integer) 0 capitansupositorio@foro:~/mynodebb$ redis-cli hdel config theme:staticDir (integer) 1 capitansupositorio@foro:~/mynodebb$ redis-cli hdel config theme:templates (integer) 1 capitansupositorio@foro:~/mynodebb$
-
What about now? forever restart 0 ?
I still getting 502 error on gippy.com.ar -
yeah forever restart 0
-
@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...