简体   繁体   English

Jenkins无法启动,并且插件目录为空

[英]Jenkins fails to start up and empty plugins directory

I am new to jenkins, I upgraded a couple of plugins(don't remember which), after that I when I try java -jar jenkins.war I end up getting the following error. 我是jenkins的新手,我升级了几个插件(不记得是哪个插件),之后我尝试使用java -jar jenkins.war最终遇到以下错误。

jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading global config
java.io.IOException: Unable to read /home/.jenkins/config.xml

I went through several links which address this issue, but no luck yet. 我通过几个链接解决了这个问题,但是还没有走运。 In this link which I found https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764711 it says some plugins are missing, and surprisingly, my /home/.jenkins/plugins/ is empty!!! 在这个我发现https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764711的链接中,它说缺少一些插件,而且令人惊讶的是,我的/home/.jenkins/plugins/是空的! !

How do I restore the necessary plugins from my command line? 如何从命令行还原必要的插件?

I am using CentOS release 6.8 (Final) 我正在使用CentOS release 6.8 (Final)

Thank you :) 谢谢 :)

I had encountered this issue somedays back,however after restarting jenkins service solved the issue. 几天前,我遇到了这个问题,但是在重启jenkins服务后解决了这个问题。 The best you can do now is rename your config file. 您现在所能做的最好的就是重命名您的配置文件。 This way jenkins will load with the default startup. 这样,jenkins将使用默认启动加载。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM