Mohammad Reza Mousavi
Mohammad Reza Mousavi

Reputation: 1474

Upgrading from Gitlab 13.11.4 to Gitlab 14.2.3

I change GitLab docker image to latest version but after run, service doesn't start and just log this, What should I do?

    Current version: gitlab-ce=14.2.3-ce.0
    
    Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
    And restart this container to reload settings.
    To do it use docker exec:
    
      docker exec -it gitlab editor /etc/gitlab/gitlab.rb
      docker restart gitlab
    
    For a comprehensive list of configuration options please see the Omnibus GitLab readme
    https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
    
    If this container fails to start due to permission problems try to fix it by executing:
    
      docker exec -it gitlab update-permissions
      docker restart gitlab
    
    Cleaning stale PIDs & sockets
    It seems you are upgrading from major version 13 to major version 14.
    It is required to upgrade to the latest 14.0.x version first before proceeding.
    Please follow the upgrade documentation at https://docs.gitlab.com/ee/update/index.html#upgrading-to-a-new-major-version

Upvotes: 0

Views: 6277

Answers (2)

Mohammad Reza Mousavi
Mohammad Reza Mousavi

Reputation: 1474

Upgrade version steps: 8.11.Z -> 8.12.0 -> 8.17.7 -> 9.5.10 -> 10.8.7 -> 11.11.8 -> 12.0.12 -> 12.1.17 -> 12.10.14 -> 13.0.14 - > 13.1.11 -> 13.8.8 -> latest 13.12.Z -> latest 14.0.Z -> 14.1.Z -> latest 14.Y.Z

Upvotes: 0

swingbit
swingbit

Reputation: 2745

The answer is already in your post:

It seems you are upgrading from major version 13 to major version 14. It is required to upgrade to the latest 14.0.x version first before proceeding. Please follow the upgrade documentation at https://docs.gitlab.com/ee/update/index.html#upgrading-to-a-new-major-version

This gives more information.

Ideally, you should:

  1. take a backup of your data folder
  2. upgrade to 13.12.11-ce (the last minor of your current major release)
  3. upgrade to 14.0.10-ce (the first minor of the new major release)
  4. upgrade to 14.2.3-ce (your target, i.e. the last minor of the new major release)

Check here for an up-to-date list of docker images.

Upvotes: 3

Related Questions