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:
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.