Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54299

Jenkins failed to start after updating pluins and restart

    Details

    • Similar Issues:

      Description

      I have tried to install role-strategy-plugin, then it requires me to update matrix auth and cloudbees folder and then restart.

      I did that and it cannot be started again

      I have checked that there is no disabled files + I have tried to remove the installed/updated files, but it does not work.

      Also, I lost the previous version of config.xml so I cannot roll back.

      Please Help me, I cannot leave the office with this problem going on...

       

      The errors are:

       

      hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read C:\Program Files (x86)\Jenkins-232\config.xml

      Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read C:\Program Files (x86)\Jenkins-232\config.xml

      ...

      Caused by: java.io.IOException: Unable to read C:\Program Files (x86)\Jenkins-232\config.xml

      ...

      Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
      ---- Debugging information ----
      message : hudson.security.ProjectMatrixAuthorizationStrategy
      cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message : hudson.security.ProjectMatrixAuthorizationStrategy
      class : hudson.model.Hudson
      required-type : hudson.model.Hudson
      converter-type : hudson.util.RobustReflectionConverter
      path : /hudson/authorizationStrategy
      line number : 10
      version : not available

      ...

      Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.security.ProjectMatrixAuthorizationStrategy

      ...

       

      config.xml: 

      <?xml version='1.0' encoding='UTF-8'?>

      ....

      <authorizationStrategy class="hudson.security.ProjectMatrixAuthorizationStrategy">
        <permission>hudson.model.Hudson.Administer:HK IT Team</permission>
      <permission>hudson.model.Hudson.Administer:bchuang</permission>
      <permission>hudson.model.Hudson.Read:anonymous</permission>
      <permission>hudson.model.Hudson.Read:authenticated</permission>
      <permission>hudson.model.Hudson.RunScripts:authenticated</permission>
      <permission>hudson.model.Item.Build:anonymous</permission>
      <permission>hudson.model.Item.Discover:anonymous</permission>
      <permission>hudson.model.Item.Read:anonymous</permission>
      <permission>hudson.model.View.Read:anonymous</permission>
      </authorizationStrategy>

       

       

      Please help me!

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              dnusbaum Devin Nusbaum
              Reporter:
              neiamenase Sam Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: