After an automatic update+reboot of my Debian server my Jellyfin container doesn’t work anymore. When I try to run it from the command line I get:
Error: crun: make '/home/serve/.local/share/containers/storage/vfs/dir/[string]' private: Permission denied: OCI permission denied
Here’s the list of updated packages, in case it’s useful:
base-files buildah curl dns-root-data intel-microcode libc-bin libc-l10n libc6 libcurl3-gnutls libcurl4 libmariadb3 libpam-systemd libpq5 librabbitmq4 libsystemd-shared libsystemd0 libudev1 linux-image-amd64 locales mariadb-common systemd systemd-sysv tzdata udev vim vim-common vim-runtime vim-tiny wget
I tried doing some searching and it looks like a podman issue, but with no real fix for it? Not sure tbh. Do I need to nuke my container and start again? Or is there a way to fix this while keeping my config?
Small update: I did some digging around in the directories that error out and found that in ~/.local/share/containers/storage/volumes
both the jellyfin-cache
and jellyfin-config
folders are owned by 100000
, but they were the only ones. I tried changing ownership to my user but the error persists.
I’d encourage you to try to understand a bit more about what is happening in the container and runtime before changing things at random.
I don’t really have enough information to give you an answer. There are too many variables to guess at.
Here’s a couple links to get you started.
https://www.redhat.com/en/blog/container-permission-denied-errors
https://stackoverflow.com/questions/75582763/podman-oci-permission-to-folder-issue
https://old.reddit.com/r/NixOS/s/Jb3qBFEPo3
Alright, thank you very much. Some good resources to get started, and I sorta got somewhere. After an hour trying every option possible and the container still not working, I tried running
chown -R serve:serve ~/
as suggested in the reddit thread above. Kind of a nuclear option, but now the container starts! Too bad it stops itself after a few seconds. Honestly considering re-installing the whole OS at this point.