Added by Markus M over 9 years ago
Hi,
I am new to openproject and installed it the first time on my server running debian 8.2 using the package installation guide. After I switched to systemd and rebootet, everything looked fine except the fact that I get an 502 error when I want to access the webinterface via apache webserver.
I enabled the apache-error loggin within the /etc/apache2/sites-enabled/openproject.conf to find out what’s going on an found:
connect_to : unknown host (Name or service not known) [Sun Dec 13 11:42:56.392544 2015] [proxy_http:error] [pid 6450] (20014)Internal error: [client 80.109.199.135:57272] AH01102: error reading status line from remote server 127.0.0.1:6000 [Sun Dec 13 11:42:56.392705 2015] [proxy:error] [pid 6450] [client 80.109.199.135:57272] AH00898: Error reading from remote server returned by /
According to the apache config all requests will be forwarded to http://127.0.0.1:6000 and I guess this should be the port where the application server (unicorn) should listen on … am I right?
If yes and I check my ports via “netstat -tulpn” I don’t see anything using the port 6000, so I guess unicorn is not running. Any ideas what might be the problem?
Thanks,
Max
Replies (3)
No one?
Does anyone know how to start/stop openproject? And I don’t need the restart of the apache webserver.
Thanks,
Max
OK, I didn’t have much time to work on my problem but found out today that unicorn was not started because it was not enabled via /etc/default/unicorn.
To enable it you have to set “CONFIGURED=yes”. This was easy but I also have to set a valid parameter for APP_ROOT (default is “/path/to/your/web/application”) and don’t know what that would be for openproject?
Any Ideas?
Thanks,
Max
I finally managed to run/start openoffice. Shutting it down and starting it did the job:
openproject scale web=0 worker=0; openproject scale web=1 worker=1
Max