Project

General

Profile

Actions

Defect #28190

closed

Apache passenger stopped work after upgrade passenger from 5.1.12 to 5.20

Added by Karen Arzumanyan about 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Administration
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

After upgrade Apache module Passenger from 5.1.12 to 5.2.0 Apache doesn't start properly and exit with the error

# apache2ctl configtest
Invalid command 'PassengerResolveSymlinksInDocumentRoot', perhaps misspelled or defined by a module not included in the server configuration

After comment string in Apache virtual host

# PassengerResolveSymlinksInDocumentRoot on
Apache starts but Redmine doesn't work showing listing directoty/files insted of main page(another words can't find index file)

OS: Ubuntu 14.04.5 LTS

PassengerResolveSymlinksInDocumentRoot
This option has been removed in 5.2.0 version according to
https://blog.phusion.nl/2018/01/29/passenger-5-2-0/

How to install instruction (https://www.redmine.org/projects/redmine/wiki/HowToInstallRedmineOnUbuntuServer) is incorrect now.
Detail: https://stackoverflow.com/questions/48623209/apache-passenger-stopped-work-after-upgrade-passenger-from-5-1-12-to-5-20

Actions #2

Updated by Karen Arzumanyan about 6 years ago

I resolve this problem with downgrade passenger version.

1) Uninstall new version:
apt-get remove -y passenger libapache2-mod-passenger

2) Install specific version:
sudo apt-get install passenger=1:5.1.12-1~trusty1
sudo apt-get install libapache2-mod-passenger=1:5.1.12-1~trusty1
sudo apt-get install passenger-dev=1:5.1.12-1~trusty1

3) Enaple apache module:
sudo a2enmod passenger

4) Restart apache:
sudo service apache2 restart

Actions #3

Updated by Go MAEDA about 4 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Closing because this is a third-party software issue.

Actions #4

Updated by Mark Anderson over 3 years ago

For folks who still come to this, PassengerAppRoot is the replacement command and should point to wherever the applications root is, e.g.

PassengerAppRoot /opt/redmine

Actions

Also available in: Atom PDF