Skip to content

[JENKINS-17526] Broken CSS when reloading Jenkins after a time of inactivity #14478

Closed

Description

@jenkins-infra-bot

Happens semi-random, but whenever I leave the Jenkins page for an amount of time and then come back and hit refresh, the CSS seems to break (see attached image).

Hitting refresh again does NOT fix it. However, holding shift while refreshing (forced refresh) fixes the issue and the page goes back to looking normal (hitting normal refresh works fine then).

I've tried it in different browsers (and even a co-worker's computer) and it is happening there too.


Originally reported by nacht, imported from: Broken CSS when reloading Jenkins after a time of inactivity
  • assignee: kohsuke
  • status: Resolved
  • priority: Major
  • component(s): core
  • resolution: Duplicate
  • resolved: 2014-05-18T10:54:02+00:00
  • votes: 31
  • watchers: 56
  • imported: 2025-11-24
Raw content of original issue

Happens semi-random, but whenever I leave the Jenkins page for an amount of time and then come back and hit refresh, the CSS seems to break (see attached image).

Hitting refresh again does NOT fix it. However, holding shift while refreshing (forced refresh) fixes the issue and the page goes back to looking normal (hitting normal refresh works fine then).

I've tried it in different browsers (and even a co-worker's computer) and it is happening there too.

1 attachment

Activity

  1. jenkins-infra-bot commented on Apr 9, 2013

    @jenkins-infra-bot
    Author
    dallasgutauckis:
    • Original comment link
    • Raw content of original comment:

      I'm also seeing this issue, with the same "workaround" to resolve.

    I'm also seeing this issue, with the same "workaround" to resolve.

  2. jenkins-infra-bot commented on Apr 14, 2013

    @jenkins-infra-bot
    Author
    dann:
    • Original comment link
    • Raw content of original comment:

      I also have this issue with 1.480.3 LTS. With Jenkins running on Windows XP as service.

      If it makes any difference, I've found that some elements seem to lose their styling before others. In particular the breadcrumb navigation buttons at the top left of the screen seem to lose their styling first. This is quite annoying as the unstyled list of navigation items spans the width of the screen and overlays clickable elements on some screens preventing them from being clicked. I have also observed the entire page being unstyled as with above screenshot.

    I also have this issue with 1.480.3 LTS. With Jenkins running on Windows XP as service.

    If it makes any difference, I've found that some elements seem to lose their styling before others. In particular the breadcrumb navigation buttons at the top left of the screen seem to lose their styling first. This is quite annoying as the unstyled list of navigation items spans the width of the screen and overlays clickable elements on some screens preventing them from being clicked. I have also observed the entire page being unstyled as with above screenshot.

  3. jenkins-infra-bot commented on Apr 22, 2013

    @jenkins-infra-bot
    Author
    prestonj:
    • Original comment link
    • Raw content of original comment:

      +1 for this issue appearing in 1.480.3 LTS. I installed the build via a debian package (ubuntu linux OS).

      My feeling is that this issue should have a higher priority than minor as it gives the impression that the 1.480.3 "LTS" build is unpolished. However as noted above, using shift + refresh does make the problem go away.

    +1 for this issue appearing in 1.480.3 LTS. I installed the build via a debian package (ubuntu linux OS).

    My feeling is that this issue should have a higher priority than minor as it gives the impression that the 1.480.3 "LTS" build is unpolished. However as noted above, using shift + refresh does make the problem go away.

  4. jenkins-infra-bot commented on Apr 23, 2013

    @jenkins-infra-bot
    Author
    rburhum:
    • Original comment link
    • Raw content of original comment:

      This looks similar to JENKINS-17684. There is other interesting information related to the bug there.

    This looks similar to JENKINS-17684. There is other interesting information related to the bug there.

  5. jenkins-infra-bot commented on Apr 23, 2013

    @jenkins-infra-bot
    Author
    nacht:
    • Original comment link
    • Raw content of original comment:

      Defiantly related. Linking to it since it has more info.

    Defiantly related. Linking to it since it has more info.

  6. jenkins-infra-bot commented on May 31, 2013

    @jenkins-infra-bot
    Author
    amit77us:
    • Original comment link
    • Raw content of original comment:

      Same issue, running on Ubuntu 12.04 LTS.

      Additionally, ONLY when the CSS is broken, I can delete existing users. Other times, the "delete" link on left side is not visible. Does anyone else also have this issue ? Are they related ?

    Same issue, running on Ubuntu 12.04 LTS.

    Additionally, ONLY when the CSS is broken, I can delete existing users. Other times, the "delete" link on left side is not visible. Does anyone else also have this issue ? Are they related ?

  7. jenkins-infra-bot commented on Jun 3, 2013

    @jenkins-infra-bot
    Author
    joncage:
    • Original comment link
    • Raw content of original comment:

      Same here running on Windows XP host (as a service) and viewing no client machines using Chrome / FF.

      Closing the tab and opening a new one appears to fix the issue.

    Same here running on Windows XP host (as a service) and viewing no client machines using Chrome / FF.

    Closing the tab and opening a new one appears to fix the issue.

  8. jenkins-infra-bot commented on Jun 3, 2013

    @jenkins-infra-bot
    Author
    plantface:
    • Original comment link
    • Raw content of original comment:

      We're running this in a project with 5 teams of about 2/3 developers per team and we all experience this issue. Simple refresh doesn't work (even with cache turned off under Chrome), but a ctrl-F5 seems to have some effect.

    We're running this in a project with 5 teams of about 2/3 developers per team and we all experience this issue. Simple refresh doesn't work (even with cache turned off under Chrome), but a ctrl-F5 seems to have some effect.

  9. jenkins-infra-bot commented on Jun 3, 2013

    @jenkins-infra-bot
    Author
    joncage:
    • Original comment link
    • Raw content of original comment:

      FYI, I've just upgraded to v1.517 and have not as yet seen the issue re-appear.

    FYI, I've just upgraded to v1.517 and have not as yet seen the issue re-appear.

  10. jenkins-infra-bot commented on Jun 3, 2013

    @jenkins-infra-bot
    Author
    orrc:
    • Original comment link
    • Raw content of original comment:

      The fix for this should be in 1.518, so you may well still see this problem occur in 1.517.

    The fix for this should be in 1.518, so you may well still see this problem occur in 1.517.

  11. jenkins-infra-bot commented on Nov 7, 2013

    @jenkins-infra-bot
    Author
    alien2150:
    • Original comment link
    • Raw content of original comment:

      Can confirm that with the latest version (1.538) as you can see on the screenshot here: https://dl.dropboxusercontent.com/u/617077/jenkins_css_broken.PNG

      It seems that accessing the css files seems to return a HTTP 404 like for "http://<host>/static/1a63fb46/css/style.css" and other files as well. A restart of the whole software seems to fix that.

    Can confirm that with the latest version (1.538) as you can see on the screenshot here: https://dl.dropboxusercontent.com/u/617077/jenkins_css_broken.PNG

    It seems that accessing the css files seems to return a HTTP 404 like for "http:///static/1a63fb46/css/style.css" and other files as well. A restart of the whole software seems to fix that.

  12. jenkins-infra-bot commented on Nov 11, 2013

    @jenkins-infra-bot
    Author
    glittle:
    • Original comment link
    • Raw content of original comment:

      After upgrading to 1.538, I was getting missing files too with URL (.../static/...). A full reboot of the server resolved it.

    After upgrading to 1.538, I was getting missing files too with URL (.../static/...). A full reboot of the server resolved it.

  13. jenkins-infra-bot commented on Nov 12, 2013

    @jenkins-infra-bot
    Author
    brunocvcunha:

    I'm getting the same issue in 1.538 too.
    https://dl.dropboxusercontent.com/s/ze1soaao4zbg8ig/jenkins-css.png

    This is very annoying and I have to be careful to not press F5.
    The server is generating invalid URLs to static resources (e.g. http://touros:8080/static/38c6342f/images/24x24/grey.png), that gives 404 error.

    A service reboot resolve the problem for a while.

  14. jenkins-infra-bot commented on Nov 14, 2013

    @jenkins-infra-bot
    Author
    potatopankakes:

    This is happening on 1.539. Most CSS, JavaScript and images are failing to load.

    The resources that succeed have the url formats:
    http://myserver.com:8080/adjuncts/2103c023/org/kohsuke/stapler/rest-of-url
    or
    http://myserver.com:8080/static/2103c023/plugin/rest-of-url

    The resources that fail have the url format:
    http://myserver.com:8080/static/2103c023/rest-of-url.

    Bind.js, jquery.full.js, breadcrumbs.js, breadcrumbs.css and some plugin images are the only files loading for me.

    Clearing cache, force reloading, clearing cookie, logging out, and opening a different browser type does NOT fix the issue for me. I had to restart Jenkins.

    This is on Windows 2008 R2 Standard Server Service Pack 1.

  15. jenkins-infra-bot commented on Nov 25, 2013

    @jenkins-infra-bot
    Author
    gjean:
    • Original comment link
    • Raw content of original comment:

      I have the same problem with version 1.540 on Mac Os X 10.9

      Sincerely GJean

    I have the same problem with version 1.540 on Mac Os X 10.9

    Sincerely
    GJean

  16. 29 remaining items

  17. jenkins-infra-bot commented on Apr 11, 2014

    @jenkins-infra-bot
    Author
    oldelvet:
    • Original comment link
    • Raw content of original comment:

      The fix for JENKINS-22442 restores the previous behaviour and 1.558 now honours the --webroot commandline argument again.

    The fix for JENKINS-22442 restores the previous behaviour and 1.558 now honours the --webroot commandline argument again.

  18. jenkins-infra-bot commented on May 18, 2014

    @jenkins-infra-bot
    Author
    danielbeck:
    • Original comment link
    • Raw content of original comment:

      Fix for JENKINS-22442 in 1.558 and 1.554.1 should resolve this as well. Therefore marking this as duplicate.

    Fix for JENKINS-22442 in 1.558 and 1.554.1 should resolve this as well. Therefore marking this as duplicate.

  19. jenkins-infra-bot commented on Apr 3, 2015

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Greg Albrecht
    Path:
    Library/Application Support/Jenkins/jenkins-runner.sh
    scripts/postinstall-launchd-jenkins
    http://jenkins-ci.org/commit/packaging/c8fb9d70124277b3d64e19a384171fcd396792e3
    Log:
    JENKINS-17526 Relocating Jetty/Java tmpdir for Mac OS X.

    Originally-From: jenkins-ci.org/commit/core/95842fd6b6fe493da6bbb12faa0ec2c5c314f473

  20. jenkins-infra-bot commented on Apr 3, 2015

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Olivier Lamy
    Path:
    Library/Application Support/Jenkins/jenkins-runner.sh
    scripts/postinstall-launchd-jenkins
    http://jenkins-ci.org/commit/packaging/c932cd9363357fc83e993b1da2d565ed2893aee1
    Log:
    Merge pull request #1061 from OnBeep/feature/ampledata-mac_os_x_tmp

    JENKINS-17526 Relocating Jetty/Java tmpdir for Mac OS X.
    Originally-From: jenkins-ci.org/commit/core/7c51cec55649b0e46047cb5e3198b66c3bdd94d5

  21. jenkins-infra-bot commented on Feb 24, 2025

    @jenkins-infra-bot
    Author
    ashish_modi:
    • Original comment link
    • Raw content of original comment:

      We are facing similar issue with Jenkins. Logged in users are working fine and able to see the UI properly. But unlogged in users are not able to view the UI properly and css/images are messed up for them. The cache containing static content is not available for unlogged in users.

      Anyone aware of this issue?

    We are facing similar issue with Jenkins. Logged in users are working fine and able to see the UI properly. But unlogged in users are not able to view the UI properly and css/images are messed up for them. The cache containing static content is not available for unlogged in users.

    Anyone aware of this issue?

  22. jenkins-infra-bot commented on Nov 24, 2025

    @jenkins-infra-bot
    Author

    [Original duplicates from Jira: JENKINS-17684]

  23. jenkins-infra-bot commented on Nov 24, 2025

    @jenkins-infra-bot
    Author

    [Original duplicates from Jira: JENKINS-22442]

  24. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions