Jump to content

Library Issue


WilliamStorm

Recommended Posts

WilliamStorm

Hello,

Im new to Emby as i was using Plex before, im needing some support as when i click add library folder etc and go to the file folder using emby navigation, when i click on my domain folder (has all the files) the library states 'Current Path:....' and i get put back to the start of clicking folders again till i reach the same point.

Anyone help? please

post-136012-0-54287700-1464174785_thumb.png

post-136012-0-99338200-1464174785_thumb.png

Link to comment
Share on other sites

WilliamStorm

not quite sure, the folder im trying to access is mydigitalmovies.co.uk but from there it just goes to empty path and have to go through /var/hosts/www etc again and it just keeps doing it. i know all the folders needed are 777 chmod

Link to comment
Share on other sites

mooks

Could you check this?

Emby Server normally runs as user 'emby'. For read access you have to:

chmod -R o+r /var/www/vhosts/mydigitalmovies.co.uk
Link to comment
Share on other sites

puithove

That's what happens when the user that the Emby server is running under doesn't have access to the dir you're trying to browse into (just verified that on mine).  You first need to figure out what user the server process is running under - depends on the package for your distribution, but I think most are creating a user named "emby".  Then you need to make sure that user has at least r-x to the dir (and all parent dirs) and at least r-- to all the files.

 

Here's a how-to:  http://emby.media/community/index.php?/topic/32218-file-permissions-guide-for-new-linux-users/

 

One thing you can do to try to verify the permissions is to become that user by:

sudo -i -u emby

 

Then you can move around the filesystem and see what that user can see/do.

Edited by puithove
Link to comment
Share on other sites

dcrdev

At a shell navigate to that folder and execute the following commands:

 

getfacl .

 

ls -hlpa

 

Post the output of both those commands here.

Link to comment
Share on other sites

WilliamStorm

getfacl .
# file: .
# owner: movies
# group: psaserv
user::rwx
group::--x
other::r--


ls -hlpa
total 20K
drwx--xr-- 5 movies psaserv 4.0K May  9 00:50 ./
drwxr-xr-x 9 root   root    4.0K May 25 19:10 ../
drwxr-xr-x 2 movies psacln  4.0K May  8 18:29 error_docs/
drwxr-xr-- 8 movies psaserv 4.0K May 17 15:28 httpdocs/
drwx---r-- 3 movies root    4.0K May 25 03:48 logs/


 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...