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

Not able to upgrade jenkinLTS from 2.235.3 to 2.303

    • 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)
      

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

          [JENKINS-67053] Not able to upgrade jenkinLTS from 2.235.3 to 2.303

          Reformatted the stack trace to make it easier to read.

          Changed the component from installshield-plugin to core because all methods listed in the stack trace seem to be in core and nothing else in the bug report mentions InstallShield.

          Kalle Niemitalo added a comment - Reformatted the stack trace to make it easier to read. Changed the component from installshield-plugin to core because all methods listed in the stack trace seem to be in core and nothing else in the bug report mentions InstallShield.

          Kalle Niemitalo added a comment - - edited

          Are you using the Configuration as Code plugin? If so, which version?

          Kalle Niemitalo added a comment - - edited Are you using the Configuration as Code plugin? If so, which version?

          Daniel Beck added a comment -

          There's not enough here to make this report actionable.

          I recommend you ask for troubleshooting help on the Jenkins Users mailing list or in chat.

          https://www.jenkins.io/mailing-lists/

          https://www.jenkins.io/chat/

           

          Daniel Beck added a comment - There's not enough here to make this report actionable. I recommend you ask for troubleshooting help on the Jenkins Users mailing list or in chat. https://www.jenkins.io/mailing-lists/ https://www.jenkins.io/chat/  

          Manju TP added a comment -

          kon  - thanks for the update.  We are not using the plugin  - Configuration as Code

          Manju TP added a comment - kon   - thanks for the update.  We are not using the plugin  -  Configuration as Code

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

              Created:
              Updated:
              Resolved: