getsentry / getsentry/self-hosted

Postgres alpine image introduces unique constraint index errors

Open
#3,167 19 comments 3 reactions 1 assignee Claimed by @hubertdeng123 View on GitHub
Bug Category: Docs
Dominant language
Shell
Stars
9.6k
Forks
2k
Avg merge
1d 3h
Merged PRs (30d)
12

Description

Between self-hosted releases 24.4.2 and 24.5.1, we've noticed that users have been experiencing issues with duplicate environments/releases. This is likely due to a mistake on our side to introduce the alpine version of postgres [here](https://github.com/getsentry/self-hosted/pull/2975). This has since been reverted back to the debian image, but there is likely quite a few of you experiencing issues.

We are creating this issue to document user issues and potential solutions. From here on out, we will only be using the debian image of postgres. We have since deleted self-hosted versions 24.4.2, 24.5.0, and 24.5.1

https://github.com/getsentry/self-hosted/issues/3161
https://github.com/getsentry/self-hosted/issues/3166

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.