Getting some error for Failed to locate account for asset #421
Replies: 4 comments 1 reply
-
|
Update - I removed the ImageFromDate to null and even set the API to ALL permissions. I get a few more photos (cuz of the date thing) but still cycling thru the same 30-40 photos |
Beta Was this translation helpful? Give feedback.
-
|
Switched from JSON to Env variables and seems to be loading properly now. I still see this message occasionally tho. Is it somewhat normal? Any idea what was preventing the json method from working right? |
Beta Was this translation helpful? Give feedback.
-
|
Can you post your current settings and a recent error log? I see you had ShowMemories true, that is going to ONLY show you memories (photos taken around the current date). |
Beta Was this translation helpful? Give feedback.
-
|
Hmm havent seen that pop up again. I will ping back if/when I do, thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just got Immich Frame running. I did end up setting the API key to remove ALL 'deletion' tasks which may be related. For note I have just a single user, everything is on external library. It loads up but seems to cycle thru about 30 of the same photos (out of 70k). Only change I did to the stock json is below (the image from date to begin 1/1/2020)
Thanks!
JSON
"ImagesFromDate": "2020-01-01",
"ShowMemories": true,
"ShowFavorites": false,
"ShowArchived": false,
"ImagesFromDays": null,
"ImagesUntilDate": null,
"Rating": null,
"Albums": [],
"ExcludedAlbums": [],
"People": []
Log
mmichframe | LogLevel: Information
immichframe | 25-06-30 08:56:49 warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50] Using an in-memory repository. Keys will not be persisted to storage.
immichframe | 25-06-30 08:56:49 warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
immichframe | 25-06-30 08:56:49 warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {b4cd639e-fb6b-4440-a443-8266991f91a4} may be persisted to storage in unencrypted form.
immichframe | 25-06-30 08:56:49 info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:8080
immichframe | 25-06-30 08:56:49 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down.
immichframe | 25-06-30 08:56:49 info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production
immichframe | 25-06-30 08:56:49 info: Microsoft.Hosting.Lifetime[0] Content root path: /app
immichframe | 25-06-30 08:56:52 fail: ImmichFrame.Core.Logic.AccountSelection.BloomFilterAssetAccountTracker[0] Failed to locate account for asset ea921fc9-0884-4818-a98d-1af9e99544e4
immichframe | 25-06-30 08:56:52 fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNDNQMAOTLR5", Request id "0HNDNQMAOTLR5:00000001": An unhandled exception was thrown by the application. ImmichFrame.Core.Exceptions.AssetNotFoundException: Exception of type 'ImmichFrame.Core.Exceptions.AssetNotFoundException' was thrown. at ImmichFrame.Core.Logic.AccountSelection.BloomFilterAssetAccountTracker.ForAsset[T](String assetId, Func
2 f) in /source/ImmichFrame.Core/Logic/AccountSelection/BloomFilterAssetAccountTracker.cs:line 43 at ImmichFrame.Core.Logic.AccountSelection.TotalAccountImagesSelectionStrategy.ForAsset[T](Guid assetId, Func2 f) in /source/ImmichFrame.Core/Logic/AccountSelection/TotalAccountImagesSelectionStrategy.cs:line 88 at ImmichFrame.Core.Logic.MultiImmichFrameLogicDelegate.GetImage(Guid assetId) in /source/ImmichFrame.Core/Logic/MultiImmichFrameLogicDelegate.cs:line 47 at ImmichFrame.WebApi.Controllers.AssetController.GetImage(Guid id, String clientIdentifier) in /source/ImmichFrame.WebApi/Controllers/AssetController.cs:line 69 at lambda_method4(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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 Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at CustomAuthenticationMiddleware.InvokeAsync(HttpContext context) in /source/ImmichFrame.WebApi/Helpers/CustomAuthenticationMiddleware.cs:line 23 at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application)immichframe | 25-06-30 08:56:52 fail: ImmichFrame.Core.Logic.AccountSelection.BloomFilterAssetAccountTracker[0] Failed to locate account for asset ea921fc9-0884-4818-a98d-1af9e99544e4
immichframe | 25-06-30 08:56:52 fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNDNQMAOTLR5", Request id "0HNDNQMAOTLR5:00000002": An unhandled exception was thrown by the application. ImmichFrame.Core.Exceptions.AssetNotFoundException: Exception of type 'ImmichFrame.Core.Exceptions.AssetNotFoundException' was thrown. at ImmichFrame.Core.Logic.AccountSelection.BloomFilterAssetAccountTracker.ForAsset[T](String assetId, Func
2 f) in /source/ImmichFrame.Core/Logic/AccountSelection/BloomFilterAssetAccountTracker.cs:line 43 at ImmichFrame.Core.Logic.AccountSelection.TotalAccountImagesSelectionStrategy.ForAsset[T](Guid assetId, Func2 f) in /source/ImmichFrame.Core/Logic/AccountSelection/TotalAccountImagesSelectionStrategy.cs:line 88 at ImmichFrame.Core.Logic.MultiImmichFrameLogicDelegate.GetAlbumInfoById(Guid assetId) in /source/ImmichFrame.Core/Logic/MultiImmichFrameLogicDelegate.cs:line 43 at ImmichFrame.WebApi.Controllers.AssetController.GetAlbumInfo(Guid id, String clientIdentifier) in /source/ImmichFrame.WebApi/Controllers/AssetController.cs:line 59 at lambda_method12(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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 Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at CustomAuthenticationMiddleware.InvokeAsync(HttpContext context) in /source/ImmichFrame.WebApi/Helpers/CustomAuthenticationMiddleware.cs:line 23 at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application)Beta Was this translation helpful? Give feedback.
All reactions