Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Weedalf opened this issue May 28, 2023 · 2 comments

Comments

@Weedalf
Copy link

Weedalf commented May 28, 2023

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
Copy link
Author

Weedalf commented May 28, 2023

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

@bencorrado
Copy link

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)```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants