horstepipe 422 Posted July 22, 2018 Posted July 22, 2018 hey guys, am I the only one facing this problem? I even installed Emby from scratch and made a new database as I thought it was corrupted, now I'm facing the same problem again...: When Emby server scans the library and new items are being added (doesn't matter whether it is the real time monitor or a scheduled library scan) all my clients get the good old library sync thread has exited error. Kodi shows this one: 15:36:46.607 T:11620 NOTICE: EMBY.librarysync -> ERROR:: Traceback (most recent call last): File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 674, in run self.run_internal() File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 793, in run_internal self.incrementalSync() File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 611, in incrementalSync sorted_items = mb.sortby_mediatype(items['Unsorted']) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 215, in sortby_mediatype items = get_all(get_item_list(item_ids)) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 145, in get_all for item in generator: File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 181, in get_item_list for items in _get_items(query): File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 264, in _get_items items['TotalRecordCount'] = _test_params(url, dict(params))['TotalRecordCount'] File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 235, in _test_params return _get(url, params) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 75, in _get return _http("GET", get_embyserver_url(handler), {'params': params}) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby.py", line 56, in _http return do.downloadUrl(url, action_type=action, parameters=request['params']) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\downloadutils.py", line 333, in downloadUrl raise HTTPException(response.status_code) HTTPException Emby server this one 2018-07-22 15:42:24.104 Error HttpServer: Error processing request *** Error Report *** Version: 3.5.0.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -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.4.0.130 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 6 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.NullReferenceException: Object reference not set to an instance of an object. at Emby.Server.Implementations.Library.MediaSourceManager.GetPathProtocol(String path) at MediaBrowser.Controller.Entities.BaseItem.GetVersionInfo(Boolean enablePathSubstitution, BaseItem item, MediaSourceType type) at System.Linq.Enumerable.SelectListIterator`2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MediaBrowser.Controller.Entities.BaseItem.GetMediaSources(Boolean enablePathSubstitution) at Emby.Server.Implementations.Library.MediaSourceManager.GetStaticMediaSources(BaseItem item, Boolean enablePathSubstitution, User user) at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtoInternal(BaseItem item, DtoOptions options, List`1 allCollectionFolders, User user, BaseItem owner) at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtos(IEnumerable`1 items, Int32 itemCount, DtoOptions options, User user, BaseItem owner) at MediaBrowser.Api.UserLibrary.ItemsService.GetItems(GetItems request) at MediaBrowser.Api.UserLibrary.ItemsService.Get(GetItems request) at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) System.NullReferenceException at Emby.Server.Implementations.Library.MediaSourceManager.GetPathProtocol(String path) at MediaBrowser.Controller.Entities.BaseItem.GetVersionInfo(Boolean enablePathSubstitution, BaseItem item, MediaSourceType type) at System.Linq.Enumerable.SelectListIterator`2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MediaBrowser.Controller.Entities.BaseItem.GetMediaSources(Boolean enablePathSubstitution) at Emby.Server.Implementations.Library.MediaSourceManager.GetStaticMediaSources(BaseItem item, Boolean enablePathSubstitution, User user) at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtoInternal(BaseItem item, DtoOptions options, List`1 allCollectionFolders, User user, BaseItem owner) at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtos(IEnumerable`1 items, Int32 itemCount, DtoOptions options, User user, BaseItem owner) at MediaBrowser.Api.UserLibrary.ItemsService.GetItems(GetItems request) at MediaBrowser.Api.UserLibrary.ItemsService.Get(GetItems request) at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) @@Angelblue05 @@Luke you got the full debug logs in pm
Angelblue05 4132 Posted July 22, 2018 Posted July 22, 2018 There is no good old error lol. Library sync exited is a catch all error so any number of things could cause the error, not likely to be the same for everyone. Right now the sync is a bit unforgiving with server errors. I am working on improving this, thanks for your patience. 1
Recommended Posts