Installing NodeBB on a VPS with dependencies installed is very easy. You need to type a few commands in the terminal. The skills you would need is almost same as ability to copy paste commands from available tutorial. Try Ubuntu as OS. Good luck.
Reinstalling NodeBB
-
I have a botched installation of NodeBB that gives me all sorts of errors.
How can I reinstall?
-
-
i have data to worry about
-
What errors are you encountering pls paste and we can try to help
-
@psychobunny I get this when I start or restart the forum
./nodebb: line 36: kill: (30458) - No such process
When I access via browser it gives:
{"error":"Failed to lookup view \"footer\""}
-
@anooxy there is a pidfile in the nodebb directory, delete that and start the app again, looks like your nodebb crashed but that file was left behind.
-
@baris Now I get this when opening via browse:
{"error":"Cannot find module './../../config.json'"}
Also I did a /nodebb setup (I know this was bad but I was desperate) and now I need to add the port to open my site. I tried to set as no for using port to no avail.
-
Are you running the app from the directory it is installed? Make sure you are in the same directory as app.js.
-
@baris yes I am, it started successfully, that error comes when I access my site.
-
Can you post the contents of your config.json, remove the secrets.
-
{ "base_url": "http://forums.onlinedigimon.com", "port": "4567", "use_port": false, "secret": ~~~, "bind_address": "188.226.217.248", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": ~~~, "database": "0" }, "bcrypt_rounds": 12, "upload_path": "/public/uploads", "relative_path": "" }
-
Alright your forum seems to be running because I can access http://forums.onlinedigimon.com:4567/api/home
Probably one of the plugins you installed is causing that
{"error":"Cannot find module './../../config.json'"}
error.Can you run the following commands to get a list of plugins that are active.
redis-cli smembers plugins:active
-
@baris There:
1) "nodebb-widget-essentials" 2) "nodebb-plugin-mentions" 3) "nodebb-plugin-markdown"
Thank you for bearing with me.
-
Try to remove widget essentials and restart. See if that gets rid of the error, if not try removing the other plugins.
srem plugins:active nodebb-widget-essentials
-
@baris No, nothing and this came up while restarting again:
./nodebb: line 36: kill: (30684) - No such process