How to fix broken images and icons in jenkins UI

随声附和 提交于 2020-02-05 02:03:13

问题


I am having trouble with the jenkins ui these days with all the images and icons (build icons and those in the manage jenkins page) broken. I have googled and haven't found anything clear. Also, the jenkins became much slower. I read that clearing the TEMP folder might cause this issue. and yes after restarting the jenkins service on the instance it has become much worse and all icons were broken. How can I fix it? Screenshots attached Can someone help me with this. location of jenkins.war : /usr/share/jenkins/jenkins.war

jenkins version: 1.651.2 instance : ubuntu size: t2.large I have these files in the tmp dir:

hs_err_pid9138.log,  jetty-0.0.0.0-8080-war--any- , winstone3877623187585170658.jar, 
winstone6494081310724055556.jar, hsperfdata_jenkins,
jna--1712433994 ,winstone5277385331684199945.jar


回答1:


after some research found this and it helped:

do:

 - sudo service jenkins stop
 - sudo mv /var/cache/jenkins/war /var/cache/jenkins/war.gone
 - sudo service jenkins start


来源:https://stackoverflow.com/questions/45760454/how-to-fix-broken-images-and-icons-in-jenkins-ui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!