sevealin 0 Posted June 24, 2022 Share Posted June 24, 2022 Hello, I have been using Emby for a long time on Windows Server (2019 right now). I made some library changes, I removed 1 library that had 2 directories. I then re-made it into two separate libraries (I did not touch the files). The metadata for the files were not being grabbed automatically. Looking in logs, I can see converted files from an old conversion job failing to be copied due to a permission denied error. I am not sure why Emby does not have permissions to the directory. I am able to copy files just fine myself (I am a local administrator). I tried starting Emby as a service and without, with no difference. The Windows server has 1TB available. I don't think this is related to the issue of not grabbing metadata, but I did realize I have had a media transfer job stuck completing, and the "Scan media library" task is failing. The Windows server only has 1 user on it (built-in local Administrator). The root folder for the libraries all have full control for SYSTEM and the Administrators group. I am unsure what other kind of permissions Emby requires to complete the media transfer. I attached a full embyserver.txt log. For example, here are three errors (there are a lot). 2022-06-24 13:48:12.645 Info App: Emby Media Converter copying file from C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\sync\99\31569\5bcbc32f-d74c-4c21-b15e-56cb8c4a3dbf.mkv to F:\Media\TV Shows\Psych (2006)\Season.4\Psych.S04E01.720p.x265.HEVC-LION[UTR].mkv 2022-06-24 13:48:12.700 Error App: Error transferring sync job file *** Error Report *** Version: 4.7.4.0 Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.17763 Framework: .NET 6.0.5 OS/Process: x64/x64 Runtime: C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path 'F:\Media\TV Shows\Psych (2006)\Season.4\Psych.S04E01.720p.x265.HEVC-LION[UTR].mkv' is denied. at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Sync.ConvertSyncProvider.SendFile(SyncJob job, String originalMediaPath, String inputPath, Boolean isMedia, String[] pathParts, SyncTarget target, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.MediaSync.SendFile(SyncJob job, String originalMediaPath, IServerSyncProvider provider, String inputPath, Boolean isMedia, String[] pathParts, SyncTarget target, SyncOptions options, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.MediaSync.GetItem(IServerSyncProvider provider, SyncTarget target, SyncJobItem jobItem, IProgress`1 progress, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void CopyFile(System.String, System.String, Boolean) 2022-06-24 13:48:13.232 Info App: Emby Media Converter copying file from C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\sync\100\31604\33b5359a-7923-4615-a6ed-b80d99894fb6.mkv to F:\Media\TV Shows\Psych (2006)\Season.3\Psych.S03E02.720p.x265.HEVC-LION[UTR].mkv 2022-06-24 13:48:13.282 Error App: Error transferring sync job file *** Error Report *** Version: 4.7.4.0 Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.17763 Framework: .NET 6.0.5 OS/Process: x64/x64 Runtime: C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path 'F:\Media\TV Shows\Psych (2006)\Season.3\Psych.S03E02.720p.x265.HEVC-LION[UTR].mkv' is denied. at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Sync.ConvertSyncProvider.SendFile(SyncJob job, String originalMediaPath, String inputPath, Boolean isMedia, String[] pathParts, SyncTarget target, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.MediaSync.SendFile(SyncJob job, String originalMediaPath, IServerSyncProvider provider, String inputPath, Boolean isMedia, String[] pathParts, SyncTarget target, SyncOptions options, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.MediaSync.GetItem(IServerSyncProvider provider, SyncTarget target, SyncJobItem jobItem, IProgress`1 progress, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void CopyFile(System.String, System.String, Boolean) 2022-06-24 13:48:13.397 Info Server: http/2 GET https://emby_remote_ip/emby/videos/5783/hls1/main/1614.ts?PlaySessionId=a219f723a36946028fa3c3c030690dff. Host=emby.bradsvpn.com, User-Agent=Emby/3.2.32 (Linux;Android 12) ExoPlayerLib/2.13.2, :method=GET, Accept-Encoding=identity 2022-06-24 13:48:13.706 Info Server: http/2 POST https://emby_remote_ip/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Android&X-Emby-Device-Name=EVIE's Galaxy Note20 Ultra 5G&X-Emby-Device-Id=7b43d19683234170&X-Emby-Client-Version=3.2.32. UserAgent: Mozilla/5.0 (Linux; Android 12; SM-N986U Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36 2022-06-24 13:48:13.779 Info App: Emby Media Converter copying file from C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\sync\99\31613\89a86404-3649-49cf-a1e6-e2454b407a27.mkv to F:\Media\TV Shows\Friends (1994)\Friends Season 4 Complete 720p.BRrip.Sujaidr (pimprg)\friends.s04e01.720p.bluray.x264-sujaidr.mkv 2022-06-24 13:48:13.780 Info Server: http/2 Response 204 to host1. Time: 74ms. https://emby_remote_ip/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Android&X-Emby-Device-Name=EVIE's Galaxy Note20 Ultra 5G&X-Emby-Device-Id=7b43d19683234170&X-Emby-Client-Version=3.2.32 2022-06-24 13:48:13.998 Info Server: http/2 Response 200 to host1. Time: 601ms. https://emby_remote_ip/emby/videos/5783/hls1/main/1614.ts?PlaySessionId=a219f723a36946028fa3c3c030690dff 2022-06-24 13:48:14.001 Error App: Error transferring sync job file *** Error Report *** Version: 4.7.4.0 Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.17763 Framework: .NET 6.0.5 OS/Process: x64/x64 Runtime: C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path 'F:\Media\TV Shows\Friends (1994)\Friends Season 4 Complete 720p.BRrip.Sujaidr (pimprg)\friends.s04e01.720p.bluray.x264-sujaidr.mkv' is denied. at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Sync.ConvertSyncProvider.SendFile(SyncJob job, String originalMediaPath, String inputPath, Boolean isMedia, String[] pathParts, SyncTarget target, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.MediaSync.SendFile(SyncJob job, String originalMediaPath, IServerSyncProvider provider, String inputPath, Boolean isMedia, String[] pathParts, SyncTarget target, SyncOptions options, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.MediaSync.GetItem(IServerSyncProvider provider, SyncTarget target, SyncJobItem jobItem, IProgress`1 progress, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void CopyFile(System.String, System.String, Boolean) embyserver (2).txt Link to comment Share on other sites More sharing options...
Luke 36876 Posted June 26, 2022 Share Posted June 26, 2022 Hi, how is the library scan failing? Can you please attach the emby server log from that? Thanks. Link to comment Share on other sites More sharing options...
sevealin 0 Posted June 27, 2022 Author Share Posted June 27, 2022 19 hours ago, Luke said: Hi, how is the library scan failing? Can you please attach the emby server log from that? Thanks. Hey Luke, thank you for responding. I rebooted the server to update to 4.7.5.0 and this seems to have resolved the issue. I am not sure how, I didn't make any changes other than rebooting to complete the update. We can consider this resolved (albeit not sure what happened). The transfer job is no longer occurring and I am no longer receiving that error in the embyserver log when moving converted files. TV shows are now getting their metadata now too. Link to comment Share on other sites More sharing options...
Luke 36876 Posted June 27, 2022 Share Posted June 27, 2022 Hi, there's nothing in the Emby Server update related to this, but I'm glad to hear the issue is resolved for you now. Thanks for following up. 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