I see gitlabctl try to upgrade the database but it’s saying that it times out, why is that ? this is preventing us from upgrading gitlab to the latest version currently.
Versions
Please select whether options apply, and add the version information.
Did you stop gitlab before running the apt update? If so then that would be the problem. Gitlab doesn’t need to be stopped and should be left running. It will stop the services itself during the upgrade process.
Your screenshot seems to hint at the fact they were stopped first, else they would have been running (up).
The procedure i followed so far for the upgrades has been:
put the gitlab in maintenance mode
make a VM snapshot
run apt install gitlab-ee=[targetedversion]
once gitlab is back up, put it out of maintenance mode
So, i didn’t actually stop gitlab entirely, i just put it in maintenance mode. Is this a problem during the upgrade ? i didn’t think it would cause issues. as it didn’t so far (i’ve been upgrading gitlab this exact way ever since gitlab version 15)
Strange, as it looks like some of the gitlab services were stopped before the upgrade. If you didn’t then the process you are using is OK. Seems weird though.
From the last screenshot for postgresql it says check the logs, please go through the postgresql logs and perhaps other ones and search for errors/problems.
Hello, some news:
so i didn’t try to upgrade gitlab like yesterday, instead i just upgraded the postgresql database from version 13.13 (as seen in the screenshot above) to version 14.10, which ran without any issues: