Upgrade path from 11.0.3 to latest 13

Hi,

I inherited a legacy GitLab server with 11.0.3 version I have to upgrade to latest 13. I have reviewed the upgrade path in Upgrading GitLab | GitLab but I not sure how to go from 11.0.3 to 11.3.4 to start the rest of the incremental upgrades. Could I go directly from 11.0.3 to 11.3.4 or should I do other intermediate upgrades? Thanks for help.

https://docs.gitlab.com/ee/update/index.html#upgrade-paths

based on that, you go from 11.0.3 to 11.11.8. There will be downtime needed. Otherwise, for zero downtime, or almost zero downtime, you have do to every single upgrade from 11.0.3 which would be hundreds of them.

So better, follow the upgrade path as per the docs:

10.8.7 β†’ 11.11.8 β†’ 12.0.12 β†’ 12.1.17 β†’ 12.10.14 β†’ 13.0.14 β†’ 13.1.11 - > latest 13.Y.Z

and make sure also as per upgrade docs, after doing each version upgrade, check for background migrations before continuing the next upgrade:

https://docs.gitlab.com/ee/update/index.html#checking-for-background-migrations-before-upgrading

the command for checking is at the link. So in summary.

  1. Upgrade 11.0.3 to 11.11.8.
  2. Check background migrations. When result is zero, the next upgrade can be started.

and repeat for each upgrade. Make sure you have a backup of your server in case something goes wrong, because then it’s easier to restore the system and start again.

1 Like

Thanks for your help