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

Installation fails due to 404 in structs/1.19

    XMLWordPrintable

Details

    Description

      Tried to do a standard setup on Ubuntu 18.04 and every time it fails almost all plugins. The log file shows this:

      Apr 30, 2019 3:47:19 PM hudson.model.UpdateCenter$DownloadJob run
      SEVERE: Failed to install Structs
      java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/structs/1.19/structs.hpi (redirected to: http://archives.jenkins-ci.org/plugins/structs/1.19/structs.hpi)
              at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)
              at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)
              at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)
              at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/structs/1.19/structs.hpi to /var/lib/jenkins/plugins/structs.jpi.tmp
              at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)
              ... 7 more 

       

      Indeed if we go to http://updates.jenkins-ci.org/download/plugins/structs/ the latest version (1.19) redirects to a 404.

       

       

       

      Attachments

        Activity

          jboehle_mobileup Jason Boehle added a comment -

          We see this pretty frequently when installing plugins while building a Jenkins Docker image, with various plugins. Seems like maybe there is some time between when new plugin versions are updated and the Jenkins plugin CDN is actually hosting them? Not sure! Posted a similar issue here: https://github.com/jenkinsci/aws-credentials-plugin/issues/55

          jboehle_mobileup Jason Boehle added a comment - We see this pretty frequently when installing plugins while building a Jenkins Docker image, with various plugins. Seems like maybe there is some time between when new plugin versions are updated and the Jenkins plugin CDN is actually hosting them? Not sure! Posted a similar issue here:  https://github.com/jenkinsci/aws-credentials-plugin/issues/55
          markhahn9 mark hahn added a comment -

          I have had this issue with any plugin in an hour timeframe after any release.

           

          I can see the release in GitHub ( )

          I can see that the release is not updated on the wiki or plugin page

          ( )

          And the plugin is not available from archives 

          ( )

          This blocks builds when install-plugins.sh installs dependencies at latest, even when my plugins are being installed as explicit versions

          ( )

          ( )

          I have experienced this same situation with all reported symptoms multiple times within that ~1 hours window of release. 

           

          markhahn9 mark hahn added a comment - I have had this issue with any plugin in an hour timeframe after any release.   I can see the release in GitHub ( ) I can see that the release is not updated on the wiki or plugin page ( ) And the plugin is not available from archives  ( ) This blocks builds when install-plugins.sh installs dependencies at latest, even when my plugins are being installed as explicit versions ( ) ( ) I have experienced this same situation with all reported symptoms multiple times within that ~1 hours window of release.   
          jboehle_mobileup Jason Boehle added a comment -

          Hitting this again right now: `Some plugins failed to download! Not downloaded: workflow-cps`

          jboehle_mobileup Jason Boehle added a comment - Hitting this again right now: `Some plugins failed to download! Not downloaded: workflow-cps`
          jboehle_mobileup Jason Boehle added a comment - - edited

          And again: `Failed to download plugin: ssh-credentials or ssh-credentials-plugin`. 
          ssh-credentials Last released: 38 minutes ago.
           

          jboehle_mobileup Jason Boehle added a comment - - edited And again: `Failed to download plugin: ssh-credentials or ssh-credentials-plugin`.  ssh-credentials Last released: 38 minutes ago.  
          markewaite Mark Waite added a comment -

          Jenkins update center generally reflects most recent release of a plugin within 15-20 minutes of the release of the plugin

          markewaite Mark Waite added a comment - Jenkins update center generally reflects most recent release of a plugin within 15-20 minutes of the release of the plugin

          People

            kohsuke Kohsuke Kawaguchi
            jeroenooms Jeroen Ooms
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: