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

Digest mismatch in update center for LTS 1.480.3

    Details

    • Similar Issues:

      Description

      I encountered an issue that seems that should be fixed since i saw it appear in JIRA a couple of times before.

      When installing a fresh Jenkins LTS 1.480.3 release on Windows Server 2008 R2 x64 I can't find any plugins in "Available" and "Updates" tabs.

      I receive the following error:
      Apr 19, 2013 1:34:59 AM hudson.model.UpdateSite doPostBack
      SEVERE: <div class=error><img src='/static/9545af49/images/none.gif' height=16 width=1>Digest mismatch: 1Woxyt3oLgioZax7SGlbwYITc98= vs +JLZbigPye2eA9Fsv6sa3DW3q2s= in update center 'default'</div>

      I have tried the latest Jenkins version and I don't receive this issue. The thing is - i want to go with the LTS version since i'm installing it on a PROD environment.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            There is a json-lib incompatibility, but it would not matter except for https://wiki.jenkins-ci.org/display/JENKINS/JobRequeue-Plugin which has weird formatting that tickles a bug in the older version of json-lib. That was released on Apr 17, causing the UC to break.

            https://wiki.jenkins-ci.org/display/JENKINS/drmemory+plugin is weird too but does not seem to be triggering the bug.

            Show
            jglick Jesse Glick added a comment - There is a json-lib incompatibility, but it would not matter except for https://wiki.jenkins-ci.org/display/JENKINS/JobRequeue-Plugin which has weird formatting that tickles a bug in the older version of json-lib. That was released on Apr 17, causing the UC to break. https://wiki.jenkins-ci.org/display/JENKINS/drmemory+plugin is weird too but does not seem to be triggering the bug.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jvnet/hudson/update_center/Plugin.java
            http://jenkins-ci.org/commit/backend-update-center2/ea405aaa6d1aef116ce3966695a1c431eb1d161c
            Log:
            [FIXED JENKINS-17677] Avoiding excerpts likely to tickle a bug in the old json-lib.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jvnet/hudson/update_center/Plugin.java http://jenkins-ci.org/commit/backend-update-center2/ea405aaa6d1aef116ce3966695a1c431eb1d161c Log: [FIXED JENKINS-17677] Avoiding excerpts likely to tickle a bug in the old json-lib.
            Hide
            jglick Jesse Glick added a comment -

            My changes seem to have worked in that if you set the update center URL to https://ci.jenkins-ci.org/job/infra_update_center/ws/www2/update-center.json everything works. This does not seem to have propagated to mirrors yet; I am not sure when that happens.

            Show
            jglick Jesse Glick added a comment - My changes seem to have worked in that if you set the update center URL to https://ci.jenkins-ci.org/job/infra_update_center/ws/www2/update-center.json everything works. This does not seem to have propagated to mirrors yet; I am not sure when that happens.
            Hide
            jglick Jesse Glick added a comment -

            I guess the system is “smart” and offers you the stable update center if you are running an LTS; since these are built only every four hours, my fix has not appeared yet:

            $ for version in 1.480 1.480.3; do if curl -sL "http://updates.jenkins-ci.org/update-center.json?version=$version" | fgrep -q '"{'; then echo $version bad; else echo $version OK; fi; done
            1.480 OK
            1.480.3 bad
            
            Show
            jglick Jesse Glick added a comment - I guess the system is “smart” and offers you the stable update center if you are running an LTS; since these are built only every four hours, my fix has not appeared yet: $ for version in 1.480 1.480.3; do if curl -sL "http://updates.jenkins-ci.org/update-center.json?version=$version" | fgrep -q '"{'; then echo $version bad; else echo $version OK; fi; done 1.480 OK 1.480.3 bad
            Hide
            jglick Jesse Glick added a comment -

            Now it is there.

            Show
            jglick Jesse Glick added a comment - Now it is there.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                bzlom Potroshitel Jack
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: