Content
You are here:
[solved]Trying to change user password -> Internal error
Added by Bernd Müller over 8 years ago
Hi!
I try to change the password for a user. When I try to do so I get following error
Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your OpenProject administrator for assistance. If you are the OpenProject administrator, check your log files for details about the error.
log say following:
I, [2016-07-22T11:22:23.418576 #25276] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"7rdT/qR65lkvQeNx0uBTRYHmI7BnP5KFWc3RFFBk8RIob5laJk6fqYefXuRNuPJQ+aY4grp30IcY8x0OSei4/Q==", "user"=>{"login"=>"tm", "firstname"=>"Thomas", "lastname"=>"Molden", "mail"=>"t.molden@moldenmedia.de", "language"=>"en", "admin"=>"0", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "force_password_change"=>"[FILTERED]", "mail_notification"=>"only_my_events"}, "pref"=>{"impaired"=>"0", "time_zone"=>"Berlin", "comments_sorting"=>"asc", "theme"=>"default", "warn_on_leaving_unsaved"=>"1"}, "self_notified"=>"1", "send_information"=>"1", "button"=>"", "id"=>"46"} I, [2016-07-22T11:22:23.710978 #25276] INFO -- : Rendered user_mailer/account_information.html.erb within layouts/user_mailer (62.5ms) I, [2016-07-22T11:22:23.768988 #25276] INFO -- : Rendered user_mailer/account_information.text.erb within layouts/user_mailer (2.5ms) I, [2016-07-22T11:22:33.842325 #25276] INFO -- : Sent mail to foo@bar (10070.0ms) I, [2016-07-22T11:22:33.842741 #25276] INFO -- : Completed 500 Internal Server Error in 10424ms (ActiveRecord: 30.4ms) F, [2016-07-22T11:22:33.843717 #25276] FATAL -- : EOFError (end of file reached): app/controllers/users_controller.rb:188:in `update' app/middleware/reset_current_user.rb:47:in `call' app/middleware/params_parser_with_exclusion.rb:40:in `call'
Could this be related to the fact that email/emailsettings are currently not working?
Any help is appreciated.
Cheers!
Replies (6)
This was related to a non-working email setting.
See https://community.openproject.com/topics/6464
Hi, i’ve the same issue but my email settings is working fine because i can send test email.
when i try to change user password i’ve
F, [2016-10-24T09:21:06.621016 #15002] FATAL -- : EOFError (end of file reached): app/controllers/users_controller.rb:190:in `update' app/middleware/reset_current_user.rb:47:in `call' app/middleware/params_parser_with_exclusion.rb:40:in `call'
maybe something else?
if i try to delete and recreate user i’ve this error at the end
@
E, [2016-10-24T09:25:22.255946 #14946] ERROR — : 2016-10-24T09:25:22-0500: [Worker(host:openproject pid:14946)] Job DeliverInvitationJob (id=4011) FAILED (1 prior attempts) with EOFError: end of file reached@
if usefoul i can recieve project task update via email.
i also check this
openproject run check
[ok] MySQL configuration is working
[ok] Web server is running
[ok] openproject server is running
[ok] openproject background job worker is running
sending test email using SMTP…
[ok] test email sent to andrea.consadori@xxxx.xx
Hi Andrea,
could you check the output of the following command ? Please enter the login of the affected user as
LOGIN_NAME
1. Start a Rails console as the openproject user
2. Manually try to send the mail notification
The error is related to the SMTP configuration.
Best,
Oliver
Hi Oliver, thanks for your quick reply
After the email body i i’ve this output
other things i can check?
my openproject version is the following
Does your settings really include @ SMTP_ENABLE_STARTTLS_AUTO=TRUE@ ?
cf., this topic: https://community.openproject.com/topics/6464
If yes, then some other thing is terminating the connection from the other side. It is not a bug within OpenProject.
Best,
Oliver
Yes i set this but i see that web interface doesn’t change (is not flagged).
if i flag from web interface i have this error
“An error occurred while sending mail (hostname ”172.16.100.254" does not match the server certificate)"
it’s an internal relay with custom certificate
Finally i fix it configuring sendmail to send to my smart host.