I was trying to restore jenkins on a new machine by tacking up backup from old machine . I replaced the jenkins home directory of new machine from old one. When i launch jenkins it gives me this error.
Caused: java.io.IOException: Unable to read /var/lib/jenkins/config.xmlThere is also
Caused: hudson.util.HudsonFailedToLoadCaused: org.jvnet.hudson.reactor.ReactorExceptionDebug info is ---- Debugging information ----
message : hudson.security.ProjectMatrixAuthorizationStrategycause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassExceptioncause-message : hudson.security.ProjectMatrixAuthorizationStrategyclass : hudson.model.Hudsonrequired-type : hudson.model.Hudsonconverter-type : hudson.util.RobustReflectionConverterpath : /hudson/authorizationStrategyline number : 11version : not available-------------------------------This is what my config.xml look like
<useSecurity>true</useSecurity><authorizationStrategy class="hudson.security.ProjectMatrixAuthorizationStrategy"><permission>hudson.model.Hudson.Administer:visha</permission></authorizationStrategy>Can someone please help ?