Skip to content
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

External PostgreSQL - Segmentation fault citing LooseForeignKeys::CleanupWorker causes complete database restart #154

Open
yserkann opened this issue Sep 2, 2022 · 0 comments

Comments

@yserkann
Copy link

yserkann commented Sep 2, 2022

We use both sameersbn/gitlab and sameersbn/docker-postgresql Images in our self hosted Gitlab. After upgrading to Gitlab v15.3.1, we started getting the error message "External PostgreSQL - Segmentation fault citing LooseForeignKeys::CleanupWorker causes complete database restart" and the Postgresql Server started boot looping every minute. The error message was the same, which is described on gitlab.com here

The reason was the Postgresql Version that is used in the image, which is 12.3, but according to the fix described on the above gitlab.com page, it should have been minimum 12.7 or higher. And because of our current setup, we didn't want to use official Postgresql Docker image. Therefore we had to create our own Image by using sameersbn/docker-postgresql Repo, iot upgrade Postgresql to 12.12 (the latest version of 12). When we created the image to test without changing anything, the image pulled the latest version of Postgresql automatically, so we could get 12.12 in our docker Image! The error messages did not show up again and our gitlab Docker instance started as expected.

So, @sameersbn , if you can simply release your image again, by creating a new one without changing anything, we will have an up-to-date docker-postgresql Image and it will function as expected.

If this repo is not maintained anymore and a new version is not released, to anybody having the same issue: Just clone the repo locally and create the image yourself, without changing anything. It will automatically pull the postgresql 12.12 automatically and you will be good to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant