Defect #28190

Apache passenger stopped work after upgrade passenger from 5.1.12 to 5.20

Added by Karen Arzumanyan about 3 years ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Administration
Target version:-
Resolution:Invalid Affected version:3.2.1

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

History

#2 Updated by Karen Arzumanyan about 3 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

#3 Updated by Go MAEDA about 1 year ago

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

Closing because this is a third-party software issue.

#4 Updated by Mark Anderson 7 months 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

Also available in: Atom PDF