Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5026

Closed
Open
Created Sep 10, 2013 by Administrator@rootOwner

Upgraded 5 to 6: Static files not refreshed

Created by: ghost

Hello,

After uploading Gitlab from 5 to 6, I notice that all the static assets are not refreshed, even after deleting browser cache. Strange enough, if I browse this logo image: /assets/login-logo-a7aed6adbb20e77d117701e62ad86a9f.png, the old (v5) log appears, but /assets/login-logo-a7aed6adbb20e77d117701e62ad86a9f.png?cacheremoval shows the v6 one.

As a result, the interface looks very ugly, as below:

image

My /var/log/nginx/gitlab_error.log is full of these errors:

2013/09/10 09:57:23 [crit] 9995#0: *404 stat() "/home/git/gitlab/public/favicon.ico" failed (13: Permission denied), client: 220.255.1.77, server: myserver.com, request: "GET /favicon.ico HTTP/1.1", host: "myserver.com"

These are the steps I've tried:

  • Deleting the browser cache
  • Incognito mode (well...)
  • Restarting nginx
  • Removing/renaming the /home/gitlab/public/assets folder
  • Running bundle exec rake assets:precompile RAILS_ENV=production
  • Running chmod o+x -R /home/git/

Any help?

Edited: If I browse the site using the unicorn port :8080, all the assets load beautifully.

Assignee
Assign to
Time tracking