Closed satmandu closed 1 year ago
Do the notes from the installation apply to this?
NOTE: The client script will fail to inject automatically into the jellyfin-web server if there is a difference in permission between the owner of the web files (root, or www-data, etc.) and the executor of the main jellyfin-server. This often happens because...
Docker - the container is being run as a non-root user while having been built as a root user, causing the web files to be owned by root. To solve this, you can remove any lines like User: 1000:1000, GUID:, PID:, etc. from the jellyfin docker compose file. Install from distro repositories - the jellyfin-server will execute as jellyfin user while the web files will be owned by root, www-data, etc. This can likely be fixed by adding the jellyfin (or whichecher user your main jellyfin server runs at) to the same group the jellyfin-web folders are owned by. You should only do this if they are owned by a group other than root, and will have to lookup how to manage permissions on your specific distro. Alternatively, the script can manually be added to the index.html as described below.
e.g. are you running in docker with USER, GUID, PID, etc options set to something other than default/root.
Ah, yes, I am running with --user
, PUID
, and PGID
options... I'll read the documentation more carefully...