hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

jellyfin addon does not start - Access to the path '/share/jellyfin/data/data' is denied.

Open Weedalf opened this issue 1 year ago • 2 comments

Hello i cannot start The Jellyfin addon. Log says Access to the path '/share/jellyfin/data/data' is denied.

My setup is a Raspberry Pi 4b with 4gb RAM running Home Assistant OS. I just installed Home assistant and tried to run jellyfin.

Unhandled exception. System.UnauthorizedAccessException: Access to the path '/share/jellyfin/data/data' 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..ctor(String programDataPath, String logDirectoryPath, String configurationDirectoryPath, String cacheDirectoryPath, String webDirectoryPath)
   at Emby.Server.Implementations.ServerApplicationPaths..ctor(String programDataPath, String logDirectoryPath, String configurationDirectoryPath, String cacheDirectoryPath, String webDirectoryPath)
   at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
   at Jellyfin.Server.Program.StartApp(StartupOptions options)
   at Jellyfin.Server.Program.<Main>(String[] args)

Weedalf avatar May 28 '23 11:05 Weedalf

I tested the emby addon and this is was running without any problems.

Weedalf avatar May 28 '23 12:05 Weedalf

I am also running into this same error on a x86_64 NUC.

Unhandled exception. System.UnauthorizedAccessException: Access to the path '/share/jellyfin/data/data' 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..ctor(String programDataPath, String logDirectoryPath, String configurationDirectoryPath, String cacheDirectoryPath, String webDirectoryPath)
   at Emby.Server.Implementations.ServerApplicationPaths..ctor(String programDataPath, String logDirectoryPath, String configurationDirectoryPath, String cacheDirectoryPath, String webDirectoryPath)
   at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
   at Jellyfin.Server.Program.StartApp(StartupOptions options)
   at Jellyfin.Server.Program.<Main>(String[] args)```

bencorrado avatar Oct 21 '23 01:10 bencorrado