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

Upgrade 1.x to 2.x: upgrade wizard disappears when auto refresh is enabled

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      Upgrade from 1.651.3 to 2.32.3
    • Similar Issues:

      Description

      Short version

      When auto refresh of the Jenkins GUI is enabled prior to starting a 1.6 -> 2.x upgrade, the upgrade wizard closes after a few seconds due to the auto refresh kicking in.

       

      Versions/software used

      • Jenkins 1.6:
        docker run -p 8080:8080 -p 50000:50000 -v /Users/bertjan/jenkins/home:/var/jenkins_home jenkins:1.651.3

       

      • Jenkins 2.3:
        docker run -p 8080:8080 -p 50000:50000 -v /Users/bertjan/jenkins/home:/var/jenkins_home jenkins:2.32.3

      Reproduction path

      • Install Jenkins 1.6
      • Stop the 1.6 instance, start a Jenkins 2.3 instance and point it to the same homedir used for the 1.6 instance
      • When the Jenkins 2.3 instance boots, don't log in and start the upgrade wizard just yet
      • First, make sure that auto refresh is enabled (by clicking "ENABLE AUTO REFRESH" in the top right corner)
      • Click 'Upgrade now' to start the upgrade wizard'
      • Click 'Continue'. The upgrade starts.
      • Wait a bit for the autorefresh to kick in. This closes the upgrade wizard dialog window.

      The upgrade does continue (looking at the logs in my terminal) but there's no way of viewing its progress in the GUI.

      This doesn't happen when auto refresh isn't enabled.

       

      Additional info

      I marked this issue with priority "major" because this can have quite a negative influence on the trust that new 2.x users have in the upgrade. Imagine finally gaining enough courage for taking the step to upgrade your mission-critical installation to 2.x, only to see the upgrade wizard disappear after a few seconds and being completely in the blue whether the upgrade succeeded or failed. I can hear managers shouting "rollback! rollback!" already

      I think it would be alright to just disable auto refresh before the upgrade wizard starts. If the user really wants auto refresh, he/she will enable it again after the upgrade.

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Assigning to Keith Zantow for triangulation

            Show
            oleg_nenashev Oleg Nenashev added a comment - Assigning to Keith Zantow for triangulation
            Hide
            kzantow Keith Zantow added a comment - - edited

            Oleg Nenashev seems as though we just need to disable auto-refresh temporarily or altogether as is suggested; seems like a good solution

            Show
            kzantow Keith Zantow added a comment - - edited Oleg Nenashev seems as though we just need to disable auto-refresh temporarily or altogether as is suggested; seems like a good solution
            Hide
            kzantow Keith Zantow added a comment -

            Changing to minor, as I don't think most users use this option.

            Show
            kzantow Keith Zantow added a comment - Changing to minor, as I don't think most users use this option.
            Hide
            bertjan Bert Jan Schrijver added a comment -

            You might be right, not sure about that. I'm doing a conference talk about Jenkins 2 this morning, I'll do a poll with the audience

            Show
            bertjan Bert Jan Schrijver added a comment - You might be right, not sure about that. I'm doing a conference talk about Jenkins 2 this morning, I'll do a poll with the audience
            Hide
            bertjan Bert Jan Schrijver added a comment - - edited

            I asked the audience who uses the auto refresh option:

            Show
            bertjan Bert Jan Schrijver added a comment - - edited I asked the audience who uses the auto refresh option:
            Hide
            bertjan Bert Jan Schrijver added a comment -

            Just kidding, I asked them to all raise their hands

            I did do a real poll. At least 33% of the attendees raised their hand when I asked who uses the auto refresh option. Maybe even 50%. But of course, it's your call

            Show
            bertjan Bert Jan Schrijver added a comment - Just kidding, I asked them to all raise their hands I did do a real poll. At least 33% of the attendees raised their hand when I asked who uses the auto refresh option. Maybe even 50%. But of course, it's your call

              People

              • Assignee:
                kzantow Keith Zantow
                Reporter:
                bertjan Bert Jan Schrijver
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: