We work with a docker image - gitlab 14.2.1-ee and subgit 3.3.11. We have synchronized git and svn. When trying to create a Label (annotated with Release) in the Gitlab-UI we are facing an error in pre-receive-hook log of subgit. We changed the core setting, according the error message - no effect. Leaving the text empty in Gitlab-UI will create the tag. Any Idea?
[2021-08-26 09:44:36.717][pre-receive] Received '(formatted-error (1746:UNRECOVERABLE ERROR:
Missing unknown 3cf6d948f46781597cbb30e5f6fd9b1d251fe806CURRENT STATE:
Git object 3cf6d948f46781597cbb30e5f6fd9b1d251fe806 can’t be accessed in the Git repository /var/opt/gitlab/git-data/repositories/@hashed/a5/12/a512db2741cd20693e4b16f19891e72b9ff12cead72761fc5e92d2aaf34740c1.git.POSSIBLE REASONS:
1) Git server is out of memory, available disk space,
processes count, or open files limits;
2) When pushing through SSH, the system user on behalf of which.
SubGit daemon is running is not allowed to read files created by SSH user.
1) Make sure Git server has enough memory, disk resources AND high enough
open handler and processes count limits.
2) When pushing through SSH, either
A) make sure the SSH user is the same user on behalf of which the SubGit is running
is the same as the system user which is the owner of the Git repository; OR
B) set ‘core.shared’ option to ‘true’ in SubGit configuration file, run
$ subgit install “/var/opt/gitlab/git-data/repositories/@hashed/a5/12/a512db2741cd20693e4b16f19891e72b9ff12cead72761fc5e92d2aaf34740c1.git”
to apply changes and make sure the owner of the Git repository and SSH user
belong to the same system group.
For details regarding sharing Git repository for a system group see:
Git - git-config Documentation Once you have (1) and (2) fixed, retry push.TO REPORT:
1) Get error log from the server at
‘/var/opt/gitlab/git-data/repositories/@hashed/a5/12/a512db2741cd20693e4b16f19891e72b9ff12cead72761fc5e92d2aaf34740c1.git/subgit/logs’ 2) Report an issue at https://support.tmatesoft.com/THANK YOU!
2327:org.tmatesoft.translator.util.i: UNRECOVERABLE ERROR:
Missing unknown 3cf6d948f46781597cbb30e5f6fd9b1d251fe806