-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: relation "postgres_partitions" does not exist at character 454 #2283
Comments
I got exactly the same when upgrading. |
Any progress ? |
best, |
@tkyoga and @iliyahristov do you have found any solution? |
Facing the same issue when upgrading 12.10.6-1 -> 13.9.4 PostgreSQL: 12-20200524 Edit: Logs:
|
Switching to the nightly release resolved the error for me. It proceeded to perform the migration and upgrade. Not ideal to be on a nightly for some people, but it works. |
@turbra what do mean by nightly releases? |
Change your image tag from latest to nightly |
@turbra There is no nightly tag for sameersbn docker. What do you mean exactly? |
Does anyone have a solution? I've been running 13.5.4 for several months now, because I'm unable to upgrade. |
Sorry for the delay….by nightly I meant from the gitlab repo directly |
Thank you for your answer. I assume you mean gitlab/gitlab-ce:nightly/latest? Is it a drop-in replacement or did you have to change your volumes/env variables? |
The issue is/was a bug in gitlabs update and switching my compose to use gitlab/gitlab-ce:nightly resolved it. |
Just for others reading this: Please ignore turbras comments. Continuing with this: Does anyone know how to solve this? |
Anyone referring to this issue for non-docker vanilla installation of gitlab CE. One potential root cause is if the underlying OS doesnt support locale en_US.UTF-8, then you will see this error
Add the locale to your system using |
I'm also stuck in version 13.5.4 with the exact same issue. Any update soon ? |
I just run into the same issue with |
Thanks for the hint, but in my case this doesn't help. I deleted the old stuff with the script ./delete_old_cluster.sh. |
In my case, upgrading from 13.5.4 to 13.6.0 showed the same error message "ERROR: relation "postgres_partitions" does not exist at character 454" the FIRST time I launched 13.6.0, but after that I have been able to launch correctly and following recommended upgrade path (https://docs.gitlab.com/ee/update/#upgrade-paths) I finally upgraded to 14.0.5 without further issues. |
Any solution? Also stuck in version 13.5.4 with the exact same issue. |
@BruceLEO1969 in my case I had to upgrade to every single version of sameersbn tag by tag. It was the only way for us because of the upgrade path https://docs.gitlab.com/ee/update/#upgrade-paths. In some versions there was background migrations which we had to wait before applying the next update. But it was easy because is basically adjusting the docker-compose file, restart the containers and watch what was happening with docker logs. We started with a fresh backup from the original version and had to ignore some warning messages. If gitlab started and there was no background migrations, so we applied the next sameersbn tag on docker hub. We are now in 14.4.3. Hope it helps. |
|
I've upgraded gitlab(13.4.3->13.7.1) , I got following error.
How do I fix?
The text was updated successfully, but these errors were encountered: