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. OpenProject on shared hosting

OpenProject on shared hosting

Added by Daniel Hornung about 7 years ago

Hi, this has been asked a few times already, but maybe there’s a solution now? I’d like to install OP on a shared hosting system (uberspace), so there’s no root access.

I’ve tried several instructions by other people, but none of them worked. I got as far as receiving an answer from the OP service running in the background, but it only serves the main html site, all linked files (css, js, images) only return 404. Any idea, hints or instructions how to archive an installation?


Replies (4)

RE: OpenProject on shared hosting - Added by Daniel Hornung about 7 years ago

For those interested, I set up a small repo with script which tries (and currently fails) to install OP on uberspace: https://github.com/quazgar/openproject_install

RE: OpenProject on shared hosting - Added by Oliver Günther about 7 years ago

Hi Daniel,

I had a look at your documentation, thanks for the effort to write this down somewhere. I’m looking into where we can reference this from our page so others can benefit from it.

Regarding your error: Your installation script specifies ruby 2.4.3, but the backtrace in https://github.com/quazgar/openproject_install suggests that actually ruby 2.5.0 is being installed and used, which is not yet supported due to various deprecations in it:

The issue you’re seeing is solved by updating delayed_job which we’ll do as soon as support for ruby 2.5. is done here:

https://github.com/opf/openproject/pull/6109

Related:
https://github.com/rails/rails/issues/30522
https://github.com/collectiveidea/delayed_job/blob/master/CHANGELOG.md

Best,
Oliver

RE: OpenProject on shared hosting - Added by Daniel Hornung about 7 years ago

Oliver Günther wrote:

I had a look at your documentation, thanks for the effort to write this down somewhere. I’m looking into where we can reference this from our page so others can benefit from it.

Most of it came from other people, I just created a bash script out of it. But I am happy to help!

Regarding your error: Your installation script specifies ruby 2.4.3, but the backtrace in https://github.com/quazgar/openproject_install suggests that actually ruby 2.5.0 is being installed and used, which is not yet supported due to various deprecations in it:

That backtrace was from when I tried to install it on a more bleeding edge version of the shared hosts, where CentOS7 is installed, IIRC. That was a first try, but if it worked there as well, everyone would profit from it of course.

RE: OpenProject on shared hosting - Added by Ashley Mike over 1 year ago

Here is the answere of your question :

Installing OpenProject (OP) on a shared hosting system like Uberspace without root access can be challenging due to the limitations of shared environments. However, it's still possible with some adjustments. Here's a step-by-step guide to help you install OpenProject on Uberspace:

Check Requirements:

  • Ensure your Uberspace account meets the minimum requirements for running OpenProject, including Ruby, RubyGems, Node.js, and a supported database like MySQL or PostgreSQL.

Download OpenProject:

  • Download the OpenProject package from the official website or GitHub repository to your local machine.

Prepare Uberspace Environment:

  • Log in to your Uberspace account via SSH.
  • Create a directory where you want to install OpenProject.
  • Set up a virtual environment for Ruby if it's not already available.

Install Dependencies:

  • Install required dependencies such as Ruby gems and Node.js packages using Bundler and npm.

Configure Database:

  • Set up a MySQL or PostgreSQL database on Uberspace for OpenProject.
  • Note down the database credentials as you'll need them during the installation process.

Configure OpenProject:

  • Navigate to the directory where you downloaded OpenProject.
  • Copy the config/database.yml.example file to config/database.yml and edit it with your database credentials.

Initialize Database:

  • Run the database migration and seed scripts to set up the database schema and initial data.

Compile Assets:

  • Compile the assets (CSS, JS) using the provided tools (e.g., Webpack, Yarn) to generate the necessary files for the frontend.

Start OpenProject:

  • Start the OpenProject service or web server using the provided command-line interface (CLI) tools.

Configure Web Server:

  • Configure your web server (e.g., Nginx, Apache) to serve OpenProject.
  • Create a virtual host configuration that points to the OpenProject installation directory.
  • Ensure that the web server has proper permissions to access the OpenProject files.

Test Installation:

  • Access OpenProject via your web browser using the domain or subdomain configured in your web server.
  • Verify that you can log in, create projects, and access the various features without any errors.

Troubleshoot Errors:

  • If you encounter any errors during the installation or configuration process, refer to the documentation, forums, or community resources for assistance.
  • Check log files for any error messages that can help diagnose the issue.

Regular Maintenance:

  • Keep your OpenProject installation and dependencies up to date by applying patches and updates as they become available.
  • Monitor system performance and address any issues promptly to ensure smooth operation.

Keep in mind that running OpenProject on a shared hosting environment may have limitations compared to dedicated servers or cloud instances, particularly in terms of performance and resource availability. However, with proper configuration and optimization, you can still use OpenProject effectively for project management on Uberspace.

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