Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Hierarchy leafWiki
You are here:
  • Forums
  • General discussion

Content

[solved]Trying to change user password -> Internal error

Added by Bernd Müller over 6 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)

RE: [solved]Trying to change user password -> Internal error - Added by Bernd Müller over 6 years ago

This was related to a non-working email setting.
See https://community.openproject.com/topics/6464

RE: [solved]Trying to change user password -> Internal error - Added by Andrea Consadori over 6 years ago

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

RE: [solved]Trying to change user password -> Internal error - Added by Oliver Günther over 6 years ago

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

openproject run console

2. Manually try to send the mail notification

user = User.find_by(login: 'LOGIN_NAME')
UserMailer.account_information(user, user.password).deliver_now

The error is related to the SMTP configuration.

Best,
Oliver

RE: [solved]Trying to change user password -> Internal error - Added by Andrea Consadori over 6 years ago

Hi Oliver, thanks for your quick reply

After the email body i i’ve this output

----==_mimepart_580ef0025cba3_48933fdd6b763328875a5--

EOFError: end of file reached
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/protocol.rb:153:in `read_nonblock'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/protocol.rb:153:in `rbuf_fill'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:938:in `recv_response'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:924:in `block in getok'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:948:in `critical'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:922:in `getok'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:916:in `quit'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:616:in `do_finish'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:523:in `ensure in start'
        from /opt/openproject/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:523:in `start'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in `deliver!'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/mail-2.6.4/lib/mail/message.rb:2149:in `do_delivery'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/mail-2.6.4/lib/mail/message.rb:237:in `block in deliver'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:543:in `block
in deliver_mail'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:541:in `deliver_mail'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/mail-2.6.4/lib/mail/message.rb:237:in `deliver'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
        from (irb):11
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:110:in `start'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:9:in `start'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:68:in `console'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'irb(main):012:0>

other things i can check?

my openproject version is the following

Package: openproject
Status: install ok installed
Priority: extra
Section: default
Installed-Size: 476020
Maintainer: support@packager.io
Architecture: amd64
Version: 6.0.4-1473846456.d23fc45.jessie
Provides: openproject
Depends: mysql-common, libpq5, libsqlite3-0, openssl, libxml2, libxslt1.1, libreadline5, libreadline6, libmagickwand-6.q16-2, dialog, bash, debianutils
Conffiles:
 /etc/default/openproject f37ae6484323bced21d44871b92b9776
 /etc/logrotate.d/openproject f4ae188b18668aafc1c49d54d59e9dfc
Description: Official OpenProject Community Edition
License: unknown
Vendor: Packager.io <https://packager.io>
Homepage: https://packager.io/gh/opf/openproject-ce

RE: [solved]Trying to change user password -> Internal error - Added by Oliver Günther over 6 years ago

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

RE: [solved]Trying to change user password -> Internal error - Added by Andrea Consadori over 6 years ago

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&quot; 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.

  • (1 - 6/6)
Loading...