Error 500 when Editing User
Added by Jim Warren about 1 year ago
Hello. Please help me.
When editing a user the server(nginx,not Redmine) shows Error 500.
This is not a redmine error as I understand, but a POST request can not work.
Redmine and nginx work in docker containers.
Environment: Redmine version 4.0.6.stable Ruby version 2.6.6-p146 (2020-03-31) [x86_64-linux-musl] Rails version 5.2.4.1 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.12.2 Mercurial 4.9.1 Bazaar 2.7.0 Git 2.22.2 Filesystem Redmine plugins: a_common_libs 2.5.7 custom_menu 1.8.8 event_notifications 2.4.1 extra_queries 2.3.9 global_roles 2.2.5 plan_generator 0.0.1 redmine_agile 1.5.3 redmine_control_date_reminder 0.0.1 redmine_issue_tabs 1.3.4 redmine_people 1.4.2 rm_user_mentions 1.0.6 unread_issues 2.2.4 usability 2.4.1
From nginx logs:
10.30.3.59 - - [26/Oct/2023:04:46:24 +0000] "GET /people/avatar?id=1537&size=80x80 HTTP/1.1" 304 0 "https://redmine.host.pl/my/account" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.61" "-" 10.30.3.59 - - [26/Oct/2023:04:46:24 +0000] "GET /people/avatar?id=1537&size=50x50 HTTP/1.1" 304 0 "https://redmine.host.pl/my/account" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.61" "-" 10.30.3.59 - - [26/Oct/2023:04:46:25 +0000] "POST /ajax_counters/counters HTTP/1.1" 200 114 "https://redmine.host.pl/my/account" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.61" "-" 10.30.3.59 - - [26/Oct/2023:04:46:27 +0000] "POST /my/account HTTP/1.1" 500 0 "https://redmine.host.pl/my/account" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.61" "-"
For a very long time everything worked without any problems and then just the other day it started.
Replies (1)
RE: Error 500 when Editing User - Added by Holger Just about 1 year ago
If the error is indeed generated by nginx, you should see some details in the error log of nginx. If you do not have configured an error log, you should add it in addition to the access log. See https://docs.nginx.com/nginx/admin-guide/monitoring/logging/#setting-up-the-error-log
Please still check Redmine's log for details about this request. You can find the logfile in logs/production.log
on your Redmine server by default.