Issues pages do not consistently load successfully
Summary
After upgrading to 13.0.3-ee (d27df234), when loading issue pages some content loads successfully while other components do not.
Steps to reproduce
The error can be replicated in our environment by doing a hard reload (shift + click on reload in Chrome), and corrected by a standard reload (click on reload in Chrome).
Example Project
Unable to replicate on gitlab.com.
What is the current bug behavior?
When the issue page fails to fully load some content sits and spins indefinitely.
Content that loads:
- Issue title and description
- Milestone
- Due date
- Labels
- Author
Content that sits and spins:
- Assignee
- Time tracking
- Comments
- Linked issues
- 'Create merge request' button, shows 'Checking branch availability'
The components that fail to load are consistent each time, and is consistent across issues both within and across projects.
What is the expected correct behavior?
All issue content should load.
Relevant logs and/or screenshots
Inspecting the browser console shows a few 404's:
GET https://.../assets/webpack/runtime.d005afc1.bundle.js net::ERR_ABORTED 404 (Not Found)GET https://.../assets/webpack/pages.projects.issues.show.29d3e58a.chunk.js net::ERR_ABORTED 404 (Not Found)
One or both of the above are present with each hard reload.
Logs from gitlab-ctl tail:
{"correlation_id":"gSn8pXEUnU9","duration_ms":0,"host":"...","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"https://.../-/issues/1","remote_addr":"...:0","remote_ip":"...","status":404,"system":"http","time":"2020-06-01T20:23:04Z","uri":"/assets/webpack/runtime.d005afc1.bundle.js","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36","written_bytes":19}
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
System information
System: Ubuntu 18.04
Proxy: no
Current User: git
Using RVM: no
Ruby Version: 2.6.6p146
Gem Version: 2.7.10
Bundler Version:1.17.3
Rake Version: 12.3.3
Redis Version: 5.0.9
Git Version: 2.26.2
Sidekiq Version:5.2.7
Go Version: unknown
GitLab information
Version: 13.0.3-ee
Revision: d27df234886
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 11.6
URL: https://...
HTTP Clone URL: https://.../some-group/some-project.git
SSH Clone URL: git@...:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: google_oauth2
GitLab Shell
Version: 13.2.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 13.2.0 ? ... OK (13.2.0)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Internal API available: OK
Redis available via internal API: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Checking Reply by email ...
IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped
MailRoom running? ... skipped
Checking Reply by email ... Finished
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Projects have namespace: ...
4/1 ... yes
4/4 ... yes
8/5 ... yes
10/7 ... yes
10/8 ... yes
10/9 ... yes
10/10 ... yes
10/11 ... yes
10/12 ... yes
10/13 ... yes
8/15 ... yes
8/18 ... yes
7/21 ... yes
7/22 ... yes
12/23 ... yes
12/25 ... yes
12/26 ... yes
4/27 ... yes
14/31 ... yes
12/32 ... yes
12/33 ... yes
6/34 ... yes
12/35 ... yes
12/36 ... yes
9/37 ... yes
12/38 ... yes
12/39 ... yes
25/40 ... yes
6/41 ... yes
7/43 ... yes
7/44 ... yes
9/45 ... yes
9/46 ... yes
31/47 ... yes
7/48 ... yes
4/49 ... yes
26/51 ... yes
32/52 ... yes
26/53 ... yes
34/54 ... yes
26/55 ... yes
32/56 ... yes
7/57 ... yes
7/58 ... yes
26/61 ... yes
7/68 ... yes
7/73 ... yes
26/74 ... yes
7/77 ... yes
7/103 ... yes
7/104 ... yes
7/106 ... yes
7/107 ... yes
20/109 ... yes
52/110 ... yes
54/111 ... yes
54/112 ... yes
67/113 ... yes
25/114 ... yes
70/116 ... yes
15/118 ... yes
25/120 ... yes
25/121 ... yes
7/122 ... yes
7/123 ... yes
71/124 ... yes
7/125 ... yes
75/126 ... yes
82/127 ... yes
121/128 ... yes
7/129 ... yes
75/130 ... yes
75/131 ... yes
83/132 ... yes
117/133 ... yes
117/134 ... yes
96/135 ... yes
88/137 ... yes
71/138 ... yes
71/139 ... yes
117/140 ... yes
88/141 ... yes
96/142 ... yes
118/143 ... yes
83/144 ... yes
117/145 ... yes
120/146 ... yes
7/147 ... yes
71/149 ... yes
71/151 ... yes
96/152 ... yes
7/153 ... yes
42/154 ... yes
42/155 ... yes
95/156 ... yes
95/157 ... yes
96/158 ... yes
119/159 ... yes
91/160 ... yes
96/161 ... yes
75/162 ... yes
81/163 ... yes
95/164 ... yes
95/165 ... yes
95/166 ... yes
99/167 ... yes
91/168 ... yes
96/169 ... yes
99/170 ... yes
75/171 ... yes
87/172 ... yes
104/173 ... yes
99/174 ... yes
118/175 ... yes
99/176 ... yes
71/177 ... yes
7/178 ... yes
15/179 ... yes
117/180 ... yes
91/181 ... yes
117/182 ... yes
99/183 ... yes
120/184 ... yes
81/185 ... yes
96/186 ... yes
117/187 ... yes
7/188 ... yes
116/190 ... yes
87/191 ... yes
117/192 ... yes
117/193 ... yes
121/194 ... yes
91/195 ... yes
95/196 ... yes
95/197 ... yes
81/198 ... yes
118/200 ... yes
11/201 ... yes
96/203 ... yes
121/204 ... yes
91/205 ... yes
91/206 ... yes
121/207 ... yes
99/208 ... yes
71/209 ... yes
121/210 ... yes
121/211 ... yes
81/212 ... yes
7/213 ... yes
Redis version >= 4.0.0? ... yes
Ruby version >= 2.5.3 ? ... yes (2.6.6)
Git version >= 2.22.0 ? ... yes (2.26.2)
Git user has default SSH configuration? ... yes
Active users: ... 42
Is authorized keys file accessible? ... yes
GitLab configured to store new projects in hashed storage? ... yes
All projects are in hashed storage? ... no
Try fixing it:
Please migrate all projects to hashed storage
as legacy storage is deprecated in 13.0 and support will be removed in 14.0.
For more information see:
doc/administration/repository_storage_types.md
Elasticsearch version 5.6 - 6.x? ... skipped (elasticsearch is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished