Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Clean install on CentOS 7 - 502 proxy error

Clean install on CentOS 7 - 502 proxy error

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)

RE: Clean install on CentOS 7 - 502 proxy error - Added by Oliver Günther over 6 years ago

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

RE: Clean install on CentOS 7 - 502 proxy error - Added by Snow Dog over 6 years ago

I think you mean /var/log/openproject 
The production.log only shows this repeating every 10-20 seconds:

W, [2019-01-03T10:52:22.479093 #21135]  WARN -- : hook registered
W, [2019-01-03T10:52:23.811580 #21135]  WARN -- : Creating scope :order_by_name. Overwriting existing method Sprint.order_by_name.

The only other file in the log folder with content is a cron-clear-old-sessions.log file that mentions enabling utf-8.

Thanks.

RE: Clean install on CentOS 7 - 502 proxy error - Added by Oliver Günther over 6 years ago

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 the openproject configure  execution however)

Best,

Oliver

RE: Clean install on CentOS 7 - 502 proxy error - Added by Andreas Theo over 6 years ago

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.

RE: Clean install on CentOS 7 - 502 proxy error - Added by ltao sera over 6 years ago

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

  • (1 - 5/5)
Loading...