some strange 500 error
Added by Steven Wong over 13 years ago
I open some user info occurs 500 error, and check the log as follows:
Started GET "/users/32" for 192.168.3.139 at Thu Aug 02 10:27:40 +0800 2012
Processing by UsersController#show as HTML
Parameters: {"id"=>"32"}
Completed 500 Internal Server Error in 42ms
ActiveRecord::SubclassNotFound (The single-table inheritance mechanism failed to locate the subclass: 'Subversion'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Repository.inheritance_column to use another column for that information.):
lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:82:in `find_events'
lib/redmine/activity/fetcher.rb:76:in `events'
lib/redmine/activity/fetcher.rb:75:in `each'
lib/redmine/activity/fetcher.rb:75:in `events'
lib/redmine/activity/fetcher.rb:74:in `each'
lib/redmine/activity/fetcher.rb:74:in `events'
app/controllers/users_controller.rb:68:in `show'
anyone could give me some advice? Thanks.
I used redmine 2.0.3 with rails 3.2.6
this is my enviroment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.7
Rack version 1.4
Rails version 3.2.6
JavaScript Runtime Node.js (V8)
Active Record version 3.2.6
Action Pack version 3.2.6
Active Resource version 3.2.6
Action Mailer version 3.2.6
Active Support version 3.2.6
Middleware
Rack::Cache
ActionDispatch::Static
Rack::Lock
#<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0xb7216800>
Rack::Runtime
Rack::MethodOverride
ActionDispatch::RequestId
Rails::Rack::Logger
ActionDispatch::ShowExceptions
ActionDispatch::DebugExceptions
ActionDispatch::RemoteIp
ActionDispatch::Callbacks
ActiveRecord::ConnectionAdapters::ConnectionManagement
ActiveRecord::QueryCache
ActionDispatch::Cookies
ActionDispatch::Session::CookieStore
ActionDispatch::Flash
ActionDispatch::ParamsParser
ActionDispatch::Head
Rack::ConditionalGet
Rack::ETag
ActionDispatch::BestStandardsSupport
OpenIdAuthentication
Application root /usr/local/redmine-2.0
Environment production
Database adapter mysql
Database schema version 20120627194945
Replies (5)
RE: some strange 500 error
-
Added by Steven Wong over 13 years ago
here is plugins list
Environment: Redmine version 2.0.3.stable.10150 Ruby version 1.8.7 (i686-linux) Rails version 3.2.6 Environment production Database adapter MySQL Redmine plugins: redmine_attachments_size 0.0.4 redmine_banner 0.0.7 redmine_ckeditor 0.1.0 redmine_code_review 0.5.0 redmine_extra_query_operators 0.1.1 redmine_information 1.0.1 redmine_inline_attach_screenshot 0.4.0 redmine_issue_extensions 0.2.0.1 redmine_issue_history_tabs 0.0.3 redmine_issue_priorities_per_tracker 0.0.1 redmine_issues_summary_graph 0.0.4 redmine_knowledgebase 2.1.1 redmine_lightbox 0.0.1 redmine_local_avatars 0.0.3-forked redmine_logs 0.0.4 redmine_monitoring_controlling 0.1.1 redmine_my_roadmaps 0.2.8 redmine_plugin_views_revisions 0.0.1 redmine_preview_attach_column 0.1.7 redmine_private_wiki 0.2.1 redmine_projects_accordion 0.0.1 redmine_reorder_links_arbitrary 0.0.7 redmine_smart_issues_sort 0.3.1 redmine_vividtone_my_page_blocks 1.2 (20120610) redmine_wiki_lists 0.0.0 redmine_work_time 0.2.2 redmine_xls_export 0.2.1 spent_time_required 0.0.1
RE: some strange 500 error
-
Added by Steven Wong almost 13 years ago
ehh
anyone has the same problem?
I updated it from 1.4 to 2.1, there's still contain the error.
RE: some strange 500 error
-
Added by Anonymous about 12 years ago
i have the same problem
need solution
RE: some strange 500 error
-
Added by Anonymous about 12 years ago
This may be very starnge, but its helps me (Redine 2.3.3):
1) go to redmine's database table 'repositories' (with any dbms management system)
2) update column type with "Repository::Subversion" instead of just "Subversion"
Profit!
RE: some strange 500 error
-
Added by Toshi MARUYAMA about 12 years ago
Alexandr Ivanov wrote:
This may be very starnge, but its helps me (Redine 2.3.3):
1) go to redmine's database table 'repositories' (with any dbms management system)
2) update column type with "Repository::Subversion" instead of just "Subversion"
This is done by "db migrate".
source:tags/2.0.4/db/migrate/20120422150750_change_repositories_to_full_sti.rb
It seems you forgot to run "db migrate".