Content
You are here:
User-related operations fail with unknown 500 Internal Server Error
Added by Joseph Cotton over 5 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)
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
Sorry for the late response. It was a mail-related error, and we'll have to wait until the fix is released.
Thanks,
Joseph