2

I updated ruby on my ubuntu box and since then redmine is down. My apache2.conf is as below

Include /etc/apache2/sites-enabled/
LoadModule passenger_module /usr/local/lib/ruby/gems/2.0.0/gems/passenger-5.0.23/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
     PassengerDefaultUser www-data
     PassengerRoot /usr/local/lib/ruby/gems/2.0.0/gems/passenger-5.0.23
     PassengerDefaultRuby /usr/local/bin/ruby
</IfModule>

sites-available/default is as below.

# redmine ###
    <Directory /var/www/redmine>
        RailsBaseURI /redmine
        PassengerResolveSymlinksInDocumentRoot on
    </Directory>

When I goto url/redmine I get a directory listing and redmine doesn't get started. Any pointers?

Diamond
  • 9,001
  • 3
  • 24
  • 38
kgunjikar
  • 133
  • 5
  • Anything in Apache error log? Is the updated passenger module getting loaded correctly? Have you checked the passenger module path and passenger root if they are correct? – Diamond Dec 31 '15 at 22:11
  • I got was getting the error "[warn] module passenger_module is already loaded, skipping" ..... So I ran install-passenger-apache2-module. Also, dispatch.fcgi had /usr/bin/ruby1.8 changed that to /usr/bin/ruby. Apache2 error.log shows Passenger started " 2015-12-31 14:10:56.3151 1146/b777da50 age/Ust/UstRouterMain.cpp:504 ]: Starting Passenger UstRouter..." – kgunjikar Dec 31 '15 at 22:19
  • Can you check the output of this pls: `sudo passenger-config validate-install` – Diamond Dec 31 '15 at 22:33
  • Everything looks good. :-) – kgunjikar Dec 31 '15 at 23:59
  • Looks like a rails problem. – kgunjikar Jan 04 '16 at 23:36

1 Answers1

0

Run 'passenger start' from your root Redmine directory. That'll tell you if Passenger is working correctly.

If that's working correctly, post the contents of your .htaccess file.

dstana
  • 285
  • 2
  • 10