Cant Upgrade to new Gitlab version 16.8.1

I have installed gitlab as docker. I wanted to update the container to 16.8.1 today, but that doesn’t work
I get the following error message:
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

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 16.3.0 to 16.8.2.
It is required to upgrade to the latest 16.7.x version first before proceeding.
Please follow the upgrade documentation at Upgrade GitLab | GitLab

what can I do?

Which version you are running at the moment? 16.7.x is the required migration stop, as documentation says. You must upgrade to 16.7.x first, wait for migrations to finish, and then upgrade to 16.8.x.

2 Likes