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
Upgrade zulip-postgresql container image based on postgres 14 #21211
Comments
@alexmv You are probably aware of this, but tagging you just in case. |
Hello @zulip/server-production members, this issue was labeled with the "area: production" label, so you may want to check it out! |
I wasn't aware of it -- thanks for calling it out. We don't have any build steps written down for how the zulip-postgresql container image was generated. My belief is that it's just adding the tsearchextras extension, which we can do with a very minor layer atop the official image. I think the more complicated question, which I don't have an answer to off the top of my head, is how we manage the database upgrade path. We can't just drop in a new version of the postgresql container, since the data files would still be for postgresql 10. We may need something like https://github.com/tianon/docker-postgres-upgrade to upgrade the data, and we'll need to document some manual steps to do so. |
The zulip-postgresql container is built from Dockerfile-postgresql. The build instructions there are a bit of a lie: a mere
|
Ugh, why is the postgresql container the one Dockerfile in zulip/zulip? |
Because we have no upgrade path for the data in the PostgreSQL databases themselves, this is pushed as, e.g., `zulip/zulip-postgresql:14` and *not* as `zulip/zulip-postgresql:latest`. Fixes: zulip#21211 Co-authored-by: Alex Vandiver <alexmv@zulip.com>
Because we have no upgrade path for the data in the PostgreSQL databases themselves, this is pushed as, e.g., `zulip/zulip-postgresql:14` and *not* as `zulip/zulip-postgresql:latest`. Fixes: zulip#21211 Co-authored-by: Alex Vandiver <alexmv@zulip.com>
The PostgreSQL database details say:
But the current zulip-postgresql container image is still based on postgres 10.
Please provide a version based on postgres 14.
The text was updated successfully, but these errors were encountered: