jbtrystram / immich-podman-systemd

A set of podman quadlet unit files to deploy immich-app
11 stars 4 forks source link

Failed to start immich-pod.service: Unit immich-pod.service not found. #5

Open jasonblewis opened 3 weeks ago

jasonblewis commented 3 weeks ago

I just tried this but the line to start the immich-pod service doesn't fined the .service

root@snow:~/source/immich-podman-systemd# systemctl --user -M immich@.host start immich-pod.service
Failed to start immich-pod.service: Unit immich-pod.service not found.

does the immich-pod.service get auto generated?

jbtrystram commented 3 weeks ago

Yes ! The service files are auto generated by quadlet. systemctl daemon-reload will run the generator.

Systemd generators run very early at boot, so there is no logs unfortunately.

You can test your files running /usr/libexec/podman/quadlet -dryrun

jasonblewis commented 3 weeks ago

for clarity, I was trying to run this as a rootless podman.

I am running on debian stable which only had podman v4.3.1. I suspect it doesn't have the quadlet program.

jbtrystram commented 3 weeks ago

support for .pod was added in 4.9 so yeah, that's a issue