phydeaux24 0 Posted July 26, 2019 Share Posted July 26, 2019 I'm new to Emby so please take it easy on me. Fresh install of Emby on Linux Mint Tessa. All my media is stored on an external 4tb drive. When trying to add a folder Emby simply doesn't see the drive. I can navigate to and play my media just fine from file manager. Am I missing something here? Link to comment Share on other sites More sharing options...
Luke 37348 Posted July 26, 2019 Share Posted July 26, 2019 Hi, did you try to enter the path to the drive manually? Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 26, 2019 Author Share Posted July 26, 2019 Hi, did you try to enter the path to the drive manually? Sure did: The path could not be found. Please ensure the path is valid and try again. Link to comment Share on other sites More sharing options...
Luke 37348 Posted July 26, 2019 Share Posted July 26, 2019 It sounds like emby server does not have read permission to the drive. Did you check permissions for the emby user? Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 26, 2019 Author Share Posted July 26, 2019 @@mastrmind11 How would I go about doing that? Apparently you're going to need to get out the crayons, this may be a long thread. Link to comment Share on other sites More sharing options...
Solution Luke 37348 Posted July 26, 2019 Solution Share Posted July 26, 2019 When emby server is installed it creates an emby user on your machine, so the emby user will need permission to this location. What are the current permissions of the drive? 1 Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 26, 2019 Author Share Posted July 26, 2019 When emby server is installed it creates an emby user on your machine, so the emby user will need permission to this location. What are the current permissions of the drive? https://ibb.co/5rPn6tK Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 26, 2019 Author Share Posted July 26, 2019 Additionally, I'm not sure how to check the emby user permissions. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted July 27, 2019 Share Posted July 27, 2019 @@mastrmind11 How would I go about doing that? Apparently you're going to need to get out the crayons, this may be a long thread. ok lets start with the basics. navigate to the root your media folder via the command interface and type ls -l. this will output the directories and the owner of the folders/files. Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 28, 2019 Author Share Posted July 28, 2019 Got it sorted out. Thanks everyone! Link to comment Share on other sites More sharing options...
Luke 37348 Posted July 29, 2019 Share Posted July 29, 2019 What was the solution? Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 29, 2019 Author Share Posted July 29, 2019 What was the solution? chmod -R a+rx /media/jeff/Media Storage works like a champ but now I have a separate issue where Emby is not finding new movies I add to the library. It picks up music and tv shows just fine, all stored on the same /Media Server drive. Link to comment Share on other sites More sharing options...
Luke 37348 Posted July 29, 2019 Share Posted July 29, 2019 Thanks for the feedback. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted July 30, 2019 Share Posted July 30, 2019 chmod -R a+rx /media/jeff/Media Storage works like a champ but now I have a separate issue where Emby is not finding new movies I add to the library. It picks up music and tv shows just fine, all stored on the same /Media Server drive. Well, what permission do the new files have? chmod is a 1 time action, so you'd have to change the new files to the proper permissions every time you add a new one. Or, do some ACL tweaking like this https://askubuntu.com/questions/626841/any-way-to-force-files-to-inherit-owner-permissions-from-parent-directory Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 30, 2019 Author Share Posted July 30, 2019 Well, what permission do the new files have? chmod is a 1 time action, so you'd have to change the new files to the proper permissions every time you add a new one. Or, do some ACL tweaking like this https://askubuntu.com/questions/626841/any-way-to-force-files-to-inherit-owner-permissions-from-parent-directory Looking into the ACL stuff now. It still doesn't explain why tv shows are populating just fine but movies aren't. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted July 30, 2019 Share Posted July 30, 2019 Looking into the ACL stuff now. It still doesn't explain why tv shows are populating just fine but movies aren't. Well, where are the files coming from? Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted July 31, 2019 Author Share Posted July 31, 2019 @@mastrmind11 SABnzbd creates a job folder for each new movie. For tv shows SABnzbd creates job and season folders. Both movie and tv show parent folders are located in /media/jeff/Media Storage. Link to comment Share on other sites More sharing options...
Luke 37348 Posted August 1, 2019 Share Posted August 1, 2019 Does it have options to set permissions after adding new files? Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted August 1, 2019 Author Share Posted August 1, 2019 Unfortunately no. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted August 1, 2019 Share Posted August 1, 2019 (edited) Unfortunately no. Of course it does. I had a feeling this is what you were up to which is why I asked Check this out https://sabnzbd.org/wiki/advanced/unix-permissions if, for whatever reason, you truly are running a version of sab that doesn't have this feature, you can also accomplish what you want with ACLs: https://unix.stackexchange.com/questions/115631/getting-new-files-to-inherit-group-permissions-on-linux/401751 Edited August 1, 2019 by mastrmind11 Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted August 2, 2019 Author Share Posted August 2, 2019 @@mastrmind11 I found and set the permissions in SAB for my media/jeff/Media Storage/Complete folder (where my nzbtomedia script points). Unfortunately I have a different folder set for movies in the categories section. ACL seems to be the way to go, I just need help binding the mount for my external to fstab. That reads like greek to me. Lastly, even if i manage the ACL work around it STILL doesn't answer the question of why Emby is finding tv shows and not movies. I haven't touched squat with the /media/jeff/Media Storage/Tv Shows/Whatever Show/Season Folder permissions. When the tv show folders get created they have the EXACT user, group, and permissions as the new movie folders but they populate just fine. This leads me to believe that yes, we might find a way to solve the symptom but no, we haven't addressed the problem. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted August 2, 2019 Share Posted August 2, 2019 @@mastrmind11 I found and set the permissions in SAB for my media/jeff/Media Storage/Complete folder (where my nzbtomedia script points). Unfortunately I have a different folder set for movies in the categories section. ACL seems to be the way to go, I just need help binding the mount for my external to fstab. That reads like greek to me. Lastly, even if i manage the ACL work around it STILL doesn't answer the question of why Emby is finding tv shows and not movies. I haven't touched squat with the /media/jeff/Media Storage/Tv Shows/Whatever Show/Season Folder permissions. When the tv show folders get created they have the EXACT user, group, and permissions as the new movie folders but they populate just fine. This leads me to believe that yes, we might find a way to solve the symptom but no, we haven't addressed the problem. are your tv and movies on the same drive? same mount point? also, does the root folder or your tv shows have the same permission as the root folder of your movies? Since you're pointing emby to the root, if emby doesn't have access to the root, it won't have access to anything underneath. Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted August 3, 2019 Author Share Posted August 3, 2019 are your tv and movies on the same drive? same mount point? also, does the root folder or your tv shows have the same permission as the root folder of your movies? Since you're pointing emby to the root, if emby doesn't have access to the root, it won't have access to anything underneath. @@mastrmind11 Movies and tv folders are on the same drive, same mount point, and same permissions. That is what is baffling me. Link to comment Share on other sites More sharing options...
Luke 37348 Posted August 3, 2019 Share Posted August 3, 2019 Have you checked the permissions of the sub-folders within? Link to comment Share on other sites More sharing options...
phydeaux24 0 Posted August 3, 2019 Author Share Posted August 3, 2019 Have you checked the permissions of the sub-folders within? Yes, the subfolders for new folders in both /Movies and /Tv Shows do not have the same permissions as /Movies or /Tv Shows. For whatever reason though all the tv shows in the new sub folders are being populated yet movies are not. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now