[Group Activity Analytics] All-numeric name causes `Failed to load group activity metrics. Please try again.`
Summary
On self-managed instances (tested on 13.7
and 13.12.0-ee
) when creating a new group with a name that only consists of digits, the group gets created but the group activity analytics section displays the following error: Failed to load group activity metrics. Please try again
. So far, I haven't been able to replicate the behavior on SaaS yet but would expect it to happen there too due to this code.
Steps to reproduce
On a self-managed instance (e.g. latest version 13.12.0-ee
), do the following:
- Log in to your GitLab instance
- Click on the
+
sign at the top ->New group
- Enter group name
123789
and clickCreate group
- Result: the group will be created, but a red banner will be displayed:
Failed to load group activity metrics. Please try again.
Example Project
I have not been able to reproduce the same behavior on GitLab.com so far.
What is the current bug behavior?
On self-managed instances: When a group that only contains digits in the group name is being created, the group is being created, but an error is being displayed: Failed to load group activity metrics. Please try again.
. This error shows up every time the group is accessed (e.g. go to http://yourGitLabInstance.example.com/123789).
What is the expected correct behavior?
When creating a group with a name that only contains digits, the error message should not appear at the top and group analytics should be loaded for the correct group. Looking at the code, at the moment it seems that the identifier is treated as the group id if the group name only consists of digits (rather than the full_path
), resulting in that group not to be found and then the group activity metrics not being found.
Relevant logs and/or screenshots
Browser console errors for my GitLab instance:
GET http://sc.gitlab.example.com/api/v4/analytics/group_activity/issues_count?group_path=23598 404 (Not Found)
GET http://sc.gitlab.example.com/api/v4/analytics/group_activity/merge_requests_count?group_path=23598 404 (Not Found)
GET http://sc.gitlab.example.com/api/v4/analytics/group_activity/new_members_count?group_path=23598 404 (Not Found)
And from the rails logs when creating a group named 23598
:
==> /var/log/gitlab/gitlab-rails/api_json.log <==
{"time":"2021-05-26T08:18:03.969Z","severity":"INFO","duration_s":0.01294,"db_duration_s":0.00138,"view_duration_s":0.01156,"status":404,"method":"GET","path":"/api/v4/analytics/group_activity/issues_count","params":[{"key":"group_path","value":"23598"}],"host":"sc.gitlab.example.com","remote_ip":"192.168.1.36, 127.0.0.1, 127.0.0.1","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36","route":"/api/:version/analytics/group_activity/issues_count","user_id":1,"username":"root","queue_duration_s":0.029222,"redis_calls":1,"redis_duration_s":0.000408,"redis_read_bytes":181,"redis_write_bytes":697,"redis_shared_state_calls":1,"redis_shared_state_duration_s":0.000408,"redis_shared_state_read_bytes":181,"redis_shared_state_write_bytes":697,"db_count":2,"db_write_count":0,"db_cached_count":0,"cpu_s":0.033414,"mem_objects":12526,"mem_bytes":486744,"mem_mallocs":2081,"mem_total_bytes":987784,"correlation_id":"01F6KW12GPNMWJ8E6DKTVB0TZZ","meta.user":"root","meta.caller_id":"GET /api/:version/analytics/group_activity/issues_count","meta.remote_ip":"192.168.1.36","meta.feature_category":"planning_analytics","meta.client_id":"user/1"}
==> /var/log/gitlab/gitlab-workhorse/current <==
{"content_type":"application/json","correlation_id":"01F6KW12GPNMWJ8E6DKTVB0TZZ","duration_ms":44,"host":"sc.gitlab.example.com","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://sc.gitlab.example.com/23598","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":404,"system":"http","time":"2021-05-26T10:18:03+02:00","ttfb_ms":44,"uri":"/api/v4/analytics/group_activity/issues_count?group_path=23598","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36","written_bytes":33}
==> /var/log/gitlab/nginx/gitlab_access.log <==
127.0.0.1 - - [26/May/2021:10:18:03 +0200] "GET /api/v4/analytics/group_activity/issues_count?group_path=23598 HTTP/1.0" 404 33 "http://sc.gitlab.example.com/23598" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" -
==> /var/log/gitlab/gitlab-rails/api_json.log <==
{"time":"2021-05-26T08:18:03.976Z","severity":"INFO","duration_s":0.01708,"db_duration_s":0.00158,"view_duration_s":0.0155,"status":404,"method":"GET","path":"/api/v4/analytics/group_activity/merge_requests_count","params":[{"key":"group_path","value":"23598"}],"host":"sc.gitlab.example.com","remote_ip":"192.168.1.36, 127.0.0.1, 127.0.0.1","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36","route":"/api/:version/analytics/group_activity/merge_requests_count","user_id":1,"username":"root","queue_duration_s":0.0313,"redis_calls":1,"redis_duration_s":0.000282,"redis_read_bytes":181,"redis_write_bytes":697,"redis_shared_state_calls":1,"redis_shared_state_duration_s":0.000282,"redis_shared_state_read_bytes":181,"redis_shared_state_write_bytes":697,"db_count":2,"db_write_count":0,"db_cached_count":0,"cpu_s":0.038994,"mem_objects":13471,"mem_bytes":1006864,"mem_mallocs":2570,"mem_total_bytes":1545704,"correlation_id":"01F6KW12GQ466DQ83VAETMXMBM","meta.user":"root","meta.caller_id":"GET /api/:version/analytics/group_activity/merge_requests_count","meta.remote_ip":"192.168.1.36","meta.feature_category":"planning_analytics","meta.client_id":"user/1"}
==> /var/log/gitlab/gitlab-workhorse/current <==
{"content_type":"application/json","correlation_id":"01F6KW12GQ466DQ83VAETMXMBM","duration_ms":51,"host":"sc.gitlab.example.com","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://sc.gitlab.example.com/23598","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":404,"system":"http","time":"2021-05-26T10:18:03+02:00","ttfb_ms":51,"uri":"/api/v4/analytics/group_activity/merge_requests_count?group_path=23598","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36","written_bytes":33}
==> /var/log/gitlab/nginx/gitlab_access.log <==
127.0.0.1 - - [26/May/2021:10:18:03 +0200] "GET /api/v4/analytics/group_activity/merge_requests_count?group_path=23598 HTTP/1.0" 404 33 "http://sc.gitlab.example.com/23598" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" -
...
==> /var/log/gitlab/gitlab-rails/api_json.log <==
{"time":"2021-05-26T08:18:04.092Z","severity":"INFO","duration_s":0.0933,"db_duration_s":0.00276,"view_duration_s":0.09054,"status":404,"method":"GET","path":"/api/v4/analytics/group_activity/new_members_count","params":[{"key":"group_path","value":"23598"}],"host":"sc.gitlab.example.com","remote_ip":"192.168.1.36, 127.0.0.1, 127.0.0.1","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36","route":"/api/:version/analytics/group_activity/new_members_count","user_id":1,"username":"root","queue_duration_s":0.071848,"redis_calls":3,"redis_duration_s":0.002123,"redis_read_bytes":506,"redis_write_bytes":807,"redis_cache_calls":2,"redis_cache_duration_s":0.000857,"redis_cache_read_bytes":325,"redis_cache_write_bytes":111,"redis_shared_state_calls":1,"redis_shared_state_duration_s":0.001266,"redis_shared_state_read_bytes":181,"redis_shared_state_write_bytes":696,"db_count":3,"db_write_count":0,"db_cached_count":0,"cpu_s":0.136133,"mem_objects":79989,"mem_bytes":7473803,"mem_mallocs":17041,"mem_total_bytes":10673363,"correlation_id":"01F6KW12GQ466DQ83VAG9QWF89","meta.user":"root","meta.caller_id":"GET /api/:version/analytics/group_activity/new_members_count","meta.remote_ip":"192.168.1.36","meta.feature_category":"planning_analytics","meta.client_id":"user/1"}
==> /var/log/gitlab/gitlab-workhorse/current <==
{"content_type":"application/json","correlation_id":"01F6KW12GQ466DQ83VAG9QWF89","duration_ms":167,"host":"sc.gitlab.example.com","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://sc.gitlab.example.com/23598","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":404,"system":"http","time":"2021-05-26T10:18:04+02:00","ttfb_ms":167,"uri":"/api/v4/analytics/group_activity/new_members_count?group_path=23598","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36","written_bytes":33}
==> /var/log/gitlab/nginx/gitlab_access.log <==
127.0.0.1 - - [26/May/2021:10:18:04 +0200] "GET /api/v4/analytics/group_activity/new_members_count?group_path=23598 HTTP/1.0" 404 33 "http://sc.gitlab.example.com/23598" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" -
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) ``` System information System: Ubuntu 18.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.7.2p137 Gem Version: 3.1.4 Bundler Version:2.1.4 Rake Version: 13.0.3 Redis Version: 6.0.12 Git Version: 2.31.1 Sidekiq Version:5.2.9 Go Version: unknown GitLab information Version: 13.12.0-ee Revision: 12a3ec8fb4a Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 12.6 URL: http://sc.gitlab.example.com HTTP Clone URL: http://sc.gitlab.example.com/some-group/some-project.git SSH Clone URL: git@sc.gitlab.example.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: saml GitLab Shell Version: 13.18.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 ``` (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)sabine@sabine-lenovo:~$ sudo gitlab-rake gitlab:check SANITIZE=true Checking GitLab subtasks ... Checking GitLab Shell ... GitLab Shell: ... GitLab Shell version >= 13.18.0 ? ... OK (13.18.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 (cluster/worker) ... 1/1 Checking Sidekiq ... Finished Checking Incoming Email ... Incoming Email: ... Reply by email is disabled in config/gitlab.yml 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 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? ... skipped (no tmp uploads folder yet) 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: ... 2/1 ... yes 6/2 ... yes 21/3 ... yes 21/4 ... yes 21/5 ... yes 21/6 ... yes 21/7 ... yes 21/8 ... yes 21/9 ... yes 21/10 ... yes 21/11 ... yes 21/12 ... yes 21/13 ... yes 21/14 ... yes 21/15 ... yes 21/16 ... yes 21/17 ... yes 21/18 ... yes 21/19 ... yes 21/20 ... yes 21/21 ... yes 21/22 ... yes 21/23 ... yes 21/24 ... yes 21/25 ... yes 21/26 ... yes 21/27 ... yes 21/28 ... yes 21/29 ... yes 21/30 ... yes 21/31 ... yes 21/32 ... yes 21/33 ... yes 21/34 ... yes 21/35 ... yes 21/36 ... yes 21/37 ... yes 21/38 ... yes 21/39 ... yes 21/40 ... yes 21/41 ... yes 21/42 ... yes 21/43 ... yes 21/44 ... yes 21/45 ... yes 21/46 ... yes 21/47 ... yes 21/48 ... yes 21/49 ... yes 21/50 ... yes 21/51 ... yes 21/52 ... yes 21/53 ... yes 21/54 ... yes 21/55 ... yes 21/56 ... yes 21/57 ... yes 21/58 ... yes 21/59 ... yes 21/60 ... yes 21/61 ... yes 21/62 ... yes 21/63 ... yes 21/64 ... yes 21/65 ... yes 21/66 ... yes 21/67 ... yes 21/68 ... yes 21/69 ... yes 21/70 ... yes 21/71 ... yes 21/72 ... yes 21/73 ... yes 21/74 ... yes 21/75 ... yes 21/76 ... yes 21/77 ... yes 21/78 ... yes 21/79 ... yes 21/80 ... yes 21/81 ... yes 21/82 ... yes 21/83 ... yes 21/84 ... yes 21/85 ... yes 21/86 ... yes 21/87 ... yes 21/88 ... yes 21/89 ... yes 21/90 ... yes 21/91 ... yes 21/92 ... yes 21/93 ... yes 21/94 ... yes 21/95 ... yes 21/96 ... yes 21/97 ... yes 21/98 ... yes 21/99 ... yes 21/100 ... yes 21/101 ... yes 21/102 ... yes 21/103 ... yes 21/104 ... yes 21/105 ... yes 21/106 ... yes 21/107 ... yes 21/108 ... yes 21/109 ... yes 21/110 ... yes 21/111 ... yes 21/112 ... yes 21/113 ... yes 21/114 ... yes 21/115 ... yes 21/116 ... yes 21/117 ... yes 21/118 ... yes 21/119 ... yes 21/120 ... yes 21/121 ... yes 21/122 ... yes 21/123 ... yes 21/124 ... yes 21/125 ... yes 21/126 ... yes 21/127 ... yes 21/128 ... yes 21/129 ... yes 21/130 ... yes 21/131 ... yes 21/132 ... yes 21/133 ... yes 21/134 ... yes 21/135 ... yes 21/136 ... yes 21/137 ... yes 21/138 ... yes 21/139 ... yes 21/140 ... yes 21/141 ... yes 21/142 ... yes 21/143 ... yes 21/144 ... yes 21/145 ... yes 21/146 ... yes 21/147 ... yes 21/148 ... yes 21/149 ... yes 21/150 ... yes 21/151 ... yes 21/152 ... yes 21/153 ... yes 21/154 ... yes 21/155 ... yes 21/156 ... yes 21/157 ... yes 21/158 ... yes 21/159 ... yes 21/160 ... yes 21/161 ... yes 21/162 ... yes 21/163 ... yes 21/164 ... yes 21/165 ... yes 21/166 ... yes 21/167 ... yes 21/168 ... yes 21/169 ... yes 21/170 ... yes 21/171 ... yes 21/172 ... yes 21/173 ... yes 21/174 ... yes 21/175 ... yes 21/176 ... yes 21/177 ... yes 21/178 ... yes 21/179 ... yes 21/180 ... yes 21/181 ... yes 21/182 ... yes 21/183 ... yes 21/184 ... yes 21/185 ... yes 21/186 ... yes 21/187 ... yes 21/188 ... yes 21/189 ... yes 21/190 ... yes 21/191 ... yes 21/192 ... yes 21/193 ... yes 21/194 ... yes 21/195 ... yes 21/196 ... yes 21/197 ... yes 21/198 ... yes 21/199 ... yes 21/200 ... yes 21/201 ... yes 21/202 ... yes 21/203 ... yes 21/204 ... yes 21/205 ... yes 21/206 ... yes 21/207 ... yes 21/208 ... yes 21/209 ... yes 21/210 ... yes 21/211 ... yes 21/212 ... yes 21/213 ... yes 21/214 ... yes 21/215 ... yes 21/216 ... yes 21/217 ... yes 21/218 ... yes 21/219 ... yes 21/220 ... yes 21/221 ... yes 21/222 ... yes 21/223 ... yes 21/224 ... yes 21/225 ... yes 21/226 ... yes 21/227 ... yes 21/228 ... yes 21/229 ... yes 21/230 ... yes 21/231 ... yes 21/232 ... yes 21/233 ... yes 21/234 ... yes 21/235 ... yes 21/236 ... yes 21/237 ... yes 21/238 ... yes 21/239 ... yes 21/240 ... yes 21/241 ... yes 21/242 ... yes 21/243 ... yes 21/244 ... yes 21/245 ... yes 21/246 ... yes 21/247 ... yes 21/248 ... yes 21/249 ... yes 21/250 ... yes 21/251 ... yes 21/252 ... yes 21/253 ... yes 21/254 ... yes 21/255 ... yes 21/256 ... yes 21/257 ... yes 21/258 ... yes 21/259 ... yes 21/260 ... yes 21/261 ... yes 21/262 ... yes 21/263 ... yes 21/264 ... yes 21/265 ... yes 21/266 ... yes 21/267 ... yes 21/268 ... yes 21/269 ... yes 21/270 ... yes 21/271 ... yes 21/272 ... yes 21/273 ... yes 21/274 ... yes 21/275 ... yes 21/276 ... yes 21/277 ... yes 21/278 ... yes 21/279 ... yes 21/280 ... yes 21/281 ... yes 21/282 ... yes 21/283 ... yes 21/284 ... yes 21/285 ... yes 21/286 ... yes 21/287 ... yes 21/288 ... yes 21/289 ... yes 21/290 ... yes 21/291 ... yes 21/292 ... yes 21/293 ... yes 21/294 ... yes 21/295 ... yes 21/296 ... yes 21/297 ... yes 21/298 ... yes 21/299 ... yes 21/300 ... yes 21/301 ... yes 21/302 ... yes 21/303 ... yes 21/304 ... yes 21/305 ... yes 21/306 ... yes 21/307 ... yes 21/308 ... yes 21/309 ... yes 21/310 ... yes 21/311 ... yes 21/312 ... yes 21/313 ... yes 21/314 ... yes 21/315 ... yes 21/316 ... yes 21/317 ... yes 21/318 ... yes 21/319 ... yes 21/320 ... yes 21/321 ... yes 21/322 ... yes 21/323 ... yes 21/324 ... yes 21/325 ... yes 21/326 ... yes 21/327 ... yes 21/328 ... yes 21/329 ... yes 21/330 ... yes 21/331 ... yes 21/332 ... yes 21/333 ... yes 21/334 ... yes 21/335 ... yes 21/336 ... yes 21/337 ... yes 21/338 ... yes 21/339 ... yes 21/340 ... yes 21/341 ... yes 21/342 ... yes 21/343 ... yes 21/344 ... yes 21/345 ... yes 21/346 ... yes 21/347 ... yes 21/348 ... yes 21/349 ... yes 21/350 ... yes 21/351 ... yes 21/352 ... yes 21/353 ... yes 21/354 ... yes 21/355 ... yes 21/356 ... yes 21/357 ... yes 21/358 ... yes 21/359 ... yes 21/360 ... yes 21/361 ... yes 21/362 ... yes 21/363 ... yes 21/364 ... yes 21/365 ... yes 21/366 ... yes 21/367 ... yes 21/368 ... yes 21/369 ... yes 21/370 ... yes 21/371 ... yes 21/372 ... yes 21/373 ... yes 21/374 ... yes 21/375 ... yes 21/376 ... yes 21/377 ... yes 21/378 ... yes 21/379 ... yes 21/380 ... yes 21/381 ... yes 21/382 ... yes 21/383 ... yes 21/384 ... yes 21/385 ... yes 21/386 ... yes 21/387 ... yes 21/388 ... yes 21/389 ... yes 21/390 ... yes 21/391 ... yes 21/392 ... yes 21/393 ... yes 21/394 ... yes 21/395 ... yes 21/396 ... yes 21/397 ... yes 21/398 ... yes 21/399 ... yes 21/400 ... yes 21/401 ... yes 21/402 ... yes 21/403 ... yes 21/404 ... yes 21/405 ... yes 21/406 ... yes 21/407 ... yes 21/408 ... yes 21/409 ... yes 21/410 ... yes 21/411 ... yes 21/412 ... yes 21/413 ... yes 21/414 ... yes 21/415 ... yes 21/416 ... yes 21/417 ... yes 21/418 ... yes 21/419 ... yes 21/420 ... yes 21/421 ... yes 21/422 ... yes 21/423 ... yes 21/424 ... yes 21/425 ... yes 21/426 ... yes 21/427 ... yes 21/428 ... yes 21/429 ... yes 21/430 ... yes 21/431 ... yes 21/432 ... yes 21/433 ... yes 21/434 ... yes 21/435 ... yes 21/436 ... yes 21/437 ... yes 21/438 ... yes 21/439 ... yes 21/440 ... yes 21/441 ... yes 21/442 ... yes 21/443 ... yes 21/444 ... yes 21/445 ... yes 21/446 ... yes 21/447 ... yes 21/448 ... yes 21/449 ... yes 21/450 ... yes 21/451 ... yes 21/452 ... yes 21/453 ... yes 21/454 ... yes 21/455 ... yes 21/456 ... yes 21/457 ... yes 21/458 ... yes 21/459 ... yes 21/460 ... yes 21/461 ... yes 21/462 ... yes 21/463 ... yes 21/464 ... yes 21/465 ... yes 21/466 ... yes 21/467 ... yes 21/468 ... yes 21/469 ... yes 21/470 ... yes 21/471 ... yes 21/472 ... yes 21/473 ... yes 21/474 ... yes 21/475 ... yes 21/476 ... yes 21/477 ... yes 21/478 ... yes 21/479 ... yes 21/480 ... yes 21/481 ... yes 21/482 ... yes 21/483 ... yes 21/484 ... yes 21/485 ... yes 21/486 ... yes 21/487 ... yes 21/488 ... yes 21/489 ... yes 21/490 ... yes 21/491 ... yes 21/492 ... yes 21/493 ... yes 21/494 ... yes 21/495 ... yes 21/496 ... yes 21/497 ... yes 21/498 ... yes 21/499 ... yes 21/500 ... yes 21/501 ... yes 21/502 ... yes 21/503 ... yes 21/504 ... yes 21/505 ... yes 21/506 ... yes 21/507 ... yes 21/508 ... yes 21/509 ... yes 21/510 ... yes 21/511 ... yes 21/512 ... yes 21/513 ... yes 21/514 ... yes 21/515 ... yes 21/516 ... yes 21/517 ... yes 21/518 ... yes 21/519 ... yes 21/520 ... yes 21/521 ... yes 21/522 ... yes 21/523 ... yes 21/524 ... yes 21/525 ... yes 21/526 ... yes 21/527 ... yes 21/528 ... yes 21/529 ... yes 21/530 ... yes 21/531 ... yes 21/532 ... yes 21/533 ... yes 21/534 ... yes 21/535 ... yes 21/536 ... yes 21/537 ... yes 21/538 ... yes 21/539 ... yes 21/540 ... yes 21/541 ... yes 21/542 ... yes 21/543 ... yes 21/544 ... yes 21/545 ... yes 21/546 ... yes 21/547 ... yes 21/548 ... yes 21/549 ... yes 21/550 ... yes 21/551 ... yes 21/552 ... yes 21/553 ... yes 21/554 ... yes 21/555 ... yes 21/556 ... yes 21/557 ... yes 21/558 ... yes 21/559 ... yes 21/560 ... yes 21/561 ... yes 21/562 ... yes 21/563 ... yes 21/564 ... yes 21/565 ... yes 21/566 ... yes 21/567 ... yes 21/568 ... yes 21/569 ... yes 21/570 ... yes 21/571 ... yes 21/572 ... yes 21/573 ... yes 21/574 ... yes 21/575 ... yes 21/576 ... yes 21/577 ... yes 21/578 ... yes 21/579 ... yes 21/580 ... yes 21/581 ... yes 21/582 ... yes 21/583 ... yes 21/584 ... yes 21/585 ... yes 21/586 ... yes 21/587 ... yes 21/588 ... yes 21/589 ... yes 21/590 ... yes 21/591 ... yes 21/592 ... yes 21/593 ... yes 21/594 ... yes 21/595 ... yes 21/596 ... yes 21/597 ... yes 21/598 ... yes 21/599 ... yes 21/600 ... yes 21/601 ... yes 21/602 ... yes 21/603 ... yes 21/604 ... yes 21/605 ... yes 21/606 ... yes 21/607 ... yes 21/608 ... yes 21/609 ... yes 21/610 ... yes 21/611 ... yes 21/612 ... yes 21/613 ... yes 21/614 ... yes 21/615 ... yes 21/616 ... yes 21/617 ... yes 21/618 ... yes 21/619 ... yes 21/620 ... yes 21/621 ... yes 21/622 ... yes 21/623 ... yes 21/624 ... yes 21/625 ... yes 21/626 ... yes 21/627 ... yes 21/628 ... yes 21/629 ... yes 21/630 ... yes 21/631 ... yes 21/632 ... yes 21/633 ... yes 21/634 ... yes 21/635 ... yes 21/636 ... yes 21/637 ... yes 21/638 ... yes 21/639 ... yes 21/640 ... yes 21/641 ... yes 21/642 ... yes 21/643 ... yes 21/644 ... yes 21/645 ... yes 21/646 ... yes 21/647 ... yes 21/648 ... yes 21/649 ... yes 21/650 ... yes 21/651 ... yes 21/652 ... yes 21/653 ... yes 21/654 ... yes 21/655 ... yes 21/656 ... yes 21/657 ... yes 21/658 ... yes 21/659 ... yes 21/660 ... yes 21/661 ... yes 21/662 ... yes 21/663 ... yes 21/664 ... yes 21/665 ... yes 21/666 ... yes 21/667 ... yes 21/668 ... yes 21/669 ... yes 21/670 ... yes 21/671 ... yes 21/672 ... yes 21/673 ... yes 21/674 ... yes 21/675 ... yes 21/676 ... yes 21/677 ... yes 21/678 ... yes 21/679 ... yes 21/680 ... yes 21/681 ... yes 21/682 ... yes 21/683 ... yes 21/684 ... yes 21/685 ... yes 21/686 ... yes 21/687 ... yes 21/688 ... yes 21/689 ... yes 21/690 ... yes 21/691 ... yes 21/692 ... yes 21/693 ... yes 21/694 ... yes 21/695 ... yes 21/696 ... yes 21/697 ... yes 21/698 ... yes 21/699 ... yes 21/700 ... yes 21/701 ... yes 21/702 ... yes 21/703 ... yes 21/704 ... yes 21/705 ... yes 21/706 ... yes 21/707 ... yes 21/708 ... yes 21/709 ... yes 21/710 ... yes 21/711 ... yes 21/712 ... yes 21/713 ... yes 21/714 ... yes 21/715 ... yes 21/716 ... yes 21/717 ... yes 21/718 ... yes 21/719 ... yes 21/720 ... yes 21/721 ... yes 21/722 ... yes 21/723 ... yes 21/724 ... yes 21/725 ... yes 21/726 ... yes 21/727 ... yes 21/728 ... yes 21/729 ... yes 21/730 ... yes 21/731 ... yes 21/732 ... yes 21/733 ... yes 21/734 ... yes 21/735 ... yes 21/736 ... yes 21/737 ... yes 21/738 ... yes 21/739 ... yes 21/740 ... yes 21/741 ... yes 21/742 ... yes 21/743 ... yes 21/744 ... yes 21/745 ... yes 21/746 ... yes 21/747 ... yes 21/748 ... yes 21/749 ... yes 21/750 ... yes 21/751 ... yes 21/752 ... yes 21/753 ... yes 21/754 ... yes 21/755 ... yes 21/756 ... yes 21/757 ... yes 21/758 ... yes 21/759 ... yes 21/760 ... yes 21/761 ... yes 21/762 ... yes 21/763 ... yes 21/764 ... yes 21/765 ... yes 21/766 ... yes 21/767 ... yes 21/768 ... yes 21/769 ... yes 21/770 ... yes 21/771 ... yes 21/772 ... yes 21/773 ... yes 21/774 ... yes 21/775 ... yes 21/776 ... yes 21/777 ... yes 21/778 ... yes 21/779 ... yes 21/780 ... yes 21/781 ... yes 21/782 ... yes 21/783 ... yes 21/784 ... yes 21/785 ... yes 21/786 ... yes 21/787 ... yes 21/788 ... yes 21/789 ... yes 21/790 ... yes 21/791 ... yes 21/792 ... yes 21/793 ... yes 21/794 ... yes 21/795 ... yes 21/796 ... yes 21/797 ... yes 21/798 ... yes 21/799 ... yes 21/800 ... yes 21/801 ... yes 21/802 ... yes 21/803 ... yes 21/804 ... yes 21/805 ... yes 21/806 ... yes 21/807 ... yes 21/808 ... yes 21/809 ... yes 21/810 ... yes 21/811 ... yes 21/812 ... yes 21/813 ... yes 21/814 ... yes 21/815 ... yes 21/816 ... yes 21/817 ... yes 21/818 ... yes 21/819 ... yes 21/820 ... yes 21/821 ... yes 21/822 ... yes 21/823 ... yes 21/824 ... yes 21/825 ... yes 21/826 ... yes 21/827 ... yes 21/828 ... yes 21/829 ... yes 21/830 ... yes 21/831 ... yes 21/832 ... yes 21/833 ... yes 21/834 ... yes 21/835 ... yes 21/836 ... yes 21/837 ... yes 21/838 ... yes 21/839 ... yes 21/840 ... yes 21/841 ... yes 21/842 ... yes 21/843 ... yes 21/844 ... yes 21/845 ... yes 21/846 ... yes 21/847 ... yes 21/848 ... yes 21/849 ... yes 21/850 ... yes 21/851 ... yes 21/852 ... yes 21/853 ... yes 21/854 ... yes 21/855 ... yes 21/856 ... yes 21/857 ... yes 21/858 ... yes 21/859 ... yes 21/860 ... yes 21/861 ... yes 21/862 ... yes 21/863 ... yes 21/864 ... yes 21/865 ... yes 21/866 ... yes 21/867 ... yes 21/868 ... yes 21/869 ... yes 21/870 ... yes 21/871 ... yes 21/872 ... yes 21/873 ... yes 21/874 ... yes 21/875 ... yes 21/876 ... yes 21/877 ... yes 21/878 ... yes 21/879 ... yes 21/880 ... yes 21/881 ... yes 21/882 ... yes 21/883 ... yes 21/884 ... yes 21/885 ... yes 21/886 ... yes 21/887 ... yes 21/888 ... yes 21/889 ... yes 21/890 ... yes 21/891 ... yes 21/892 ... yes 21/893 ... yes 21/894 ... yes 21/895 ... yes 21/896 ... yes 21/897 ... yes 21/898 ... yes 21/899 ... yes 21/900 ... yes 21/901 ... yes 21/902 ... yes 21/903 ... yes 21/904 ... yes 21/905 ... yes 21/906 ... yes 21/907 ... yes 21/908 ... yes 21/909 ... yes 21/910 ... yes 21/911 ... yes 21/912 ... yes 21/913 ... yes 21/914 ... yes 21/915 ... yes 21/916 ... yes 21/917 ... yes 21/918 ... yes 21/919 ... yes 21/920 ... yes 21/921 ... yes 21/922 ... yes 21/923 ... yes 21/924 ... yes 21/925 ... yes 21/926 ... yes 21/927 ... yes 21/928 ... yes 21/929 ... yes 21/930 ... yes 21/931 ... yes 21/932 ... yes 21/933 ... yes 21/934 ... yes 21/935 ... yes 21/936 ... yes 21/937 ... yes 21/938 ... yes 21/939 ... yes 21/940 ... yes 21/941 ... yes 21/942 ... yes 21/943 ... yes 21/944 ... yes 21/945 ... yes 21/946 ... yes 21/947 ... yes 21/948 ... yes 21/949 ... yes 21/950 ... yes 21/951 ... yes 21/952 ... yes 21/953 ... yes 21/954 ... yes 21/955 ... yes 21/956 ... yes 21/957 ... yes 21/958 ... yes 21/959 ... yes 21/960 ... yes 21/961 ... yes 21/962 ... yes 21/963 ... yes 21/964 ... yes 21/965 ... yes 21/966 ... yes 21/967 ... yes 21/968 ... yes 21/969 ... yes 21/970 ... yes 21/971 ... yes 21/972 ... yes 21/973 ... yes 21/974 ... yes 21/975 ... yes 21/976 ... yes 21/977 ... yes 21/978 ... yes 21/979 ... yes 21/980 ... yes 21/981 ... yes 21/982 ... yes 21/983 ... yes 21/984 ... yes 21/985 ... yes 21/986 ... yes 21/987 ... yes 21/988 ... yes 21/989 ... yes 21/990 ... yes 21/991 ... yes 21/992 ... yes 21/993 ... yes 21/994 ... yes 21/995 ... yes 21/996 ... yes 21/997 ... yes 21/998 ... yes 21/999 ... yes 21/1000 ... yes 21/1001 ... yes 21/1002 ... yes 21/1003 ... yes 17/1004 ... yes 6/1005 ... yes 17/1006 ... yes 5/1007 ... yes 5/1008 ... yes 5/1009 ... yes 17/1010 ... yes 17/1011 ... yes 17/1012 ... yes 5/1013 ... yes 21/1014 ... yes 21/1015 ... yes 17/1016 ... yes 17/1017 ... yes 5/1018 ... yes 17/1019 ... yes 17/1020 ... yes 17/1021 ... yes 1/1022 ... yes Redis version >= 5.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.2) Git version >= 2.31.0 ? ... yes (2.31.1) Git user has default SSH configuration? ... yes Active users: ... 8 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes Elasticsearch version 7.x (6.4 - 6.x deprecated to be removed in 13.8)? ... skipped (elasticsearch is disabled) Checking GitLab App ... Finished Checking GitLab subtasks ... Finished
(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
The Group Activity Analytics API endpoint at /api/v4/analytics/group_activity/merge_requests_count should always interpret the group_path
param as a path, never as an ID. More specifically, it should not rely on API::Helpers#find_group(id) because that assumes a numeric string is an ID, whic is incorrect for numeric paths. (That is called by API::Analytics::GroupActivityAnalytics: @group ||= find_group!(params[:group_path])
.)