Podman, can't install Jellyfin and run it on boot

I'm trying to run a Jellyfin config but I simply can't install it. Also, I'm trying to make it run on boot, as a service! Just for more context, i'm following the steps in this article: https://mo8it.com/blog/quadlet/ And my jellyfin.container file is like this:
[Container]
Image=docker.io/jellyfin/jellyfin:latest
AutoUpdate=registry
PublishPort=8093:8096
UserNS=keep-id
Volume=/run/media/jaizon/Storage/Docker/jellyfin/config:/config:Z
Volume=/run/media/jaizon/Storage/Docker/jellyfin/cache:/cache:Z
Volume=/run/media/jaizon/Storage:/data:Z

[Service]
Restart=always

[Install]
WantedBy=default.target
[Container]
Image=docker.io/jellyfin/jellyfin:latest
AutoUpdate=registry
PublishPort=8093:8096
UserNS=keep-id
Volume=/run/media/jaizon/Storage/Docker/jellyfin/config:/config:Z
Volume=/run/media/jaizon/Storage/Docker/jellyfin/cache:/cache:Z
Volume=/run/media/jaizon/Storage:/data:Z

[Service]
Restart=always

[Install]
WantedBy=default.target
But my systemctl --user start jellyfin fails: Job for jellyfin.service failed because the control process exited with error code.
7 Replies
wolfyreload
wolfyreload3w ago
You could make your life a little easier and just use the JellyfinServer flatpak https://flathub.org/apps/org.jellyfin.JellyfinServer. In then you can just add it to startup applications in the GUI (assuming that you using KDE) and you done.
Uzih
Uzih3w ago
That was my bad, it lacked context. I have many contaqined applications, like jellyfin, qbittorrent, Obsidina, Calibre and Calibre-web. They all have their respective folders with metada and configurations so whenever I change OSs I would just fire up docker and pull my images to those files. So it is not just about jellyfin, having my containers working is my priority, but it isn't working right now, starting from jellyfin. Flatpal would be fine, if I was able to make it use the config, cache and metadata from my container.
asen23
asen233w ago
can you run it sucessfuly in podman?
Uzih
Uzih3w ago
That's the thing though. Usin quadlets it installed, but i can't aceess it on the browser, even though it sais the port is open.
29f6cc2600d8 lscr.io/linuxserver/jellyfin:latest 9 hours ago Up 9 hours 0.0.0.0:8096->8096/tcp, 8096/tcp, 8920/tcp systemd-jellyfin
29f6cc2600d8 lscr.io/linuxserver/jellyfin:latest 9 hours ago Up 9 hours 0.0.0.0:8096->8096/tcp, 8096/tcp, 8920/tcp systemd-jellyfin
So i'd guess something is up with my podman, maybe
asen23
asen233w ago
i mean did you try running it using podman directly (not using quadlet), maybe the config are missing something or wrong
doomhound
doomhound3w ago
have you tried running netstat -tnlp to see if the port on your host is mapped and listening, if not it could be your hosts firewall i was running an elasticsearch db locally for testing purposes in podman and still had to allow the ports through the host firewall
Uzih
Uzih3w ago
yep: tcp 0 0 0.0.0.0:8096 0.0.0.0:* OUÇA 539420/pasta
Want results from more Discord servers?
Add your server