Redmine on ubuntu 10.04
Added by Lars Fischer about 14 years ago
Hello,
I would like to install Redmine on an Ubuntu 10.04 LTS server using an own domain with a virtual host.
I followed the instructions on http://www.redmine.org/wiki/redmine/HowTo_Install_Redmine_in_Ubuntu#Ubuntu-104-using-Passenger:
- installed Redmine using apt-get and configured the database
- created a symlink from /var/www/redmine
- enabled mod_passenger and added PassengerDefaultUser
- created a new config file for the virtual host and activated it:
<VirtualHost *> ServerName redmine.mydomain.com DocumentRoot /var/www/redmine <Directory /var/www/redmine/> RailsEnv production RailsBaseURI /redmine Order allow,deny Allow from all </Directory> </VirtualHost>
When accessing the url "redmine.mydomain.com" I get all files of "/usr/share/redmine/public" listed.
I tried with configuration "RailsBaseURI /", but this ends up in the browser error:
Cannot start Ruby on Rails application The directory "/var/www" does not appear to be a valid Ruby on Rails application root.
Where is my mistake?
Regards,
Lars
Replies (4)
RE: Redmine on ubuntu 10.04
-
Added by Lars Fischer about 14 years ago
Hello,
the apache error log shows this message:
[Thu Aug 26 08:21:59 2010] [warn] No JkShmFile defined in httpd.conf. Using default /var/log/apache2/jk-runtime-status [Thu Aug 26 08:21:59 2010] [error] *** Passenger could not be initialized because of this error: The Passenger application pool server, '/var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/ApplicationPoolServerExecutable', does not exist. Please check whether the 'PassengerRoot' option is specified correctly.
And what stated is correct: there is no such "ApplicationPoolServerExecutable".
What path do I have to set as "PassengerRoot"?
The Ubuntu default configuration in passenger.conf was "/usr", which looks wrong to me and is also not working.
Regards,
Lars
RE: Redmine on ubuntu 10.04
-
Added by Felix Schäfer about 14 years ago
I think that is a configuration problem with your passenger and/or apache, please consult your distro-specific documentation or the the generic passenger configuration help.
RE: Redmine on ubuntu 10.04
-
Added by Lars Fischer about 14 years ago
Hello Felix,
sorry for the late response.
I tried some things and gave up. Now I run Debian squeeze and everything works fine.
I used this guide: http://madpropellerhead.com/random/20100820-installing-redmine-on-debian-with-apache
Regards,
Lars
RE: Redmine on ubuntu 10.04
-
Added by Arnis Juraga over 12 years ago
Be sure to set symlink to "<REDMINE-DIRECTORY>/public", like:
cd /var/www ln -s /opt/redmine/redmine-1.3.1/public redmine