Jump to content

Debian files not transferring after convert


Recommended Posts

Posted

My converted files are not transferring on convert unless I have emby server running as root please help as I do not want to have emby run as root.

 

@@mastrmind11

Posted

Hi there, sounds like Emby Server does not have write access to the destination folder. Have you looked at the permissions on it?

Posted

Everyone has full read write permissions to the folder

Posted

I have not given emby ownership of the destination folder just read write access

Posted

Well if you attach the server log, we can confirm if it is a permissions problem or not.

 

If it is, then i can't tell you why as that is something specific to your environment that you would need to look into. But i can help you confirm if that is the issue or not. Thanks.

Posted

Yup, there you go, access to the path is denied:

2019-11-03 09:30:19.890 Info App: Emby Media Converter copying file from /var/lib/emby/sync/32/12743/82d7b6d8-2c72-4c25-9e4a-11692be7bc4a.mkv to /mnt/data/Videos/Anime/Date A Live/Season 1/Date A Live S01E01 April 10th.mkv
2019-11-03 09:30:20.385 Error App: Error transferring sync job file
	*** Error Report ***
	Version: 4.3.0.18
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.19.0.6
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 24
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path is denied. ---> System.IO.IOException: Operation not permitted

If you can resolve this, then it will work. Please let us know if this helps. Thanks.

Posted

I gave the emby user ownership of those folder not the converting crashes after it finishes 1 file and does not move to transferring data. I have attached the log

Posted

Sorry can you describe that again? I don't quite understand what you're saying. Thanks.

Posted

The convert meter stops moving on the convert page and disappears from the dashboard after 1 episode resets to o% then stays still basically crashing

Posted

Is that a better explanation

Posted

Works with the root still though so what else does it need permission to?

Posted

Is /mnt/data/Videos on a remote fs (via CIFS (Samba), or NFS)?  Or is this directory local?

 

Could you provide the output of the following:

 

ls -ld /mnt/data/Videos

 

getfacl /mnt/data/Videos

Posted

They are local. I have given everyone readwrite permissions on this folder but will run the commands when I get a chance and let you know.

Posted

the output for ls -ld /mnt/data/videos is : drwxrwxrwx+ 7 kevin kevin 106 Nov  1 18:47 /mnt/data/Videos the second command I get the error command not found

Posted

got the seccond command to run and recieved the following information

# file: mnt/data/Videos

# owner: kevin
# group: kevin
user::rwx
user:emby:rwx
group::rwx
mask::rwx
other::rwx
Posted

Ok, was just wondering.  The permissions are wide open there.  I assume that this is recursive, so that your /mnt/data/Videos/Anime folder is also wide open for Emby to access?

Posted

Hmm... that seems odd.  Try the convert again, and then run the following command (if you don't mind):

journalctl -u emby.service --since today

The emby log states clearly that writing to that directory is getting denied, yet your permissions are fine.

 

Which distribution is this?

Posted

Did you try what he suggested?

Posted

Haven't had the chance yet as I'm out of town with work I'll try as soon as I get back and let you know

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...