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

Installation fails due to 404 in structs/1.19

    Details

    • Similar Issues:

      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

          Hide
          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

          Show
          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
          Hide
          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. 

           

          Show
          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.   
          Hide
          jboehle_mobileup Jason Boehle added a comment -

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

          Show
          jboehle_mobileup Jason Boehle added a comment - Hitting this again right now: `Some plugins failed to download! Not downloaded: workflow-cps`
          Hide
          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.
           

          Show
          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.  

            People

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

              Dates

              • Created:
                Updated: