Redmine website don't display, only show list of files in public directory
Added by Stefan Brannfjell over 12 years ago
Hello, I have installed redmine on my Debian 6.0.2 box with apache2 and passenger.
I thought installation was rather smooth, always got to the next step. (had minor compatibility problems with rake 0.9.x so had to downgrade to 0.8.7 and then it worked smooth again).
When I was done celebrating my great success on installing redmine, I figured i'd like to test it out. And well... Unfortunately I celebrated to early. :(
Anyone have any idea why I am not presented by a website at this point? :( Do I have to make an index file and build this myself?
I heard it might be a problem with passenger, tho I have failed to find any solution.
This is my first time using redmine, or ruby, rails, rake, passenger or any of those things so I have no idea what I have dug myself into, I have been following a pretty decent and easy step-by-step guide:
http://dl.dropbox.com/u/12304631/temp/Redmine_Installation_on_Debian.docx
Apache2 error:
[error] * Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/lib/phusion-passenger/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable.
[error] * Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/lib/phusion-passenger/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable.
EDIT:
Found the problem something was wrong with my apache2 virtual hosting. Now Passenger seem to get throught.
This fixed the issue:
<VirtualHost *:7051>
ServerName example.com
DocumentRoot /usr/local/lib/redmine-0.8/public
<Directory /usr/local/lib/redmine-0.8/public>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
However, now something else is odd, this is my error message from apache2/error.log:
/usr/local/lib/redmine-0.8/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
EDIT2:
Fixed by doing command "a2enmod rewrite" allowing mods to rewrite or something.
My new error message is "The requested URL /dispatch.cgi was not found on this server.".
Which is because I forgot to rename the sample. :p hehe. I hope I dont have to actually understand whats in the sample and just rename it. :X
EDIT3:
Renamed sample and now I get a problem with redmine_developement database was not created.
I edited database.yml file and just duplicated production connection details into development and that seems to work fine. Temporarily solution at least. Things seems to finally be spinning!
I am rather dissapointed by the redmine community, there is no activity on this forum, nobody are helpful here. :( I had higher expectations of you guys.