r/immich • u/Foreignwelcome2 • 4d ago
update guide 4 containers (docker)
hey yall
im running immich in docker with Arcane as docker manager and very confused about updating:
1- updating immcih server & machine learning
is straight forward just change the image 3.41 -->3.42 i.e (ghcr.io/immich-app/immich-server:v3.4.1)--> (ghcr.io/immich-app/immich-server:v3.4.2) after (reading logs and breaking changes)
2- what about "postgres"?
i understand immich do their own postgres packages in this link https://github.com/immich-app/base-images/pkgs/container/postgres
and even the docker builder by immich uses a full image tag with digest for example image: ghcr.io/immich-app/postgres:18-vectorchord1.1.1@sha256:cad0d3a7dc0d5321f42feeb3a0a1d6ec80551cd9be52a7ffb640494d74cb3926
OK cool but in that github i cant find any change-log or notes for these packages? how often should i update? when should i migrate and which postgres does immich support? also any breaking changes?
atm im running PostgreSQL 18!
more confusing i see some packages with the tag UPGRADE when should i use such tag only if upgrading to from earlier postgresSQL i.e 14-17?
3- what about "redis"?
unlike postgres this is not packaged or maintained by immich?
how often to upgrade? which versions immich support? also why immich builder suggest to use digest with postgres and redis is there a benifit?
docker.io/valkey/valkey:9@sha256:3add1a336a920ea54770a001ab6feb3da5fceea96a40373a3a2cd469b815f0b7
honestly i couldnt find straight answers and updating immich seems like a task? id appreciate some clarification!
thx
3
u/clintkev251 4d ago edited 4d ago
As far as how often to update Redis and Postgres, it’s really up to you. I personally always update to the latest with a lag time of about 2 days, but they’re backend services so you could certainly upgrade far less frequently with no significant downside
2
u/Friendly_Potential69 4d ago
I had/have the same struggle everytime, why there is no easy recommended dependencies for each versions of immich?
1
u/dwarfsoft 1d ago
I built my own shell script that pulls down the official immich docker compose and env file and compiles it, then pulls out the resulting images, and checks that against the running containers.
It notifies uptime kuma via push notification, and then I know to go and update my compose file and redeploy.
I've ended up expanding this exact script to other multi image stacks like paperless-ngx and Firefly-iii.
Having to update the digest hash manually is annoying, but eventually I'll script up something to allow me to initiate an automated update (or schedule one) by:
1
u/OkSeaweed1121 21h ago
Buonasera a tutti, io anche vorrei capire come procedere... Il mio immich è installato su Raspberry 5 con CasaOS e quindi docker-compose a rotta di collo. Il mio attuale immich ha queste immagini:
Database stable(14-vectorchord0.3.0-pgvectors0.2.0@sha256:c570d9e1c2494f65d2a0a379a7f6df66e8441964254a30aa62cc58e8ebf1dee0)
Machine-learning 4.3.2 (ultimo)
Server 4.3.2 (ultimo)
Redis 6.2-Alpine
Come mi consigliate di procedere? Tutte le foto che ho sono collegate tramite Raspberry ad un bay esterno, in raid, con cartelle montate appunto esternamente, non usando il backup automatico, lo faccio io in manuale ogni volta.
Grazie a tutti per l'aiuto
0
u/Awesome_Knowwhere 4d ago
I just copy-paste the new compose version and then see the diffs and then accordingly accept/reject the changes, quite simple for me!!