@DownPW I see what you mean, yes. I thought you'd made a typo... 🙂
NodeBB Install on DigitalOcean Not Working
I have setup a new droplet on D.O. (Ubuntu) and installed all the requirements via the help from the docs and from here
I dumped my dump.rdb file into the root folder of nodebb and configured it so /etc/redis/redis.conf looks for the dump.rdb there.
Whenever I run
redis-serverit works with the normal 'warning no config redis.conf found'.
However, when I add
redis-server /etc/redis/redis.confit gives me a blank line and does not seem to work.
I setup nodebb using
./nodebb setupand added the IP provided by D.O. in the url settings, and defaulted everything else.
But, when going to the IP, it does not load at all.
Any help would be great
redis-server /etc/redis/redis.confto no success
Edit: I zipped up my local files and deployed it onto the Ubuntu server. Is this a proper way to do it? I have not changed any core codes at all.
Hm, there shouldn't really be any need to interact with Redis at all during installation.
A basic DO droplet can set up Redis just by running
sudo apt-get install redis-server -y
Then it is automatically started, reads the default config file at
/etc/redis/redis.conf, and loads the database at
No need to move the database anywhere, really.
@julian Thanks Julian, I wasn't able to stop the redis-server manually for (redis-cli shutdown?). I changed the path to where my current dump.rdb file was in
/etc/redis/redis.confbut for some reason I could not reload it with
I ended up uninstalling redis-server via
sudo apt-get remove redis-serverand reinstalled it again via
sudo apt-get install redis-serverand it pointed to my new dump.rdb file.
I think I'm slowly getting the hang of this!
I have installed nodebb on digitalocean. Installed successrfully . But unable to get it via any url using broswer..
Jamesreplied to Arindam sarkar on last edited by
@Arindam-sarkar remember: you need open firewall config for default nodebb port
Assuming you kept the default port setting, you need to allow it through the firewall.
firewall-cmd --zone=public --add-port=4567/tcp --permanent