Upgrading from 2.516.3 to 2.541.3 - login fails

Jenkins setup: GCE Test VM, Rocky Linux 8.10, openjdk version “21.0.12”, Jenkins 2.541.3 installed , JENKINS_HOME /app/jenkins, restored from 2.516.3 backup, Security settings: Realm: Jenkin’s own user database, Authorization: Project-based Matrix Authorization Strategy, httpd reverse proxy, http access only as it is an internal network

Prior to installing 2.541.3:
Updated all plugins via jenkins-plugin-manager-2.14.0,
java -jar jenkins-plugin-manager-2.14.0.jar --war /usr/share/java/jenkins.war --latest false --jenkins-version 2.541.3 --clean-download-directory --plugin-file ./plugins-srt.txt --plugin-download-directory /app/jenkins/plugins

Steps:

  1. Installed 2.516.3 and restored /app/jenkins, started by systemctl
  2. Logged in with admin successful
  3. Installed 2.541.3, started by systemctl
  4. Login with admin fails with jenkins/j_spring_security_check
  5. Registering a new user test is successful
  6. Attempting to login again fails with: jenkins/j_spring_security_check

Thoughts on where the issue might be?

Maybe when you post the logs someone is able to come up with ideas.

Hi Marcus,
Do I need to post the startup of Jenkins from /var/log/messages? After starting, the first login I attempt is admin which fails and don’t find any Jenkins entries in messages.

Stan

Login request [28/Jul/2026:12:40:33 -0700] “GET /jenkins/login?from=%2Fjenkins%2F%2F HTTP/1.1” 200 821 “http://10.49.161.9/jenkins/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_
605.1.15 (KHTML, like Gecko) Version/26.5.2 Safari/605.1.15”

Response [28/Jul/2026:12:41:02 -0700] “POST /jenkins/j_spring_security_check HTTP/1.1” 404 13944 “http://10.49.161.9/jenkins/login?from=%2Fjenkins%2F%2F” “Mozilla/5.0 (Mac
OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5.2 Safari/605.1.15”
[28/Jul/2026:12:41:03 -0700] “GET /jenkins/i18n/resourceBundle?baseName=jenkins.dialogs&_=1785267662989 HTTP/1.1” 200 117 “http://10.49.161.9/jenkins/j_spring_sec
urity_check” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5.2 Safari/605.1.15”

Problem resolved, issue was reverse proxy settings. Original settings worked with 2.516.3, which failed with 2.541.3. Simple change of removing “/” after jenkins in Proxy resolved the issue.