• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins 1.537 installed on CentOS 6.2 as RPM and running as a service.

      Images, such as build icons, start disappearing sporadically from the Jenkins UI. The UI instead displays a "broken image" icon. When accessing the image's URL, such as e.g. http://<jenkins-host>:6080/static/cc7624e2/images/32x32/health-00to19.png, a 404 error is returned.

      Analysis:
      The images appear to be served from the /tmp/jetty-0.0.0.0-6080-jenkins.war-any/webapp/images/ folder. By default, CentOS runs a daily cron of tmpwatch, which deletes files under /tmp that haven't been accessed in 10 days. So image files are deleted if Jenkins is running for more than 10 days, and an image hasn't been accessed (for example, the health-00to19.png won't be accessed if there were no builds with <20% health lately).

      Workaround:
      I was able to resolve the problem by editing /etc/sysconfig/jenkins and adding " -Djava.io.tmpdir=/var/tmp" to JENKINS_JAVA_OPTIONS. However, it would be better if Jenkins came correctly configured out-of-the-box.

          [JENKINS-20858] Images missing from Jenkins UI

          Eli Acherkan created issue -
          Sven Keller made changes -
          Attachment New: screenshot-1 jenkins on IE.jpg [ 24764 ]

          Sven Keller added a comment - - edited

          We also experience a similar issue. could it be the same?
          see screenshots
          on IE anf FF
          We use 1.541

          Sven Keller added a comment - - edited We also experience a similar issue. could it be the same? see screenshots on IE anf FF We use 1.541

          Sven Keller added a comment -

          missing icons only in manage jenkins view

          Sven Keller added a comment - missing icons only in manage jenkins view
          Sven Keller made changes -
          Attachment New: screenshot-2 firefox.jpg [ 24765 ]

          K P added a comment -

          Yes, mostly this issue is caused by people clearing out the TEMP where jetty extracted the war; while jenkins is still running.

          This is the reason I suggested yesterday on this issue: JENKINS-17526 , where people mention missing css and png files (of course, not only images are served by jetty from the TEMP, but also the .css files)

          K P added a comment - Yes, mostly this issue is caused by people clearing out the TEMP where jetty extracted the war; while jenkins is still running. This is the reason I suggested yesterday on this issue: JENKINS-17526 , where people mention missing css and png files (of course, not only images are served by jetty from the TEMP, but also the .css files)
          K P made changes -
          Link New: This issue is related to JENKINS-17526 [ JENKINS-17526 ]

          K P added a comment -

          I guess for most people clearing $TEMP may be the cause for missing png and css files (error 404 by jetty)

          K P added a comment - I guess for most people clearing $TEMP may be the cause for missing png and css files (error 404 by jetty)
          K P made changes -
          Link New: This issue duplicates JENKINS-17526 [ JENKINS-17526 ]
          K P made changes -
          Link Original: This issue duplicates JENKINS-17526 [ JENKINS-17526 ]

            Unassigned Unassigned
            eliac Eli Acherkan
            Votes:
            16 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: