2023-07-20, 10:14 PM
(This post was last modified: 2023-07-20, 10:16 PM by supertanno. Edited 1 time in total.)
(2023-07-20, 10:06 PM)TheDreadPirate Wrote: Maybe make a folder in / called "library" or something? Owned by you, group owned by jellyfin, 770. Or 750 if you don't plan to save NFOs or have the jellyscrub plugin.
Move all your media into that folder. If you are using FTP with your credentials, then your FTP client shouldn't have any issues writing in that directory.
I don't have my media in the home directory anymore, it's in ./media. /jellyfin is in the home directory, however. Oddly, there's a folder in /var/lib/jellyfin as well:
Code:
supertanno@tannoflix:~$ ls /var/lib/jellyfin
data metadata plugins root transcodes
supertanno@tannoflix:~$ ls /home/supertanno/jellyfin
data log metadata plugins root
But, if I use --datadir to point it there, I get the following:
Code:
supertanno@tannoflix:~$ jellyfin -d /var/lib/jellyfin
Unhandled Exception
System.UnauthorizedAccessException: Access to the path '/var/lib/jellyfin/log' 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 Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/var/lib/jellyfin/log' 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 Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
Aborted (core dumped)
supertanno@tannoflix:~$ jellyfin -d /var/lib/jellyfin/data
Unhandled Exception
System.UnauthorizedAccessException: Access to the path '/var/lib/jellyfin/data/log' 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 Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/var/lib/jellyfin/data/log' 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 Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
Aborted (core dumped)
So yeah, that's not working, and I am very confused by now.