Re: credential plugin disappears after Jenkins upgrade to 1.658
You set the Jenkins to shut-down mode. In plugin directory, Then you rename the credential directory to credential.bak or whatever. Delete the existing credential.jpi and credentials.hpi. Copy the backup credentials.hpi to plugin directory and restart Jenkins. Tail the Jenkins.log as Jenkins restarts. From: on behalf of Prasu S Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, February 21, 2017 at 11:24 AM To: Jenkins Users Subject: Re: credential plugin disappears after Jenkins upgrade to 1.658 I have plugins directory back up , Can I copy the plugin from the backup or do I have to install different plugin version like 1.22. Please help. Appreciate any help. I see these errors in the log: *** SEVERE: Failed Inspecting plugin D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi java.io.IOException: Failed to expand D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:532) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:167) at hudson.PluginManager$1$3$1.run(PluginManager.java:288) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:958) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: Problem creating zip: null at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:741) at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:568) at hudson.ClassicPluginStrategy.createClassJarFromWebInfClasses(ClassicPluginStrategy.java:589) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:530) ... 10 more Caused by: java.io.EOFException at java.io.RandomAccessFile.readFully(RandomAccessFile.java:446) at java.io.RandomAccessFile.readFully(RandomAccessFile.java:424) at org.apache.tools.zip.ZipFile.resolveLocalFileHeaderData(ZipFile.java:522) at org.apache.tools.zip.ZipFile.(ZipFile.java:187) at org.apache.tools.zip.ZipFile.(ZipFile.java:163) at org.apache.tools.ant.types.resources.ZipResource.getInputStream(ZipResource.java:133) at org.apache.tools.ant.types.resources.ResourceDecorator.getInputStream(ResourceDecorator.java:125) at org.apache.tools.ant.taskdefs.Zip.addResource(Zip.java:1041) at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:1098) at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:665) - show quoted text - On Tuesday, February 21, 2017 at 9:22:35 AM UTC-5, Prasu S wrote: I upgraded Jenkins from 1.607 to 1.658 , after the upgrade credentials plugin 1.18 is missing. Due to this, we are not able to get code from Github. When I tried to re-install the same version(1.18) , it is still not showing under installed plugin list. How can I recover credential plugin. Any help is greatly appreciated. Thank you -- 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 jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cfc2ee75-6bd1-46de-a3c8-d1664958d822%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/cfc2ee75-6bd1-46de-a3c8-d1664958d822%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/E21B7494-7343-4856-B181-542DE8993A9D%40cisco.com. For more options, visit https://groups.google.com/d/optout.
Re: credential plugin disappears after Jenkins upgrade to 1.658
I have plugins directory back up , Can I copy the plugin from the backup or do I have to install different plugin version like 1.22. Please help. Appreciate any help. I see these errors in the log: *** SEVERE: Failed Inspecting plugin D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi java.io.IOException: Failed to expand D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:532) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:167) at hudson.PluginManager$1$3$1.run(PluginManager.java:288) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:958) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: Problem creating zip: null at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:741) at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:568) at hudson.ClassicPluginStrategy.createClassJarFromWebInfClasses(ClassicPluginStrategy.java:589) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:530) ... 10 more Caused by: java.io.EOFException at java.io.RandomAccessFile.readFully(RandomAccessFile.java:446) at java.io.RandomAccessFile.readFully(RandomAccessFile.java:424) at org.apache.tools.zip.ZipFile.resolveLocalFileHeaderData(ZipFile.java:522) at org.apache.tools.zip.ZipFile.(ZipFile.java:187) at org.apache.tools.zip.ZipFile.(ZipFile.java:163) at org.apache.tools.ant.types.resources.ZipResource.getInputStream(ZipResource.java:133) at org.apache.tools.ant.types.resources.ResourceDecorator.getInputStream(ResourceDecorator.java:125) at org.apache.tools.ant.taskdefs.Zip.addResource(Zip.java:1041) at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:1098) at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:665) - show quoted text - On Tuesday, February 21, 2017 at 9:22:35 AM UTC-5, Prasu S wrote: > > I upgraded Jenkins from 1.607 to 1.658 , after the upgrade credentials > plugin 1.18 is missing. Due to this, we are not able to get code from > Github. When I tried to re-install the same version(1.18) , it is still not > showing under installed plugin list. How can I recover credential plugin. > Any help is greatly appreciated. Thank you > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cfc2ee75-6bd1-46de-a3c8-d1664958d822%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: credential plugin disappears after Jenkins upgrade to 1.658
> On 21.02.2017, at 18:13, Prasu S wrote: > > java.io.IOException: Failed to expand > D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi > My guess is that the plugin zip file is corrupt. Redownload and replace. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/96132183-D4A4-4D70-B3AD-C8AB1249A49F%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
Re: credential plugin disappears after Jenkins upgrade to 1.658
Daniel Thanks for the quick response. I have plugins directory back up , Can I copy the plugin from the backup or do I have to install different plugin version like 1.22. Please help. Appreciate your response. I see these errors in the log: *** SEVERE: Failed Inspecting plugin D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi java.io.IOException: Failed to expand D:\Build\Jenkins\apps\jenkins\jenkins_home\plugins\credentials.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:532) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:167) at hudson.PluginManager$1$3$1.run(PluginManager.java:288) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:958) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: Problem creating zip: null at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:741) at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:568) at hudson.ClassicPluginStrategy.createClassJarFromWebInfClasses(ClassicPluginStrategy.java:589) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:530) ... 10 more Caused by: java.io.EOFException at java.io.RandomAccessFile.readFully(RandomAccessFile.java:446) at java.io.RandomAccessFile.readFully(RandomAccessFile.java:424) at org.apache.tools.zip.ZipFile.resolveLocalFileHeaderData(ZipFile.java:522) at org.apache.tools.zip.ZipFile.(ZipFile.java:187) at org.apache.tools.zip.ZipFile.(ZipFile.java:163) at org.apache.tools.ant.types.resources.ZipResource.getInputStream(ZipResource.java:133) at org.apache.tools.ant.types.resources.ResourceDecorator.getInputStream(ResourceDecorator.java:125) at org.apache.tools.ant.taskdefs.Zip.addResource(Zip.java:1041) at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:1098) at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:665) On Tuesday, February 21, 2017 at 9:23:58 AM UTC-5, Daniel Beck wrote: > > > > On 21.02.2017, at 15:22, Prasu S > > wrote: > > > > I upgraded Jenkins from 1.607 to 1.658 , after the upgrade credentials > plugin 1.18 is missing. Due to this, we are not able to get code from > Github. When I tried to re-install the same version(1.18) , it is still not > showing under installed plugin list. How can I recover credential plugin. > Any help is greatly appreciated. Thank you > > Did you check the log for errors in loading the plugin on startup? > > https://wiki.jenkins-ci.org/display/JENKINS/Logging > > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/39b9d644-123c-42d6-ab7e-28d65696a0d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: credential plugin disappears after Jenkins upgrade to 1.658
> On 21.02.2017, at 15:22, Prasu S wrote: > > I upgraded Jenkins from 1.607 to 1.658 , after the upgrade credentials plugin > 1.18 is missing. Due to this, we are not able to get code from Github. When > I tried to re-install the same version(1.18) , it is still not showing under > installed plugin list. How can I recover credential plugin. Any help is > greatly appreciated. Thank you Did you check the log for errors in loading the plugin on startup? https://wiki.jenkins-ci.org/display/JENKINS/Logging -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/AD528CA3-17FD-441C-ABC0-459D8AC6F971%40beckweb.net. For more options, visit https://groups.google.com/d/optout.