Internal Error Under Users Page
Added by Seckin Aktas almost 8 years ago
Hi,
When I click to save, I take "internal error" under http://myfqdn/redmine/users/edit page
I have following error in production.log
Started GET "/redmine/users/531" for 172.18.140.18 at 2017-02-06 13:37:42 +0300
Processing by UsersController#show as HTML
Parameters: {"id"=>"531"}
Current user: seckin.aktas (id=531)
Rendered users/show.html.erb within layouts/base (101.6ms)
Completed 200 OK in 209ms (Views: 115.8ms | ActiveRecord: 29.5ms)
Started GET "/redmine/users/531/edit" for 172.18.140.18 at 2017-02-06 13:37:55 +0300
Processing by UsersController#edit as HTML
Parameters: {"id"=>"531"}
Current user: seckin.aktas (id=531)
Rendered plugins/redmine_digest/app/views/account_settings/_settings_2x.html.erb (1.8ms)
Rendered plugins/redmine_landing_page/app/views/users/_landing_page.html.erb (0.4ms)
Rendered users/_mail_notifications.html.erb (48.8ms)
Rendered users/_preferences.html.erb (25.1ms)
Rendered users/_form.html.erb (86.3ms)
Rendered users/_general.html.erb (87.5ms)
Rendered users/_groups.html.erb (7.9ms)
Rendered principal_memberships/_index.html.erb (298.7ms)
Rendered users/_memberships.html.erb (299.1ms)
Rendered common/_tabs.html.erb (396.5ms)
Rendered users/edit.html.erb within layouts/admin (399.9ms)
Rendered admin/_menu.html.erb (4.2ms)
Rendered layouts/base.html.erb (29.3ms)
Completed 200 OK in 443ms (Views: 431.9ms | ActiveRecord: 6.1ms)
Started PATCH "/redmine/users/531" for 172.18.140.18 at 2017-02-06 13:38:05 +0300
Processing by UsersController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KaL/dY5t2nARw3achYyxod7M6nlijTPovob0jv7YcspmWiBio9kQW29IpZGLxWt46USpHafXpweRyfOll4E6Xg==", "user"=>{"login"=>"seckin.aktas", "firstname"=>"Seckin", "lastname"=>"Aktas", "mail"=>"xxxx", "language"=>"tr", "digest_account_attributes"=>{"active"=>"1", "id"=>"61"}, "landing_page"=>"", "auth_source_id"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "generate_password"=>"[FILTERED]", "must_change_passwd"=>"0", "mail_notification"=>"only_my_events", "notified_project_ids"=>[""]}, "pref"=>{"no_self_notified"=>"0", "hide_mail"=>"1", "time_zone"=>"Istanbul", "comments_sorting"=>"asc", "warn_on_leaving_unsaved"=>"1"}, "commit"=>"Kaydet", "id"=>"531"}
Current user: seckin.aktas (id=531)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 3.0ms)
ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):
lib/redmine/safe_attributes.rb:84:in `safe_attributes='
app/controllers/users_controller.rb:135:in `update'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
and Redmine information:
Environment:
Redmine version 3.2.5.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.7.1
Environment production
Database adapter Mysql2
SCM:
Git 2.1.4
Filesystem
Redmine plugins:
localizable 0.4.0
recurring_tasks 2.0.0-pre
redmine_agile 1.4.2
redmine_didyoumean 1.2.0
redmine_digest 0.2.0
redmine_landing_page 0.1.1
redmine_ldap_sync 2.0.8.devel.g66b23e9cc3-dirty
redmine_timesheet_plugin 0.7.0
Thank you
Replies (4)
RE: Internal Error Under Users Page - Added by Alex Kolesnik almost 8 years ago
I've faced the same issue while updating user's email. Please, help!
Redmine 3.3.2.stable Default administrator account changed Attachments directory writable Plugin assets directory writable (./public/plugin_assets) RMagick available (optional) ImageMagick convert available (optional) Environment: Redmine version 3.3.2.stable Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu] Rails version 4.2.7.1 Environment production Database adapter Mysql2 SCM: Subversion 1.6.11 Git 1.7.1 Filesystem Redmine plugins: redmine_digest 0.2.0 redmine_preview_attach_column 0.1.7 redmine_release_notes 1.2.0 redmine_scm_hookhelpers 0.0.1 redmine_silencer 0.4.1 redmine_testlinklink 1.0.0 redmine_timesheet_plugin 0.7.0 redmine_work_time 0.3.3
RE: Internal Error Under Users Page - Added by Alex Kolesnik almost 8 years ago
Just found out it was due to redmine_digest plugin. After turning it off the issue has gone
RE: Internal Error Under Users Page - Added by Seckin Aktas almost 8 years ago
I already haven't digest plugin :(
Thank you
RE: Internal Error Under Users Page - Added by Seckin Aktas almost 8 years ago
people plugin resolve my problem