web-ide Error while loading project data. please try again.
Summary
On our gitlab instance the web-ide introduced with 10.7 to CE does not show files in repo and throws:
Error while loading the project data. Please try again.
This is true for all repos I tested in our installation. It is not dependent on subgroups or slashes in branch of the project as in #45412 (closed) or #45530 (closed) .
Steps to reproduce
Example Project
I could not reproduce the bug on gitlab.com but created a public example project at
https://git.idiv.de/-/ide/project/dsarpe/test-web-ide/edit/master/
But one needs to sign in to use the web IDE.
What is the current bug behavior?
In the browsers JS Console one error and four warnings appear
Unhandled promise rejection
Error: Project not loaded dsarpe/test-web-ide
Stack trace:
Vn/</<@https://git.idiv.de/assets/webpack/ide.9d224d30e1f53e6a88a3.bundle.js:6:59393
O/</<@https://git.idiv.de/assets/webpack/common.42cdc2fc181a202dfdd8.bundle.js:2:45200
O/<@https://git.idiv.de/assets/webpack/common.42cdc2fc181a202dfdd8.bundle.js:2:45070
l@https://git.idiv.de/assets/webpack/common.42cdc2fc181a202dfdd8.bundle.js:2:25652
Source map error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://git.idiv.de/assets/webpack/webpack_runtime.17c9cc9c3b426cc48253.bundle.js
Source Map URL: webpack_runtime.17c9cc9c3b426cc48253.bundle.js.map[Learn More]
Source map error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://git.idiv.de/assets/webpack/common.42cdc2fc181a202dfdd8.bundle.js
Source Map URL: common.42cdc2fc181a202dfdd8.bundle.js.map[Learn More]
Source map error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://git.idiv.de/assets/webpack/main.62a3b66be6f90fe6aeea.bundle.js
Source Map URL: main.62a3b66be6f90fe6aeea.bundle.js.map[Learn More]
Source map error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://git.idiv.de/assets/webpack/ide.9d224d30e1f53e6a88a3.bundle.js
Source Map URL: ide.9d224d30e1f53e6a88a3.bundle.js.map[Learn More]
Source map error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://git.idiv.de/assets/webpack/emoji.417855bdfb79bfed184f.chunk.js
Source Map URL: emoji.417855bdfb79bfed184f.chunk.js.map[Learn More]
Relevant logs and/or screenshots
Let me know which ones could be helpful. A quick scan with gitlab-ctl tail while accessing the Web IDE did not reveal anything obvious.
Results of GitLab environment info
Our gitlab application is sitting behind a webproxy.
Expand for output related to GitLab environment info
System information System: Scientific 6.9 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: unknown
GitLab information Version: 10.7.0 Revision: 2011c9b Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://git.idiv.de HTTP Clone URL: https://git.idiv.de/some-group/some-project.git SSH Clone URL: git@gitlab.idiv.de:some-group/some-project.git Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 7.1.2 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 >= 7.1.2 ? ... OK (7.1.2) 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: ... 3/1 ... ok 3/2 ... ok 3/3 ... ok 3/4 ... ok 8/5 ... ok 8/6 ... ok 8/8 ... ok 8/9 ... ok 8/10 ... ok 8/11 ... ok 8/12 ... ok 13/15 ... ok 8/16 ... ok 16/19 ... ok 16/20 ... ok 16/21 ... ok 128/22 ... ok 128/23 ... ok 8/25 ... ok 3/26 ... ok 8/27 ... repository is empty 128/28 ... ok 3/29 ... ok 17/31 ... ok 8/34 ... ok 13/36 ... ok 19/37 ... ok 28/38 ... ok 19/39 ... ok 28/40 ... ok 30/41 ... ok 13/42 ... ok 32/44 ... repository is empty 37/45 ... repository is empty 15/48 ... ok 13/50 ... repository is empty 19/53 ... ok 8/54 ... ok 8/55 ... ok 44/56 ... ok 28/59 ... ok 21/60 ... ok 42/62 ... repository is empty 8/64 ... ok 39/65 ... ok 19/66 ... ok 8/68 ... ok 16/71 ... ok 128/72 ... ok 8/73 ... repository is empty 19/74 ... ok 8/75 ... ok 8/77 ... ok 13/78 ... ok 26/79 ... ok 13/80 ... ok 19/81 ... ok 13/82 ... repository is empty 52/83 ... ok 17/85 ... ok 17/86 ... ok 17/87 ... ok 13/88 ... repository is empty 8/89 ... ok 8/90 ... ok 13/91 ... ok 41/93 ... ok 13/95 ... ok 28/96 ... ok 15/97 ... ok 17/98 ... ok 46/99 ... ok 28/100 ... ok 28/101 ... ok 8/102 ... ok 8/103 ... ok 46/104 ... ok 61/105 ... ok 63/106 ... ok 8/107 ... ok 68/109 ... ok 62/110 ... ok 61/111 ... ok 17/112 ... ok 17/113 ... ok 8/114 ... ok 63/116 ... ok 70/117 ... ok 66/118 ... ok 40/119 ... ok 74/120 ... ok 75/121 ... repository is empty 17/122 ... ok 28/123 ... ok 8/124 ... ok 62/125 ... ok 8/126 ... ok 24/127 ... ok 13/128 ... ok 12/129 ... ok 8/130 ... ok 13/132 ... ok 16/133 ... ok 90/135 ... ok 8/136 ... ok 42/137 ... ok 42/138 ... ok 90/139 ... ok 37/140 ... repository is empty 94/141 ... ok 8/142 ... ok 8/143 ... ok 13/144 ... ok 8/146 ... ok 13/147 ... ok 8/148 ... ok 13/149 ... ok 13/150 ... ok 13/151 ... ok 13/152 ... ok 12/153 ... repository is empty 15/154 ... ok 13/155 ... ok 8/156 ... ok 102/157 ... ok 19/158 ... ok 104/159 ... ok 28/160 ... ok 39/161 ... ok 45/162 ... ok 15/164 ... ok 15/165 ... ok 107/166 ... repository is empty 8/167 ... ok 8/168 ... ok 19/169 ... ok 19/170 ... ok 8/171 ... ok 113/172 ... ok 42/173 ... ok 42/174 ... ok 16/175 ... ok 13/176 ... repository is empty 82/177 ... ok 82/178 ... ok 13/179 ... ok 26/182 ... ok 28/183 ... repository is empty 12/184 ... ok 106/185 ... ok 8/186 ... ok 119/193 ... ok 121/194 ... repository is empty 11/195 ... repository is empty 119/196 ... ok 119/197 ... ok 15/198 ... ok 26/199 ... ok 26/200 ... ok 26/201 ... ok 28/202 ... ok 26/204 ... ok 28/205 ... ok 56/206 ... repository is empty 42/207 ... ok 107/209 ... ok 8/210 ... ok 8/211 ... ok 8/212 ... ok 13/214 ... ok 8/215 ... ok 8/216 ... ok 19/219 ... ok 8/220 ... ok 13/221 ... ok 16/222 ... repository is empty 8/223 ... ok 93/224 ... ok 93/225 ... repository is empty 93/226 ... ok 26/228 ... ok 93/229 ... ok 93/230 ... ok 13/231 ... ok 119/232 ... ok 8/233 ... repository is empty 42/234 ... ok 131/235 ... ok 8/236 ... repository is empty 119/237 ... ok 116/238 ... ok 119/239 ... ok 28/240 ... ok 93/241 ... ok 93/242 ... repository is empty 93/243 ... ok 93/244 ... ok 131/245 ... ok 13/246 ... repository is empty 19/247 ... ok 17/249 ... ok 119/250 ... ok 13/251 ... ok 19/252 ... ok 42/253 ... ok 93/254 ... repository is empty 11/255 ... repository is empty 26/256 ... repository is empty 145/258 ... repository is empty 97/259 ... ok 128/260 ... ok 128/261 ... ok 8/262 ... ok 28/263 ... ok 13/264 ... repository is empty 8/265 ... ok 13/266 ... ok 8/267 ... ok 8/268 ... ok 8/269 ... ok 8/270 ... ok 128/271 ... ok 42/273 ... ok 15/275 ... ok 19/276 ... ok 151/277 ... ok 131/278 ... ok 8/279 ... ok 153/281 ... repository is empty 131/282 ... ok 94/283 ... repository is empty 8/284 ... ok 19/285 ... ok 28/286 ... ok 15/287 ... ok 8/288 ... ok 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: ldapidiv LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) REDACTED
Checking LDAP ... Finished
Checking GitLab ...
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: ... 3/1 ... yes 3/2 ... yes 3/3 ... yes 3/4 ... yes 8/5 ... yes 8/6 ... yes 8/8 ... yes 8/9 ... yes 8/10 ... yes 8/11 ... yes 8/12 ... yes 13/15 ... yes 8/16 ... yes 16/19 ... yes 16/20 ... yes 16/21 ... yes 128/22 ... yes 128/23 ... yes 8/25 ... yes 3/26 ... yes 8/27 ... yes 128/28 ... yes 3/29 ... yes 17/31 ... yes 8/34 ... yes 13/36 ... yes 19/37 ... yes 28/38 ... yes 19/39 ... yes 28/40 ... yes 30/41 ... yes 13/42 ... yes 32/44 ... yes 37/45 ... yes 15/48 ... yes 13/50 ... yes 19/53 ... yes 8/54 ... yes 8/55 ... yes 44/56 ... yes 28/59 ... yes 21/60 ... yes 42/62 ... yes 8/64 ... yes 39/65 ... yes 19/66 ... yes 8/68 ... yes 16/71 ... yes 128/72 ... yes 8/73 ... yes 19/74 ... yes 8/75 ... yes 8/77 ... yes 13/78 ... yes 26/79 ... yes 13/80 ... yes 19/81 ... yes 13/82 ... yes 52/83 ... yes 17/85 ... yes 17/86 ... yes 17/87 ... yes 13/88 ... yes 8/89 ... yes 8/90 ... yes 13/91 ... yes 41/93 ... yes 13/95 ... yes 28/96 ... yes 15/97 ... yes 17/98 ... yes 46/99 ... yes 28/100 ... yes 28/101 ... yes 8/102 ... yes 8/103 ... yes 46/104 ... yes 61/105 ... yes 63/106 ... yes 8/107 ... yes 68/109 ... yes 62/110 ... yes 61/111 ... yes 17/112 ... yes 17/113 ... yes 8/114 ... yes 63/116 ... yes 70/117 ... yes 66/118 ... yes 40/119 ... yes 74/120 ... yes 75/121 ... yes 17/122 ... yes 28/123 ... yes 8/124 ... yes 62/125 ... yes 8/126 ... yes 24/127 ... yes 13/128 ... yes 12/129 ... yes 8/130 ... yes 13/132 ... yes 16/133 ... yes 90/135 ... yes 8/136 ... yes 42/137 ... yes 42/138 ... yes 90/139 ... yes 37/140 ... yes 94/141 ... yes 8/142 ... yes 8/143 ... yes 13/144 ... yes 8/146 ... yes 13/147 ... yes 8/148 ... yes 13/149 ... yes 13/150 ... yes 13/151 ... yes 13/152 ... yes 12/153 ... yes 15/154 ... yes 13/155 ... yes 8/156 ... yes 102/157 ... yes 19/158 ... yes 104/159 ... yes 28/160 ... yes 39/161 ... yes 45/162 ... yes 15/164 ... yes 15/165 ... yes 107/166 ... yes 8/167 ... yes 8/168 ... yes 19/169 ... yes 19/170 ... yes 8/171 ... yes 113/172 ... yes 42/173 ... yes 42/174 ... yes 16/175 ... yes 13/176 ... yes 82/177 ... yes 82/178 ... yes 13/179 ... yes 26/182 ... yes 28/183 ... yes 12/184 ... yes 106/185 ... yes 8/186 ... yes 119/193 ... yes 121/194 ... yes 11/195 ... yes 119/196 ... yes 119/197 ... yes 15/198 ... yes 26/199 ... yes 26/200 ... yes 26/201 ... yes 28/202 ... yes 26/204 ... yes 28/205 ... yes 56/206 ... yes 42/207 ... yes 107/209 ... yes 8/210 ... yes 8/211 ... yes 8/212 ... yes 13/214 ... yes 8/215 ... yes 8/216 ... yes 19/219 ... yes 8/220 ... yes 13/221 ... yes 16/222 ... yes 8/223 ... yes 93/224 ... yes 93/225 ... yes 93/226 ... yes 26/228 ... yes 93/229 ... yes 93/230 ... yes 13/231 ... yes 119/232 ... yes 8/233 ... yes 42/234 ... yes 131/235 ... yes 8/236 ... yes 119/237 ... yes 116/238 ... yes 119/239 ... yes 28/240 ... yes 93/241 ... yes 93/242 ... yes 93/243 ... yes 93/244 ... yes 131/245 ... yes 13/246 ... yes 19/247 ... yes 17/249 ... yes 119/250 ... yes 13/251 ... yes 19/252 ... yes 42/253 ... yes 93/254 ... yes 11/255 ... yes 26/256 ... yes 145/258 ... yes 97/259 ... yes 128/260 ... yes 128/261 ... yes 8/262 ... yes 28/263 ... yes 13/264 ... yes 8/265 ... yes 13/266 ... yes 8/267 ... yes 8/268 ... yes 8/269 ... yes 8/270 ... yes 128/271 ... yes 42/273 ... yes 15/275 ... yes 19/276 ... yes 151/277 ... yes 131/278 ... yes 8/279 ... yes 153/281 ... yes 131/282 ... yes 94/283 ... yes 8/284 ... yes 19/285 ... yes 28/286 ... yes 15/287 ... yes 8/288 ... yes 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: ... 121
Checking GitLab ... Finished