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

Openproject - Apache + Passenger

Added by Peter Thompson over 8 years ago

I’m trying to get the open project app to start on boot. For this reason I followed this guide https://community.openproject.org/topics/576?board_id=9 (and tried a couple of others aswell) to install apache + passenger.

My problem is that the app wont start on apache restart (with sudo service apache2 restart) but it will start with the command ‘passenger start’. My virtual host file:

<VirtualHost *:80>
ServerName domain.com
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /home/openproject/openproject/public
<Directory /home/openproject/openproject/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>

Passenger log:

[ 2014-11-21 13:39:20.5600 3559/7f539284f740 apache2/Hooks.cpp:1303 ]: Initializing Phusion Passenger...
[ 2014-11-21 13:39:20.5632 3562/7fec64602740 agents/Base.cpp:1591 ]: Random seed: 1416573560
[ 2014-11-21 13:39:20.5632 3562/7fec64602740 agents/Watchdog/Main.cpp:698 ]: Starting Watchdog...
[ 2014-11-21 13:39:20.5633 3562/7fec64602740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/home/openproject/.rvm/gems/ruby-2.1.0/wrappers/ruby', 'default_user' => 'nobody', 'log_level' => '3', 'max_pool_size' => '6', 'passenger_root' => '/home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53', 'passenger_version' => '4.0.53', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.53', 'web_server_pid' => '3559', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2014-11-21 13:39:20.5703 3566/7fc738409740 agents/Base.cpp:1591 ]: Random seed: 1416573560
[ 2014-11-21 13:39:20.5703 3566/7fc738409740 agents/HelperAgent/Main.cpp:643 ]: Starting PassengerHelperAgent...
[ 2014-11-21 13:39:20.5749 3566/7fc738409740 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.3559/generation-0/request
[ 2014-11-21 13:39:20.5837 3576/7ffac78f3780 agents/Base.cpp:1591 ]: Random seed: 1416573560
[ 2014-11-21 13:39:20.5848 3576/7ffac78f3780 agents/LoggingAgent/Main.cpp:333 ]: Starting PassengerLoggingAgent...
[ 2014-11-21 13:39:20.5856 3576/7ffac78f3780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.3559/generation-0/logging
[ 2014-11-21 13:39:20.5892 3562/7fec64602740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[ 2014-11-21 13:39:20.9005 2132/7f27ef24a780 agents/LoggingAgent/LoggingServer.h:752 ]: Flushing all sinks
[ 2014-11-21 13:39:22.0002 2123/7f79effba700 Pool2/Pool.h:837 ]: Analytics collection time...
[ 2014-11-21 13:39:23.0347 2123/7f79effba700 Pool2/Pool.h:943 ]: Analytics collection done; next analytics collection in 4.965 sec
[ 2014-11-21 13:39:23.5331 3542/7f476c0e5700 Pool2/Pool.h:837 ]: Analytics collection time...
[ 2014-11-21 13:39:23.5336 3542/7f476c0e5700 Pool2/Pool.h:943 ]: Analytics collection done; next analytics collection in 4.466 sec
[ 2014-11-21 13:39:23.5755 3566/7fc7383f6700 Pool2/Pool.h:837 ]: Analytics collection time...
[ 2014-11-21 13:39:23.5759 3566/7fc7383f6700 Pool2/Pool.h:943 ]: Analytics collection done; next analytics collection in 4.424 sec
[ 2014-11-21 13:39:24.5180 2132/7f27ef24a780 agents/LoggingAgent/Main.cpp:344 ]: Logging agent exiting with code 0.
[ 2014-11-21 13:39:24.5197 2123/7f79effcd740 agents/HelperAgent/Main.cpp:606 ]: It's now 5 seconds after all clients have disconnected. Proceeding with graceful exit.
[ 2014-11-21 13:39:24.5197 2123/7f79effcd740 agents/HelperAgent/Main.cpp:507 ]: Shutting down helper agent...
[ 2014-11-21 13:39:24.5203 2123/7f79effcd740 agents/HelperAgent/Main.cpp:514 ]: Destroying application pool...
[ 2014-11-21 13:39:24.5208 2123/7f79effcd740 agents/HelperAgent/Main.cpp:543 ]: All threads have been shut down.
[ 2014-11-21 13:39:24.5211 2123/7f79effcd740 agents/HelperAgent/Main.cpp:660 ]: Helper agent exiting with code 0.
[ 2014-11-21 13:39:24.5323 3532/7fc0b839d740 agents/Watchdog/Main.cpp:388 ]: All Phusion Passenger agent processes have exited. Forcing all subprocesses to shut down.
[ 2014-11-21 13:39:24.5324 3532/7fc0b839d740 agents/Watchdog/Main.cpp:390 ]: Sending SIGTERM
[ 2014-11-21 13:39:25.5326 3532/7fc0b839d740 agents/Watchdog/Main.cpp:395 ]: Sending SIGKILL
[ 2014-11-21 13:39:25.5341 3542/7f476c0a4700 Pool2/Pool.h:684 ]: Garbage collection time...
[ 2014-11-21 13:39:25.5342 3542/7f476c0a4700 Pool2/Pool.h:733 ]: Garbage collection done; next garbage collect in 300.000 sec
[ 2014-11-21 13:39:25.5404 3547/7fceb896a780 agents/LoggingAgent/LoggingServer.h:752 ]: Flushing all sinks
[ 2014-11-21 13:39:25.5416 3547/7fceb896a780 agents/LoggingAgent/Main.cpp:344 ]: Logging agent exiting with code 0.
[ 2014-11-21 13:39:25.5444 3542/7f476c0f8740 agents/HelperAgent/Main.cpp:606 ]: It's now 5 seconds after all clients have disconnected. Proceeding with graceful exit.

It seems to start passenger and then simply dieing?

I ran out of ideas what to do so any help is apreciated


Replies (3)

RE: Openproject - Apache + Passenger - Added by Peter Thompson over 8 years ago

bump

RE: Openproject - Apache + Passenger - Added by Igor Vitorac over 8 years ago

Are you loading passenger_module from httpd conf?

Regards,
Igor

RE: Openproject - Apache + Passenger - Added by Peter Thompson over 8 years ago

I put LoadModule passenger_module /home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53/buildout/apache2/mod_passenger.so

into /etc/apache2/mods-enabled/passenger.load which is included into apache.conf
I tried putting it inside httpd.conf aswell and got the same result.

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