Hi All,

I did an unintentional upgrade of Jenkins from version 1.532.3 to 1.565.3 
using the Long Term Support rpm's from jenkins.org. I tried to correct the 
situation by downgrading to 1.532.1.

After the downgrade matrix-auth errors are written to jenkins.log :

WARNING: Failed to scout 
hudson.security.GlobalMatrixAuthorizationStrategy$PermissionAdderImpl
java.lang.InstantiationException: 
/opt/jenkins/data/plugins/matrix-auth/WEB-INF/lib/classes.jar might need to 
be rebuilt: java.lang.ClassNotFoundException: 
hudson.security.GlobalMatrixAuthorizationStrategy$PermissionAdderImpl
        at net.java.sezpoz.IndexItem.element(IndexItem.java:144)
...

It's no longer possible to log in to Jenkins, it just dumps :

java.lang.NullPointerException
at 
hudson.security.HudsonPrivateSecurityRealm$4.isPasswordValid(HudsonPrivateSecurityRealm.java:670)
at 
hudson.security.HudsonPrivateSecurityRealm$Details.isPasswordCorrect(HudsonPrivateSecurityRealm.java:479)
at 
hudson.security.HudsonPrivateSecurityRealm.authenticate(HudsonPrivateSecurityRealm.java:178)
...

I then disabled all security by modifying config.xml, setting useSecurity 
to false and removing the authorizationStrategy and securityRealm tags. 
That got things going again, but I of course want to recover cleanly.

I don't have a lot experience with Jenkins so I am not sure what to try 
next. The Jenkins wiki mentiones that matrix-auth was split of from the 
Jenkins core, but the only rpm we ever used is the one I mentioned above. 
Any suggestions?

Regards,
Willem.

P.S. Upgrading Jenkins is not an option at this time.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to