Upgrading to 2.475 with LDAP plugin

54 views
Skip to first unread message

Stefan

unread,
Sep 9, 2024, 12:46:57 PM9/9/24
to Jenkins Users
Inside the changelog for version 2.475 we can read:

Users of the LDAP plugin must upgrade it to version 733.vd3700c27b_043 in lockstep with upgrading Jenkins core.

Unfortunately, there is no indication on how to actually achieve this in a safe manner.

AFAIK, updating the RPM using Zypper will restart the Jenkins instance (service) without giving me the opportunity to upgrade the plugin in the same step, while I cannot see the LDAP plugin update on the old release (2.473). The user accounts of this specific Jenkins instance are handled by the LDAP backend.

How to apply the updates correctly without risking that logins/restricted access are blocked by this?

Mark Waite

unread,
Sep 9, 2024, 5:38:18 PM9/9/24
to Jenkins Users
 Thanks for asking.  I think the following steps will work
  1. Download the new plugin version to a temporary location (as in wget https://updates.jenkins.io/latest/ldap.hpi ) and rename it to ldap.jpi
  2. Stop the service
  3. Perform a backup
  4. Replace the previous ldap.jpi file in the /plugins/ directory with the newly downloaded version
  5. Upgrade the package and restart the service with zypper upgrade
Mark Waite

Stefan

unread,
Sep 11, 2024, 11:56:36 AM9/11/24
to Jenkins Users
Thanks, this did indeed seem to have worked correctly.
Reply all
Reply to author
Forward
0 new messages