docker-gitlab icon indicating copy to clipboard operation
docker-gitlab copied to clipboard

Upgrade From 9.5.2

Open mkfuron opened this issue 3 years ago • 2 comments

I have an upgrade process question. I have an old sameersbn/gitlab instance running 9.5.2. I know this is now several years behind.

I want to upgrade it to current code. When I first looked at the sameersbn/gitlab documentation, it seemed to say that a direct jump may be possible as long as I upgrade PostgreSQL to a later version. Specifically, the documentation says:

"Upgrading to sameersbn/gitlab:15.4.0 from sameersbn/gitlab:7.x.x can cause issues. It is therefore required that you first upgrade to sameersbn/gitlab:8.0.5-1 before upgrading to sameersbn/gitlab:8.1.0 or higher."

It also discusses the required PostgreSQL upgrade and prerequisites.

Other issues and comments seem to indicate that I need to follow the published Gitlab version upgrade sequence. To get from 9.5.2 to the current version would involve 15 or more steps. I could start that process, but it seems there are no sameersbn/gitlab versions still available for some of those releases.

Is there a recommendation for how to catch up from a release several years old?

If there is a better place for me to ask this question, please let me know and I will be happy to move the discussion there.

Help from anyone will be appreciated.

mkfuron avatar Sep 30 '22 04:09 mkfuron

you can update database first and do this first Managing PostgreSQL extensions

my update path is from 11 to latest (15) 11.11.0 -> 12.0.4 -> 12.1.3 -> 12.2.3 -> 12.10.4 -> 13.0.6 -> 13.2.6 -> 13.5.4 -> 13.11.1 -> 13.12.4 -> 14.0.6 -> 14.4.1 -> 14.6.2 -> 14.8.2 -> 14.9.0 -> 14.10.0 -> 14.10.5 -> 14.10.5 -> 15.0.1 -> 15.1.5 -> 15.2.3 -> 15.3.1

Maybe you can try to update to 11 first and watch the background_migrations done at any updates

106062 avatar Oct 14 '22 04:10 106062

I wonder if there is a location explaining the minimum require updates. ?

FYI: for folks who are starting upgrade from 14.8. These are the minimum requirements to get to the current latest 15.5.6

graph LR
14.8.2  --> 14.9.3  -->
14.10.5  -->
15.0.0 -->
15.4.0 -->
15.5.0 -->
15.5.6   

desnij avatar Dec 12 '22 18:12 desnij