Install Nodebb with Apache
-
@Tomasz-Piątek I don't know if the two are related, but it could be that it's not supposed to be installed there, @julian can confirm if this would make a difference/cause your issues.
It's also better to create a non root user with sudo priveliges. As root can modify certain aspects, that could cause issues.
-
@Tomasz-Piątek What guide did you follow to install? I recommend the official documentation as it contains all the info you need to set up and run nodebb error free.
-
@a_5mith I used https://docs.nodebb.org/en/latest/installing/os/ubuntu.html I try clean install when I finish work
-
@a_5mith I install as other user with su privileges, and still this same. http://188.226.241.129:4567/login
-
Can you run
./nodebb stop ./nodebb dev
and paste the output. Where did you install it?
-
@a_5mith I install in /home/nodebb/nodebb/ (nodebb is user)
dev output:
Launching NodeBB in "development" mode.
To run the production build of NodeBB, please use "forever".
More Information: https://github.com/NodeBB/NodeBB/wiki/How-to-run-NodeBB
info: NodeBB v0.4.3 Copyright (C) 2013-2014 NodeBB Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Tue Jun 24 2014 13:41:35 GMT+0000 (UTC)
info: Initializing NodeBB v0.4.3
info: * using configuration stored in: /home/nodebb/nodebb/config.json
info: * using redis store at 127.0.0.1:6379
info: * using themes stored in: /home/nodebb/nodebb/node_modules
info: Base Configuration OK.
info: [notifications.init] Registering jobs.
info: [user.startJobs] Registering User Jobs
info: Enabling 'trust proxy'
info: [plugins] Initializing plugins system
info: [themes] Using theme nodebb-theme-lavender
info: Middlewares loaded.
info: [plugins] Found 1 CSS file(s) for plugin nodebb-widget-essentialswarn: [plugins/nodebb-plugin-mentions] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
warn: [plugins/nodebb-plugin-mentions] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-plugin-mentions".info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-mentions
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-mentions
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-markdown
info: [plugins] Found 3 js file(s) for plugin nodebb-theme-lavender
info: [plugins] Loaded plugin: nodebb-widget-essentials
info: [plugins] Loaded plugin: nodebb-plugin-mentions
info: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
info: [plugins] Loaded plugin: nodebb-plugin-markdown
info: [plugins] Loaded plugin: nodebb-theme-lavender
info: [plugins] Sorting hooks to fire in priority sequence
info: [plugins] Plugins OK
info: [meta/css] Minifying LESS/CSS
info: [sounds] Sounds OK
info: [themes] Compiling templates
info: [themes] Successfully compiled templates.
info: NodeBB attempting to listen on: 188.226.241.129:4567
info: NodeBB is now listening on: 188.226.241.129:4567
info: [meta/css] Done.
info: [meta/js] Compilation complete
info: NodeBB Ready -
@Tomasz-Piątek Strange, same issue, post login aborts. :s
cd ~ redis-server --version
Should see v=x.x.x
What's there?
-
@Tomasz-Piątek Ok now we're getting somewhere.
sudo apt-get install -y python-software-properties sudo add-apt-repository -y ppa:rwky/redis sudo apt-get update sudo apt-get install -y redis-server
Then restart your server and start nodebb with
./nodebb start
. -
Make sure Redis is running by doing
cd ~ redis-server
Then go through the installation again by going to your nodebb folder and running
./nodebb setup
make sure you leave password blank, as redis doesn't use one by default.