Search code examples
dockergitlabgitlab-omnibusgitlab-ce

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

Solution

  • 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