Questions about valkey and postgres #30397
|
Hi all, started using Immich about 5 to 6 months ago, basically work fine on my Ugreen DXP2800. Recently, start checking the docker app on native UGOS and found out some msg about postgres and valkey, either saying some error on image for both of them. That said, seems the whole immich service is fine, can access them, search, add photos etc. Looking at the docker compose yaml and noticed some diff in my version against the sample yaml from immich on "image" statement of the respective service. So updated those 2 "image" statements on yaml and redeployed, the errors on these 2 images still around from the UGOS docker apps perspective, and as before, the whole service is fine. Here are the 2 statements : "image: docker.io/valkey/valkey:9@sha256:8e8d64b405ce18f41b8e5ee20aa4687a8ed0022d1298f2ce31cdcf3a76e09411
|
Replies: 1 comment 2 replies
|
I would not upgrade PostgreSQL to 16 just because PostgreSQL 16 is newer. The important thing here is to follow the database image from the Immich release you are actually running. The current official Immich Compose configuration still uses a PostgreSQL 14 based image: image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:...and Valkey is also pinned to a specific image/digest. So those versions are intentional dependencies, not simply outdated containers. A PostgreSQL major-version upgrade is also not the same as updating a normal application container. You should not change: while reusing the same data directory unless you follow a proper PostgreSQL migration procedure ( Since Immich itself is working correctly, I would:
In short: I would keep PostgreSQL 14 here. Do not manually move to PostgreSQL 16 just because a newer major version exists. The same principle applies to Valkey: use the image pinned by the Immich release rather than independently tracking the newest tag. |
I would not upgrade PostgreSQL to 16 just because PostgreSQL 16 is newer.
The important thing here is to follow the database image from the Immich release you are actually running. The current official Immich Compose configuration still uses a PostgreSQL 14 based image:
and Valkey is also pinned to a specific image/digest.
So those versions are intentional dependencies, not simply outdated containers.
A PostgreSQL major-version upgrade is also not the same as updating a normal application container. You should not change:
while reusing the same data directory unless you follow a pr…