meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
git:gitlab:issues [2023/06/20 09:08] niziakgit:gitlab:issues [2024/10/01 10:24] (current) niziak
Line 1: Line 1:
 ====== Gitlab issues ====== ====== Gitlab issues ======
 +
 +===== disallowed submodule url =====
 +
 +Repocheck failes:
 +
 +<file log /var/log/gitlab/gitlab-rails/repocheck.log>
 +ERROR -- : my_group/my_project: Could not fsck repository: error in blob eb87a57adefc985514ddc8ae1fa4e6749c7d8211: gitmodulesUrl: disallowed submodule url: https://gitlab.example.com:my_group/my_project.git
 +</file>
 +
 +  * [[https://stackoverflow.com/questions/55569644/how-to-fix-gitmodulespath-disallowed-submodule-path-on-git-fsck|How to fix 'gitmodulesPath: disallowed submodule path' on 'git fsck']]
 +  * [[https://gitlab.com/gitlab-org/gitlab/-/issues/462567|repocheck fails with "disallowed submodule url"]]
 +
 +<file ruby gitlab.rb>
 +    gitaly['configuration'] = {
 +         git: {
 +          config: [
 +            { key: "fetch.fsck.gitmodulesUrl", value: "ignore" },
 +            { key: "fsck.gitmodulesUrl", value: "ignore" },
 +
 +          ],
 +         },
 +    }
 +</file>
 +
 +<code bash>sudo gitlab-ctl reconfigure</code>
  
 ===== One project failed its last repository check.  ===== ===== One project failed its last repository check.  =====
Line 15: Line 40:
 git fsck git fsck
 </code> </code>
- 
  
 ===== Failed to add control inotify watch descriptor for control group ===== ===== Failed to add control inotify watch descriptor for control group =====