fulcrum-agile / fulcrum

An agile project planning tool
http://wholemeal.co.nz/projects/fulcrum.html
GNU Affero General Public License v3.0
1.5k stars 350 forks source link

Fulcrum with apache mod_passenger #244

Closed surfer190 closed 9 years ago

surfer190 commented 9 years ago

Using Apache and mod_passenger to host, gives:

500 Internal Service Error

on route:

/users/sign_in

Error Message is:

We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.

Nothing in logs.

Works with rails s.

Any ideas on how to debug?

surfer190 commented 9 years ago

Apparently, you need this in sites-available/fulcrum-conf:

RailsEnv development

then

sudo service apache2 reload

Full vhost file:

<VirtualHost *:80>
        ServerAdmin admin@localhost
        ServerName fulcrum.local
        #RailsEnv production
        RailsEnv development
        DocumentRoot /var/www/fulcrum/public
        <Directory /var/www/fulcrum/public>
                AllowOverride All
                Options -MultiViews
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/fulcrum-error.log
        CustomLog ${APACHE_LOG_DIR}/fulcrum-access.log combined
</VirtualHost>

RailsEnv production doesn't work for me...