I am running gitlab-ce=16.11.3-ce.0 on Ubuntu 18.04. I want to update the gitlab to latest version. The latest version 17.X is supported only on Ubuntu 20 and above. I am facing below challenges.
Upgrade path 16.11.3-ce.0 >> 16.11.7-ce.0 >> 17.x-ce
When upgrading to 16.11.7.ce.0 I am getting below error ::
Setting up gitlab-ce (16.11.7-ce.0) ...
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /opt/gitlab/embedded/lib/libruby.so.3.1)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/gitlab/embedded/lib/libruby.so.3.1)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /opt/gitlab/embedded/lib/libruby.so.3.1)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/gitlab/embedded/lib/libjemalloc.so.2)
dpkg: error processing package gitlab-ce (--configure):
installed gitlab-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
GLIBC above 2.27 is only available from Ubuntu 19.0 onwards
If it do the OS upgrade directly, gitlab is getting updated to the latest 17.x by skipping 16.11.7
Will skipping 16.11.7 cause any problem? What are the other options available
Not sure it helps you, but I am running the Debian VM with gitlab preinstalled, which I d/l from gitlab.com, and I had no issues whatsoever with going from 16 to 17.