404 /assets/webpack/main.7539c74898ef3ae85a9a.bundle.js HTTP/2.0"
Summary
Users are able to browse gitlab but when clicking on a file within a repo the following URLs give a 404 (from nginx gitlab-access.log)
- - [05/Apr/2018:12:15:25 +0100] "GET /assets/webpack/common.d333d4787e1122192689.bundle.js HTTP/2.0" 404 19 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
- - [05/Apr/2018:12:15:25 +0100] "GET /assets/webpack/main.7539c74898ef3ae85a9a.bundle.js HTTP/2.0" 404 19 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
gitlab_error.log
2018/04/05 11:47:03 [error] 19110#0: *470 connect() to unix:/var/opt/gitlab/gitlab-workhorse/socket failed (111: Connection refused) while connecting to upstream, client: 172.16.14.43, server: git, request: "GET /assets/webpack/main.7539c74898ef3ae85a9a.bundle.js HTTP/2.0", upstream: "http://unix:/var/opt/gitlab/gitlab-workhorse/socket:/assets/webpack/main.7539c74898ef3ae85a9a.bundle.js", host: "git"
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 14.04 Current User: git Using RVM: no Ruby Version: 2.3.6p384 Gem Version: 2.6.13 Bundler Version:1.13.7 Rake Version: 12.3.0 Redis Version: 3.2.11 Git Version: 2.14.3 Sidekiq Version:5.0.5 Go Version: unknownGitLab information Version: 10.6.3 Revision: 753d851 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://git HTTP Clone URL: https://git/some-group/some-project.git SSH Clone URL: git@git:some-group/some-project.git Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 6.0.4 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...GitLab Shell version >= 6.0.4 ? ... OK (6.0.4) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ...
... lots of OK output ...
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml Checking LDAP ...
Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) ... removed ...
Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.3.6) Git version >= 2.9.5 ? ... yes (2.14.3) Git user has default SSH configuration? ... yes Active users: ... 227
Checking GitLab ... Finished
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)