Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • 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
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise 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?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. User-related operations fail with unknown 500 Internal Server Error

User-related operations fail with unknown 500 Internal Server Error

Added by Joseph Cotton almost 6 years ago

I set up an EC2 instance running OP about two weeks ago. It has worked fine until yesterday, when certain operations started failing with a 500 Internal Server error. The operations that have failed are:

  • Resetting a password. When someone clicks the Forgot Password link, they are redirected to the page to enter in their email address. After doing this and hitting the Submit button, the page stays the same for about 10 seconds and then changes to a white Internal Server Error.
  • Editing a user account. When someone tries to save modifications to a user account, they get a white Internal Server Error page instead.

The logs

The logs don't say very much. The following lines are repeated over and over:

W, [2019-05-29T13:55:08.096249 #3058]  WARN -- : [auth_saml] Missing settings from '/opt/openproject/config/plugins/auth_saml/settings.yml', skipping omniauth registration.
W, [2019-05-29T13:55:08.219627 #3058]  WARN -- : hook registered

What I've tried

I've tried the following to resolve the problem:

  • Rebooting the instance
  • Rebooting the database (installed on separate instance)
  • Increasing memory usage
  • Set log level to debug (per the instructions here: https://community.openproject.com/topics/9247)

More information

  • OP Version: 8.3.2 (PostgreSQL)
  • Operating System: Ubuntu 18.04.2
  • Browser: Firefox 64
  • Language: English
  • Errors in console: None
  • Screenshot: attached

Replies (2)

RE: User-related operations fail with unknown 500 Internal Server Error - Added by Oliver Günther almost 6 years ago

Hi Joseph,

I'm quite certain this is an SMTP-related error. Some actions in OpenProject unfortunately still send mail from the web process, resulting in internal errors if that fails. I'm not sure why those would not be logged (did you try openproject logs outputting logs through the journal service?). Please use the System settings > Mail Notifications > Send a test mail functionality to get a proper error message.

The code changes required to avoid these kinds of errors are already reported  and tracked in and scheduled for 10.0

Best,

Oliver

RE: User-related operations fail with unknown 500 Internal Server Error - Added by Joseph Cotton almost 6 years ago

Sorry for the late response. It was a mail-related error, and we'll have to wait until the fix is released.

Thanks,

Joseph

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