Should be fixed on lavender 1.0.1, if user didn't have a preference set in localStorage it was defaulting to fluid width whereas the template was starting with fixed width.barisusakli committed to NodeBB/nodebb-theme-lavender default to fixed width if not set in local storage
Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED - since today!
I am running nodebb for about 6 months. Today, it doesn't start anymore - I really need help on this one:
- running * v0.5.x
- with redis (redis-cli ping = pong)
- nodebb upgrade = no problem
- nodebb setup = no problem
- nodebb start:
2014-12-11T01:57:28.142Z - info: Time: Wed Dec 10 2014 20:57:28 GMT-0500 (EST) 2014-12-11T01:57:28.145Z - info: Initializing NodeBB v0.5.4 2014-12-11T01:57:28.145Z - info: * using configuration stored in: /srv/www/myforum/nodebb/config.json 2014-12-11T01:57:28.146Z - info: * using redis store at 127.0.0.1:6379 2014-12-11T01:57:28.146Z - info: * using themes stored in: /srv/www/myforum/nodebb/node_modules 2014-12-11T01:57:29.391Z - error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED at RedisClient.flush_and_error (/srv/www/myforum/nodebb/node_modules/redis/index.js:142:13) at RedisClient.on_error (/srv/www/myforum/nodebb/node_modules/redis/index.js:180:10) at Socket.<anonymous> (/srv/www/myforum/nodebb/node_modules/redis/index.js:95:14) at Socket.EventEmitter.emit (events.js:95:17) at net.js:441:14 at process._tickCallback (node.js:415:13) 2014-12-11T01:57:29.500Z - error: TypeError: Cannot read property 'loggerPath' of undefined at Object.Logger.setup (/srv/www/myforum/nodebb/src/logger.js:43:45) at Object.Logger.init (/srv/www/myforum/nodebb/src/logger.js:39:10) at /srv/www/myforum/nodebb/src/webserver.js:39:9 at Object.<anonymous> (/srv/www/myforum/nodebb/src/webserver.js:151:2) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17)
Why it cannot connect to Redis when
nodebb start, but
netstat -nlt | grep '3000\|6379' tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN
What can I do to start my forum?
nodebb devworks! I will run it like this in the meantime - I will be on #nodebb channel. I really need to find a solution for this problem...
It is now starting again. Sadly I am not sure at all what did the trick:
- remove manually the pidfile
- ./nodebb reset plugins (you need to reactivate them manually in the control panel)
I think the error related to redis was when the nodebb was running and I did a apt-get update of redis...
Thanks to KicStart for all the help on the IRC channel (on freenode #nodebb),
Parvan last edited by
I can confirm is was the pidfile for me. (For others: It's located in the root of your nodebb directory.)
I had restored from a backup and the pidfile was copied into the new directory.