Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • Support Installation & Updates

Content

Installation Guide for installing Openproject-CE on AWS AMI / CentOS 6.x with common bugfixes

Added by Shivanand Sharma almost 8 years ago

I have been using an old version of OpenProject very happily for our small-office. I even managed manually install OpenProject-CE v4. However I wanted to go to the packaged-installation (albeit fresh install). It works.

Note: But I’ll really appreciate if anyone can help me configure apache virtual host.

For anyone else struggling, here are the directions.

Installing OpenProject-ce on AWS AMI

sudo yum -y install httpd24 sudo yum -y install mysql-server sudo chkconfig httpd on sudo chkconfig mysqld on sudo service mysqld start sudo mysql_secure_installation sudo yum -y install memcached sudo service memcached start sudo chkconfig memcached on

Manually create openproject database, openproject mysql user/pass that you will use with the install

Install OpenProject4 CE
sudo rpm --import https://rpm.packager.io/key echo "[pkgr-openproject-community] name=Repository for finnlabs/pkgr-openproject-community application. baseurl=https://rpm.packager.io/gh/finnlabs/pkgr-openproject-community/centos6/stable enabled=1" | sudo tee /etc/yum.repos.d/pkgr-openproject-community.repo sudo yum -y install openproject-ce

You get the following error:
/var/tmp/rpm-tmp.lGDQuZ: line 18: addgroup: command not found error: %pre(openproject-ce-4.0.9-1427122816.6200c65.centos6.x86_64) scriptlet failed, exit status 127 Error in PREIN scriptlet in rpm package openproject-ce-4.0.9-1427122816.6200c65.centos6.x86_64

I couldn’t find a way to get the addgroup command working so I created a user and group manually. May be there’s a better way to do this (create a system user?)
sudo groupadd openproject sudo adduser openproject -g openproject sudo openproject-ce configure

Then you get the following error
@ LoadError: Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory - /opt/openproject-ce/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/mysql2-0.3.17/mysql2/mysql2.so)
@
Run the following to install the libraries:
sudo yum -y install mysql51-devel

There still is a long way before you can try and get it working in your browser. For now let’s verify if things actually work on teh server.
sudo yum -Y install lynx lynx http://localhost:6000

and voila it works, at least in lynx

Now try creating a virtual host in apache:

<VirtualHost *:80> ServerName mydomain.in # !!! Be sure to point DocumentRoot to 'public'! DocumentRoot /opt/openproject-ce/public <Directory /opt/openproject-ce/public> # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews # Uncomment this if you're on Apache >= 2.4: Require all granted </Directory> </VirtualHost>

Finally you try http://mydomain.in

Forbidden You don't have permission to access / on this server.

That’s as far as I have reached. Any help will be appreciated.


Replies (1)

RE: Installation Guide for installing Openproject-CE on AWS AMI / CentOS 6.x with common bugfixes - Added by Shivanand Sharma almost 8 years ago

Finally to get the thing to work on port 80 and having no way to get passenger to get working here’s the workaround:

<VirtualHost *:80>
ServerName myserver.com
# !!! Be sure to point DocumentRoot to ‘public’!
DocumentRoot /opt/openproject-ce/public
ProxyRequests off
ProxyPass / http://127.0.0.1:6000/ retry=0
ProxyPassReverse / http://127.0.0.1:6000/

# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
# Uncomment this if you’re on Apache >= 2.4:
Require all granted

If you are not able to send the test mail after openproject-ce configure edit the following file
/etc/openproject-ce/conf.d/smtp
and insert the following at the very end:
export SMTP_ENABLE_STARTTLS_AUTO=“true”

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