500 Internal Server Error on Multiple Pages
First, as per the sticky, my system info:
$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
$ rails --version
$ mysql --version
mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1
$ apache2 -v
Server version: Apache/2.2.14 (Ubuntu)
Server built: Sep 1 2011 09:45:41
# RAILS_ENV=production script/about
About your application's environment
Ruby version 1.9.2 (i686-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Application root /var/www/redmine-1.2.1
Database adapter mysql
Database schema version 20110511000000
I'm getting generic 500 Internal Server errors in a lot of places when I use the site. Log in as admin, check "My account", try to create a new user (but New Group works fine), Settings. Possibly more, but that's all I can find so far.
Any ideas where I can take this to solve the problem?
Just noticed there's a discrepancy between
rails --version and
script/about in the version numbers. Could this be causing my problems somehow?
Yes, but likely less than the discrepancy between Ruby versions, Ruby 1.9 is not supported by RM right now.
ruby -v shows that Ruby 1.8.7 is currently installed. Why is
script/about confused about this?
Because it says "Ruby version 1.9.2 (i686-linux)".
It says 1.9.2 because it's confused. I'm still wondering why it's actually confused. I set the default version to 1.8.7 via rvm, so why is the script believing it should be using 1.9.2?
`rvmsudo rvm remove 1.9.2` and
`about/script` is still looking for 1.9.2. Is there a way to specifically tell Redmine to look for 1.8.7 that I'm just missing?
I don't know anything about RVM, sorry.