500 Internal Server Error on Multiple Pages
Added by Cedric Wienold about 14 years ago
First, as per the sticky, my system info:
$ ruby --versionruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]$ rails --versionRails 2.3.12$ mysql --versionmysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1$ apache2 -vServer version: Apache/2.2.14 (Ubuntu)Server built: Sep 1 2011 09:45:41
# RAILS_ENV=production script/aboutAbout your application's environmentRuby version 1.9.2 (i686-linux)RubyGems version 1.3.7Rack version 1.1.2Rails version 2.3.11Active Record version 2.3.11Active Resource version 2.3.11Action Mailer version 2.3.11Active Support version 2.3.11Application root /var/www/redmine-1.2.1Environment productionDatabase adapter mysqlDatabase schema version 20110511000000
The problem
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?
Thank you.
Replies (7)
RE: 500 Internal Server Error on Multiple Pages
-
Added by Cedric Wienold about 14 years ago
Just noticed there's a discrepancy between rails --version and script/about in the version numbers. Could this be causing my problems somehow?
RE: 500 Internal Server Error on Multiple Pages
-
Added by Etienne Massip about 14 years ago
Yes, but likely less than the discrepancy between Ruby versions, Ruby 1.9 is not supported by RM right now.
RE: 500 Internal Server Error on Multiple Pages
-
Added by Cedric Wienold about 14 years ago
ruby -v shows that Ruby 1.8.7 is currently installed. Why is script/about confused about this?
RE: 500 Internal Server Error on Multiple Pages
-
Added by Etienne Massip about 14 years ago
Because it says "Ruby version 1.9.2 (i686-linux)".
RE: 500 Internal Server Error on Multiple Pages
-
Added by Cedric Wienold about 14 years ago
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?
RE: 500 Internal Server Error on Multiple Pages
-
Added by Cedric Wienold about 14 years ago
Update: Did `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?
RE: 500 Internal Server Error on Multiple Pages
-
Added by Etienne Massip about 14 years ago
I don't know anything about RVM, sorry.