I've personally found that maintaing Jellyfin via Docker is far simpler and provides a more convenient upgrade path than a direct installation. I have a docker compose file in my home folder so when I want to upgrade it's just docker compose pull followed by docker compose up -d