I am trying to upgrade my GitLab from 12.9.2 to 13.1.4 by below command
#sudo gitlab-rake gitlab:backup:create STRATEGY=copy
#sudo apt-get update && sudo apt-get install gitlab-ce
Now I am getting below error. Plz, help me what can I do?
Preparing to unpack …/gitlab-ce_13.1.4-ce.0_amd64.deb …
gitlab preinstall: It seems you are upgrading from major version 12 to major version 13.
gitlab preinstall: It is required to upgrade to the latest 13.0.x version first before proceeding.
gitlab preinstall: Please follow the upgrade documentation at GitLab release and maintenance policy | GitLab
dpkg: error processing archive /var/cache/apt/archives/gitlab-ce_13.1.4-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_13.1.4-ce.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)