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

Not able to upgrade jenkinLTS from 2.235.3 to 2.303

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • Prod Environment

      Hi Team,

       

      We are using jenkinsLTS (2.235.3) and tried upgrading to latest version 2.303.2  but upgrade failed with the below error.

       

      Steps followed:

      1. Stop Jenkins
      2. Rename existing Jenkins. war to Jenkins_bakup.war
      3. Download latest jenkins.war
      4. Start Jenkins

      After launching the Jenkins URL, it took some time to bring up Jenkins and ended up with below error.

      Please advise on this.

      ---------------------------------------------

      java.lang.IllegalStateException: An attempt to save the global configuration was made before it was loaded
      java.lang.IllegalStateException: An attempt to save the global configuration was made before it was loaded
       at jenkins.model.Jenkins.save(Jenkins.java:3459)
       at jenkins.model.Jenkins.saveQuietly(Jenkins.java:3478)
       at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2705)
       at jenkins.model.Jenkins$15.run(Jenkins.java:3421)
       at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
       at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
       at jenkins.model.Jenkins$5.runTask(Jenkins.java:1158)
       at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
       at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
       at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
      Caused: org.jvnet.hudson.reactor.ReactorException
       at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282)
       at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
       at jenkins.model.Jenkins.executeReactor(Jenkins.java:1191)
       at jenkins.model.Jenkins.<init>(Jenkins.java:989)
       at hudson.model.Hudson.<init>(Hudson.java:85)
       at hudson.model.Hudson.<init>(Hudson.java:81)
       at hudson.WebAppMain$3.run(WebAppMain.java:297)
      Caused: hudson.util.HudsonFailedToLoad
       at hudson.WebAppMain$3.run(WebAppMain.java:314)
      

      ----------------------------------------------------------------------------------------------

            bambas Tomáš Bambas
            tpmanju Manju TP
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: