"Indexing failed" messages with Jellyfin 10.10

I was wondering if everyone is getting “indexing failed” messages ever since updating to version 8. My setup is Infuse latest version (currently 8.0.2), accessing my library through a NAS (Synology SMB shares) Jellyfin server on a wired network through 3x Apple TV boxes.
The share itself is fully accessible, I can play my media just fine, it’s just that Infuse can’t seem to scan the library.

If perform a speed test everything is also fine, as well as when I remove the library, forget the shares and reconnect to it. Everything seems to be ok, everything is scanned and indexed, until a few hours later when I fire up Infuse again and check the library status, where I once again see “Indexing failed”.

2 Likes

Yep, I was just about to post about this. Last time there was an update available for Jellyfin after which the indexing worked again. Now I’m on the lasted version for everything but the issue is there again. Restarting the server did not help.

1 Like

Hi there,

Attempting to refresh library metadata in Infuse 8.0.2 for a configured Jellyfin server running 10.10.0 or 10.10.1 occasionally fails, with the Jellyfin server logging the following:

[00:51:37] [INF] AuthenticationScheme: CustomAuthentication was forbidden.
[00:51:37] [INF] AuthenticationScheme: CustomAuthentication was forbidden.
[00:51:37] [ERR] Error processing request. URL GET /InfuseSync/Checkpoint/dcc6892c265c47d382a2f2087610ee9d/UserData.
System.MissingMethodException: Method not found: 'Void MediaBrowser.Model.Dto.UserItemDataDto.set_ItemId(System.String)'.
   at InfuseSync.API.InfuseSyncService.<>c__DisplayClass11_0.<Get>b__2(KeyValuePair`2 pair)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.ToArray()
   at InfuseSync.API.InfuseSyncService.Get(GetUserDataQuery request)
   at InfuseSync.API.InfuseSyncController.GetUserDataQuery(Guid checkpointID, String includeItemTypes, Nullable`1 startIndex, Nullable`1 limit)
   at lambda_method1235(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
   at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
   at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
   at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
   at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

A successful sync looks like this:

[01:01:39] [INF] AuthenticationScheme: CustomAuthentication was forbidden.
[01:01:39] [INF] AuthenticationScheme: CustomAuthentication was forbidden.
[01:01:39] [INF] Authentication request for username has succeeded.
[01:01:39] [INF] Current/Max sessions for user username: 2/0
[01:01:39] [INF] Logging out access token 4e67389739764a0bbcf4bbd98534624a
[01:01:39] [INF] Creating new access token for user 18906dae-57e9-4d2c-a12b-9fec748c24d2

Disabling the InfuseSync plugin in Jellyfin allows metadata indexing to complete successfully. Have confirmed this occurring across Apple TV (tvOS 18.1) macOS (15.1) and iOS (18.1).

2 Likes

I’ve had the same issue and found the cause to lie with the InfuseSync Plugin. You can disable it for now to get indexing working again:

Jellyfin Dashboard → My Plugins → Disable InfuseSync → Restart Jellyfin

1 Like

Thank you @nomadic, I’ll try that when I get home. @James, are you aware of this issue? Is this in your list of planned fixes?

Now my setup is completely broken, I can’t play any files anymore, it just says „File Not Found…“ for everything! :face_with_spiral_eyes:

i see the same thing happing. I send a log about it on November the 5th.

So what do you do ?
stop the infuse plugin in jellyfin and let infuse sync with the refresh metadata ?

I have the same error. Apparently, the Infuse plugin still doesn’t work with the current Jellyfin Stable version.

@james. The jellyfin beta was available for month, so you could have easily tested the plugin and possibly adjusted it. I have been recommending you for years, but you are getting qualitatively worse and prefer to build some Vision Pro software for a few hundred devices instead of properly maintaining existing features.

When can we expect a fix? Thank you very much!

I did what the other user recommended and disabled the plugin for now which looks like works without problem. Not sure what’s the functionality that I am losing by disabling it, only time will tell.

An update for InfuseSync is required for Jellyfin 10.10+.

This is currently in progress.

FWIW, the Jellyfin API changes were not frozen until just before the public release of 10.10, which makes staying on top of server changes a bit more challenging. I have shared this feedback with Jellyfin and hopefully there can be more lead time in future updates.

6 Likes

Without the plugin syncs take longer, as the metadata for the entire Jellyfin server’s library must be observed, rather than just what changed since the last sync.

1 Like

Thanks for the clarification!

Thanks for your patience, everyone!

This issue has been resolved in the 1.5.1 version of InfuseSync which is now available.

See this guide for details on installing and updating InfuseSync.

5 Likes

Thanks James. Syncs are working again for me with v1.5.1.

2 Likes