Best posts made by eEight
-
RE: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED - since today!
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),
Cheers! -
RE: Question and Answer plugin for the registration form
Even with the captcha (btw spam-be-gone is not working with 0.5-pre) I had many spam registration. Hopefully this will fix this situation. It works with 0.5-pre!
Latest posts made by eEight
-
RE: Auto-delete unverified accounts
@julian maybe it's been implemented in 0.7.x, if not is it possible to run the command with redis-cli. Something like: find all "Not Validated" users -> delete.
Thanks
-
RE: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED - since today!
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),
Cheers! -
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
, butnodebb dev
can?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?
::UPDATE::
Starting withnodebb dev
works! 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...Thanks!
-
RE: notifications not working anymore in 0.5.4
@baris Thanks a bunch, it now works!
-
RE: notifications not working anymore in 0.5.4
127.0.0.1:6379> type notifications set
-
RE: notifications not working anymore in 0.5.4
Just did a "git pull" && nodebb upgrade. still not working.
Any ideas? -
notifications not working anymore in 0.5.4
Everything was running fine, but after upgrading to v0.5.4 from git branch v0.5.x = no more notifications when someone upvote a post or use the @username reply? how can I debug this?
thanks!
-
RE: Start NodeBB on system boot
Not sure why but the UpStart script from @julian is not launched at boot. I have to manually log and type
service nodebb start
then it works (launching nodebb with the right user & group). -
RE: Start NodeBB on system boot
@julian Looks like it's impossible to run nodebb with www-data (nginx user), because www-data doesn't have a "real" account. So I created an user
nodebb
and use your script in/etc/init/nodebb.conf
start on startup stop on runlevel [016] respawn setuid nodebb setgid nodebb script cd /srv/www/mywebsite/nodebb ./nodebb start end script
When booting my server = nodebb is not started. I have to do manually
service nodebb start
then it works. -
RE: Start NodeBB on system boot
@julian Not working for me. I'm using ubuntu. I tried your Upstart script with and without the
--no-daemon
, I can see the process listed but the forum is not started. With--no-daemon
it minified in infite loop.I am using nginx and user www-data
setuid www-data
is that a problem?su - www-data -c '/srv/www/mywebsite/nodebb/nodebb start' No directory, logging in with HOME=/ This account is currently not available.
well I created an user for nodebb, but the problem persist. I am not able to boot nodebb at startup.
i am wondering about the other proposed script, they will start nodebb with root!? is that ok?
it would be very nice to have a better documentation for this part on https://docs.nodebb.org/en/latest/running/index.html