this post was submitted on 19 Mar 2026
0 points (50.0% liked)

Podman

186 readers
8 users here now

founded 2 years ago
MODERATORS
 

I have 4 containers setup for Immich:

immich
immich-database
immich-machine-learning
immich-redis

However my Immich container fails to start on boot. And I read in the error log that has to do with the immich-database not finishing starting.

[Unit]
Description=Immich Server
Requires=immich-redis.container immich-database.container
Wants=immich-machine-learning.container

[Container]
ContainerName=immich
AutoUpdate=registry
Network=immich.network
Network=caddy
Image=ghcr.io/immich-app/immich-server:release
Pull=newer
Volume=/mnt/raid/homecloud/immichmedia:/data:z
Volume=/etc/localtime:/etc/localtime:ro
PublishPort=2283:2283
AddDevice=/dev/dri
EnvironmentFile=%h/.immich-env

[Service]
TimeoutStartSec=1000

[Install]
WantedBy=default.target
top 2 comments
sorted by: hot top controversial new old
[โ€“] ccryx@discuss.tchncs.de 2 points 6 days ago (1 children)

You are missing an After= for your database and redis containers.

[โ€“] dudesss@lemmy.ca 1 points 6 days ago

Worked! Thank you :)