On Monday, September 9, 2024 at 10:46:57 AM UTC-6 Stefan wrote:

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?


 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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ac871b58-a070-43c4-a519-6c0b264bce4an%40googlegroups.com.

Reply via email to