Hi,

I'm in the process of doing dry run upgrades on a VM Jenkins cluster in 
preparation for upgrading my employer's production cluster.  The current 
version on the master 1.609.3 and I'm trying to upgrade to 2.46.2 LTS.  For 
reasons outside of my control, we run under Tomcat and I have already 
upgraded this from Tomcat7 to Tomcat8 in preparation for the upgrade.

To upgrade the master I stop Jenkins, remove the contents of 
webapps/jenkins and replace the jenkins.war with the desired version.  This 
starts up without any significant errors and presents the standard from 
page with a large welcom to Jenkins 2 banner and an "Upgrade now" button.  
Pressing this pops up an upgrade Window with three pre-checked options for 
Pipeline, GitHub Organization Folder Plugin and Pipeline: Stage View 
Plugin.  Unfortunately selecting Confinue at this point results in it 
failing to install any of the new grouped features and the Popup installer 
window just hangs.

03-May-2017 13:29:44.141 SEVERE [Update center installer thread [#2]] 
hudson.model.UpdateCenter$DownloadJob.run Failed to install GitHub Branch 
Source Plugin
 java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1899
)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1656)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(
AtmostOneThreadExecutor.java:110)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to install github-branch-source 
plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:875)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:814)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1895
)
    ... 5 more
Caused by: java.io.IOException: GitHub Branch Source Plugin v2.0.5 failed 
to load.
 - GitHub plugin v1.13.3 is older than required. To fix, install v1.26.0 or 
later.
 - Credentials Plugin v1.25 is older than required. To fix, install v2.1.12 
or later.
 - Jenkins GIT plugin v2.4.0 is older than required. To fix, install v2.6.4 
or later.
 - GitHub API Plugin v1.69 is older than required. To fix, install v1.85 or 
later.
 - SCM API Plugin v0.2 is older than required. To fix, install v2.1.1 or 
later.
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:621
)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:865)
    ... 7 more


03-May-2017 13:29:44.649 SEVERE [Update center installer thread [#2]] 
hudson.model.UpdateCenter$DownloadJob.run Failed to install Pipeline: 
GitHub Groovy Libraries
 java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1899
)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1656)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(
AtmostOneThreadExecutor.java:110)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to install pipeline-github-lib plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:875)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:814)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1895
)
    ... 5 more
Caused by: java.io.IOException: Pipeline: GitHub Groovy Libraries v1.0 
failed to load.
 - Pipeline: Shared Groovy Libraries v2.8 failed to load. Fix this plugin 
first.
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:621
)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:865)
    ... 7 more


And many more like those.  Checking the timestamps in the plugins 
directory, only 41 new plugins have been downloaded, considerably fewer 
than expected.  If, instead of pressing the "Upgrade now" button I proceed 
directly to the Manage plugins and upgrade all of my existing plugins, this 
works as expected on any notrmal upgrade, butthe Welcome banner is no 
longer displayed on the front page and there seems to be no way to invoke 
the "Upgrade now" functionality.  So, I don't seem to have a good 
(documented) way to install all of the new goodies.

Tony.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/80f1ebe0-7794-4275-94eb-e94be32f4e8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to