Installing Older Versions of Gitlab on Ununtu

I need some help with a self hosted gitlab-ce install. The server running our previous instance died and I am trying to set things up on a new machine. The gitlab version for the most recent backup we have is 8.17. My understanding (and please correct me if I’m wrong) is that the installed version of gitlab has to be the same as the version used to create the backup in order to do a restore. So that means I need to find an omnibus package for gitlab-ce of version 8.17.

When I try to actually track down the correct package though, I can’t seem to find one that matches my OS ( Ubunutu Bionic 18.04). The oldest version of gitlab listed for that distro is v10. If I try to do an apt-get install for gitlab I get a message saying ‘version not found’.

Please help, I have no clue how to proceed from here.

Hi @pbuchheit,

GitLab 8.17 was packages were only built for precise, trusty, and xenial (not 18.04 Bionic).

If you install 8.17.x on Ubuntu 16.04 Xenial, you should be able to restore from backup without any problems.

Be sure to indicate the version you’d like to install at the time of installation:

sudo apt-get install gitlab-ce=8.17.x-ce.0

The GitLab version # must match the backup exactly for restoration to be successful.

Hi @gitlab-greg
Any chance we can still install Gitlab CE version 12.5.5 in Ubuntu 18.04 through Omnibus? I need to replicate an old instance and do some test.

Hi, welcome to the GitLab community forum! :tada:

You can install GitLab CE 12.5.5 via apt package manager on Ubuntu with:

sudo apt-get install gitlab-ce=12.5.5-ce.0

See here for other examples: