Redmine 500 Internal Error on New Projects

apache-2.2redmine

I am adding new projects to Redmine after transitioning it to a new server. The projects appear to add correctly. I can also add new CRs and DRs. However, after they are added, I can't actually browse to them. For example:

http://redmine.mysite.com/projects/myproject/issues

Gives me an Internal error. Same with the Calendar, Gantt charts and backlog. The issues are apparently added, though, because I can see a list of all issues by going to:

http://redmine.mysite.com/issues

What is interesting is that I can still select the old issues and they work. The issues added to new projects do not work.

When I check my logs (both Apache and Redmine logs) there is no apparent problems being reported. I'm really not sure where to go next from here. Any suggestions?

Update for Apache Configuration

It looks like this:

LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9
PassengerRuby /usr/local/bin/ruby

<VirtualHost *:80>
  ServerName redmine.mysite.com
  ServerAdmin infrastructure@mysite.com
  DocumentRoot "/opt/redmine/latest/public"
  LogFormat "%h %l %u %t \"%r\" %>s %b" common
  LogLevel WARN
  ErrorLog "/var/log/httpd/redmine-error.log"
  CustomLog "/var/log/httpd/redmine-access.log" common

  <Directory /opt/redmine/latest/public>
    Options Indexes ExecCGI FollowSymlinks -MultiViews
    Order allow,deny
    Allow from all
    AllowOverride all
  </Directory>

  <Location />
    Include conf.d/auth_kerb.inc
    Require ldap-attribute objectclass=person
  </Location>
</VirtualHost>

Best Answer

Have you tried doing this ?

rake db:migrate RAILS_ENV=production