I am running Version 13.5.4 on Debian 10. I am attempting to upgrade to the latest version and I am getting the following error message. I have gone into the documentation and could not seem to find any upgrade path from 13.5.4. How can I upgrade to the latest version?
root@gitlab01:/etc/gitlab# apt upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following package was automatically installed and is no longer required:
linux-image-4.19.0-8-amd64
Use ‘apt autoremove’ to remove it.
The following packages will be upgraded:
gitlab-ce
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/963 MB of archives.
After this operation, 439 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs… Done
(Reading database … 122190 files and directories currently installed.)
Preparing to unpack …/gitlab-ce_14.4.0-ce.0_amd64.deb …
gitlab preinstall: It seems you are upgrading from major version 13 to major version 14.
gitlab preinstall: It is required to upgrade to the latest 14.0.x version first before proceeding.
gitlab preinstall: Please follow the upgrade documentation at Upgrading GitLab | GitLab
dpkg: error processing archive /var/cache/apt/archives/gitlab-ce_14.4.0-ce.0_amd64.deb (–unpack):
new gitlab-ce package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/gitlab-ce_14.4.0-ce.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@gitlab01:/etc/gitlab#