Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins 1.537 installed on CentOS 6.2 as RPM and running as a service.
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            eliac Eli Acherkan created issue -
            kraxel Sven Keller made changes -
            Field Original Value New Value
            Attachment screenshot-1 jenkins on IE.jpg [ 24764 ]
            kraxel Sven Keller made changes -
            Attachment screenshot-2 firefox.jpg [ 24765 ]
            belpk K P made changes -
            Link This issue is related to JENKINS-17526 [ JENKINS-17526 ]
            belpk K P made changes -
            Link This issue duplicates JENKINS-17526 [ JENKINS-17526 ]
            belpk K P made changes -
            Link This issue duplicates JENKINS-17526 [ JENKINS-17526 ]
            samxiao Sam Xiao made changes -
            Attachment z.png [ 24773 ]
            gaige Gaige Paulsen made changes -
            Link This issue is related to JENKINS-20682 [ JENKINS-20682 ]
            swiniak Andrzej Pasterczyk made changes -
            Link This issue is related to JENKINS-21133 [ JENKINS-21133 ]
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-22442 [ JENKINS-22442 ]
            danielbeck Daniel Beck made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            intel352 Jonathan Langevin made changes -
            Resolution Duplicate [ 3 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            Assignee Richard Mortimer [ oldelvet ]
            intel352 Jonathan Langevin made changes -
            Attachment Screenshot 2014-08-19 10.55.02.png [ 26611 ]
            intel352 Jonathan Langevin made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Assignee Richard Mortimer [ oldelvet ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 152669 ] JNJira + In-Review [ 207224 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: