Attempting to upgrade to 11 (as the admin suggests ASAP). Receiving the following error on apt-get upgrade:
After this operation, 32.2 MB of additional disk space will be used.
(Reading database … 150281 files and directories currently installed.)
Preparing to unpack …/gitlab-ce_11.0.2-ce.0_amd64.deb …
git_data_dir has been deprecated since 8.10 and removed in 11.0. Use git_data_dirs instead.
Deprecations found. Please correct them and try again.
dpkg: error processing archive /var/cache/apt/archives/gitlab-ce_11.0.2-ce.0_amd64.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/gitlab-ce_11.0.2-ce.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have the same problem. apt-get says: “git_data_dir has been deprecated since 8.10 and removed in 11.0. Use git_data_dirs instead.” However, my /etc/gitlab/gitlab.rb has the newer git_data_dirs already. Is there any other place where git_data_dir needs to be replaced?