Defect #28190
closedApache passenger stopped work after upgrade passenger from 5.1.12 to 5.20
0%
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
Updated by Karen Arzumanyan almost 7 years ago
Updated by Karen Arzumanyan almost 7 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
Updated by Go MAEDA almost 5 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Closing because this is a third-party software issue.
Updated by Mark Anderson over 4 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