Added by Eric Zhang about 9 years ago
tried following the Manual Installation Guide, but can’t get openproject running
echo "export SECRET_KEY_BASE="`./bin/rake secret`" >> ~/.profile
, this should be 'export SECRET_KEY_BASE="./bin/rake secret"'
, right?gem install passenger
,then got a error said something like “need ruby version >=2.2.2”. Should I install ruby version 2.2.2 or get a specific version of passenger?Invalid command 'ExpiresActive'
and AH00558: apache2: Could not reliably determine the server's fully qualified domain name
. Is this mean something wrong with apache installation?To surpass errors above, I install ruby version 2.2.2, comment code below @ # Request browser to cache assets, add
ServerName localhost@ to apache.conf. then when restart apache, I get a OK,but still get The Phusion Passenger application server encountered an error while starting your web application
when access the webpage
Replies (1)
Hi Eric,
Since there is more than one error, let me try to answer step by step.
1. you could also try to run
./bin/rake secret
and copy the output to your echo. It’s just important, that you exportSECRET_KEY_BASE="S0MeSecretHASH"
( To be honest: When I installed OpenProject manually, I did it that way. Some shells just work different with escape sequences etc..)
2. I have to admit, that this error is new to me, since I usually install Passenger from packages, because I use Nginx.
3.
apache2: Could not reliably determine the server's fully qualified domain name
is clearly an apache config issue. Nothing to REALLY worry about. But you could just tell apache WHAT exact domain name it is related to, then this error will disappear.Also to eliminate the “expiresActive” error, you will have to enable
mod_expires
in your Apache Config. This can be done by placing a symlink like thisn -s /etc/apache2/mods-available/expires.load /etc/apache2/mods-enabled/
on most linux/debian systems as root, or by configuring the apache2.conf (or httpd.conf) file to enable the module. See the Apache Documentation for more info.http://httpd.apache.org/docs/
Putting all these issues aside:
What’s the reason you decided to go for the manual install?
I used to go that way for a long time on a couple of different machines, but since 5.0.13 at least, you should be able to get a solid install from the packages even when ommitting mysql or apache installation.
Don’t hesitate to ask, if you need further assitance.
Best
Oliver