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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Install in Centos WHM/cpanel

Install in Centos WHM/cpanel

Added by Jabed Shoeb almost 11 years ago

I tried to find an instruction to setup OpenProject in cpanel but found nothing. Anyone installed openproject in whm/cpanel?


Replies (4)

RE: Install in Centos WHM/cpanel - Added by Peter Verkooijen over 5 years ago

I am trying to do this right now. 5 years after this questions there is still almost no information on how to do this.

I have OpenProject installed on my CentOS 7 VPS. When I run 'sudo openproject run check' all is OK, except 'Web server is NOT running'.

Ruby apps like OpenProject need Phusion Passenger to run on Apache. Apache's Virtual Host needs to be edited to point the browser to the OpenProject app files; "deploy" the app.

Here are some instructions what it should look like if done manually:

https://www.phusionpassenger.com/library/deploy/apache/deploy/ruby/

But WHM/cPanel has its own ways to install Passenger and deploy Ruby apps, via EasyApache4. There are some instructions here:

https://www.liquidweb.com/kb/using-passenger-cpanel-centos-7/

And more confusing instructions here:

https://www.knownhost.com/wiki/developmental/ruby-rails-apps-cpanel

I think/hope I am nearing the end of this ordeal. I am now trying to configure the Virtual Host via Application Manager in cPanel:

https://blog.cpanel.com/cpanel-application-manager-and-app-deployment-101/

When I enter my details, I still get nothing in the browser.

Is Passenger actually installed? Following the Liquidweb instructions you can check with this:

scl enable ea-ruby24 'passenger-config validate-install'

That results in 'Everything looks good. :-)'. But when I try these commands:

passenger-status

Or

sudo passenger-status

I get 'command not found'.

And I still get 'Web server is NOT running'. Does that error mean Passenger is not running? Or does it just mean that I entered the wrong application address in cPanel's Application Manager?

Where the hell are the application files anyway? I see there is a /home/openproject folder on my server, but it only has a few weird files in it. Should I point Application Manager somewhere else?

RE: Install in Centos WHM/cpanel - Added by Ukamaka Azikiwe about 5 years ago

I think you're engaged in an uphill battle here. Openproject is not really meant to be run through Ruby directly, like lets say Redmine is meant to. It's meant to be installed through its packages or Docker.  You're better off getting a dedicated VM to run Openproject, or a different machine to run Docker containers and OPJ being one of them.

If you insist on plowing through, you'll need to use cPanel's Apache to reverse proxy to OPJ's Unicorn http server. I'm not sure if cPanel supports reverse proxy through its UI however, so you'd probably need to do it manually and risk further problems with cPanel changing anything in the future.

RE: Install in Centos WHM/cpanel - Added by Peter Verkooijen about 5 years ago

Thanks Ukamaka Azikiwe. I am not going to get a dedicated VM. I want my project management tool to run in a subfolder of my company website, just like a few other business applications I have. If OpenProject can't do that, that is a deal breaker - and I am annoyed that the documentation does not make this clear. I have already moved on.

RE: Install in Centos WHM/cpanel - Added by Ukamaka Azikiwe about 5 years ago

The URL structure isn't really dictated by OpenProject but there is some overlap, but for simplicity sakes you'd be able to run openproject as a subdomain of your company website, such as openproject.companywebsite.com.

None the less, you're missing out on not using OpenProject as it's one of the best PM platforms I've encountered and well worth even the Enterprise pricing.

Peter Verkooijen wrote:

Thanks Ukamaka Azikiwe. I am not going to get a dedicated VM. I want my project management tool to run in a subfolder of my company website, just like a few other business applications I have. If OpenProject can't do that, that is a deal breaker - and I am annoyed that the documentation does not make this clear. I have already moved on.

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