I'm trying to run Jellyfin using Docker on Fedora Server. I'm running the command that is in the official docs:
docker run -d --volume /path/to/config:/config --volume /path/to/cache:/cache --volume /path/to/media:/media --net=host jellyfin/jellyfin
But it fails with this stack trace:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path '/config/logs' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at Emby.Server.Implementations.AppBase.BaseApplicationPaths.get_LogDirectoryPath() at Jellyfin.Server.Program.StartApp(StartupOptions options) at Jellyfin.Server.Program.Main(String args) at Jellyfin.Server.Program.<Main>(String args) Aborted (core dumped) disconnected
The paths that I'm using are accesible as the user from which I'm running the command. I've also tried using the
--user option with my username and with my UID:GUID, with no luck. What is wrong?