Migrating from 7.8.0 to 15.5.4

Hi all,

Not sure if this is even possible, and not without possibly performing a bunch of incremental upgrades.

Source server:
Ubuntu 13.10
Gitlab CE 7.8.0
Rake 0.9.6

Destination Server:
Alma 8
Gitlab CE 15.5.4

Not sure if I need to create a bunch of incremental servers, git installs, and export/imports to properly convert data or if there’s an easier/less time consuming way, e.g.
ubu 13.10/git 7.8 > ubu 14.04/git 8.x > ubu 15.04/git 9.x > etc.

Thanks!

The fact your Ubuntu version is old, then unless packages are available to allow you to upgrade to Ubuntu 14.x, 16.x, 18.x, 20.x - not sure how long the packages reside on Ubuntu’s archived mirrors for the very old versions. But if they did, then it would be something like:

  1. Upgrading to latest possible Gitlab version on Ubuntu 13.10 ensuring to follow upgrade-path to ensure not missing important versions that include database migrations.
  2. Upgrade Ubuntu to 14.04.
  3. Upgrade to latest possible Gitlab version on Ubuntu 14.04 and again following upgrade-path to ensure not missing important versions that include database migrations.
  4. Upgrade to Ubuntu 16.04
  5. Repeat upgrade gitlab following upgrade-path.
  6. Upgrade to Ubuntu 18.04
  7. Repeat upgrade gitlab following upgrade-path.
  8. Upgrade to Ubuntu 20.04
  9. Repeat upgrade gitlab following upgrade-path.

Once you get to 15.5.4, then you could then do a backup, and then restore it to 15.5.4 on Alma - following the Gitlab backup/restore documentation.

It’s not going to be quick, and it’s not going to be easy. It’s going to take a long time, jumping through a lot of Gitlab upgrades, ensuring migrations run, and ensuring you don’t start the next upgrade until background migrations have finished.

Not sure how many repositories you have, might be easier just to export them and then import them on a new install, but you will not have all your old data from the old install, issues for example, wiki also perhaps. Plus a lot of other things.