Added by Snow Dog over 6 years ago
I've tried twice now with fresh new centos 7 installation and following the installation and configuration instructions on this site.
I am getting 502 Proxy error "error reading from remote server"
I get the error in a browser on the server itself (using both its FQDN and http://127.0.0.1/op) and from other hosts on the same subnet. The services all appear to be running.
I tried both using a subdir and the "root domain" in the different attempts - e.g., http://127.0.0.1 and http://127.0.0.1/op.
I've followed some other forum threads, but the paths and files are completely different between Cent and Ubuntu, so it's hard to "translate" between distro's.
Replies (5)
Could you check the access and error logs of the auto-installed apache to see where the requests ends up being stopped? Please also check the
/var/logs/openproject/*
logs folder for any output and attach it here.Best,
Oliver
I think you mean /var/log/openproject
The production.log only shows this repeating every 10-20 seconds:
The only other file in the log folder with content is a cron-clear-old-sessions.log file that mentions enabling utf-8.
Thanks.
Yes, thanks for correcting.
Continuously logging that line could hint at the server restarting. Do you have a
web-1.log
in the same directory? Otherwise, please try to spawn a console to see that, e.g., the database connection works correctly. (It should have resulted in an error during theopenproject configure
execution however)Best,
Oliver
We are getting the exact same error on an upgrade attempt and on clean install on the latest Centos 7
Seems to be an issue with Ruby.
I got same error in centos 7 and solved it by following command.
[root@BKC069]# lsof -wni tcp:6000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
X 4814 root 5u IPv6 35640 0t0 TCP *:x11 (LISTEN)
X 4814 root 6u IPv4 35641 0t0 TCP *:x11 (LISTEN)
[root@BKC069]# kill 4814
[root@BKC069]# openproject restart