Jump to content

Video conversion failing everytime. ( TargetSite: Void CopyFile )

Recommended Posts

Hello, I ran into the CPU overload issue while live transcodig files for TV. So I upgraded to emby premiere, and installed the folder sync plugin to enable in advance- or in the background transcoding, but none of those options worked. 
I try to convert from the context menu and the conversion shows up in the conversion list, but when I try to run the task it just immediatly fails. This is what I have in the logs. How can I fix this?
*** Error Report ***
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}_armhf.deb
Operating system: Unix
64-Bit OS: False
64-Bit Process: False
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
System.Environment.Version: 3.1.2
Processor count: 4
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
--- End of inner exception stack trace ---
at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Emby.Server.Implementations.IO.ManagedFileSystem.CopyFile(String source, String target, Boolean overwrite)
at Emby.Server.Sync.SyncJobProcessor.ConvertSubtitles(String temporaryPath, StreamInfo streamInfo, SubtitleStreamInfo subtitleStreamInfo, CancellationToken cancellationToken)
at Emby.Server.Sync.SyncJobProcessor.ConvertSubtitles(SyncJobItem jobItem, List`1 subtitles, StreamInfo streamInfo, CancellationToken cancellationToken)
at Emby.Server.Sync.SyncJobProcessor.SyncVideo(SyncJobItem jobItem, Video item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Sync.SyncJobProcessor.ProcessJobItem(SyncJobItem jobItem, Boolean enableConversion, IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Sync.SyncJobProcessor.SyncJobItems(Int64[] jobItemIds, Boolean enableConversion, IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Sync.SyncJobProcessor.Sync(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Sync.SyncConvertScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
Source: System.IO.FileSystem
TargetSite: Void CopyFile(System.String, System.String, Boolean)
InnerException: System.IO.IOException: Operation not permitted

Share this post

Link to post
Share on other sites

Hi there, emby server is being denied write access to the destination folder. If you can resolve this then that should take care of it. Please let us know if this helps. Thanks.

Share this post

Link to post
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...