Thanks, There is no solution if im not mistaken, because i have no firewall issue.
Everything was working fine until 10-15 min later of setup.
I am getting error on GCP VPS but im not getting on digitalocean VPS.
That is really odd.
I spent a whole day yesterday creating a custom theme, yet today I came back to continue working on it and my whole NodeBB forum has 'gone'. The only screen that seems to be visible is the register page (see screenshot below)
I'm receiving no errors in the console, nor the terminal:
16/7 12:34  - info: Time: Thu Jul 16 2015 12:34:40 GMT+0100 (BST) 16/7 12:34  - info: Initializing NodeBB v0.7.0 16/7 12:34  - info: NodeBB Ready 16/7 12:34  - info: NodeBB is now listening on: 0.0.0.0:4567
Has anyone else experienced this? I have absolutely no idea what's going on as I haven't even touched any core files, just my own theme files. I've tried resetting the default theme with
./nodebb reset theme, as well resetting all plugins but I'm still facing the same issue.
I know the details of this post are somewhat brief, but hopefully someone can help?
After some further reading, I have a feeling this issue is related to redis. Am I right in saying I've lost all posts and settings on my forum because I didn't 'save' my key store from the redis server? I did a tutorial on their website, but I didn't see anything about this. Again, any help would be greatly appreciated.
Hi @Joel-Murphy , it does indeed sound like a redis persistence issue
Apply whatever method(s) you feel are right for your environment, and have fun
Wow that was a long read! haha.
So I now sort of understand the different backup methods in Redis. I'm only starting off small, so RDB will do for now as I don't need to perform data backups every single second.
I'm still a little unsure of where to go from here though. Have I lost all data of my NodeBB forum? I'm guessing I have, so I will need to backup the changes I've made to my theme and reinstall nodeBB again so the Redis datastore can be repopulated with the needed data?
Another question: once everything has been re-installed again, what is the proper procedure for backing up? I read in another topic on here that backups will be stored at
/var/lib/redis/dump.rdb. This directory doesn't seem to exist on my disk at the moment
-bash: cd: /var/lib/redis/: No such file or directory so will it be generated automatically after I enter a command such as:
save 60 1 within the redis-server terminal session?
Sorry about all the questions, I want to commit some time to learning this stuff but it's quite a big step from PHP development. If I understand this well enough, I'm willing to contribute by writing some guides, or maybe even a book on NodeBB. I have a degree in computer science but I never realised how technical nodeBB was until I started reading the docs and these forums thoroughly. It's amazing how helpful the community is on here
It sounds like Redis is being started without persistence. How did you install Redis, and how are you running it?
I think I've figured it out now. I had a limited knowledge about Redis earlier, so I decided to learn about it properly. I managed to backup the database by following this guide http://www.tutorialspoint.com/redis/redis_backup.htm if anyone else is stuck on the same thing as me.