Jump to content

"Calculate statistics for all users" échec


neves000
Go to solution Solved by Luke,

Recommended Posts

neves000

Bonjour,

Depuis hier, la tâche planifiée "Calculate statistics for all users" échoue lorsque je la lance. Dans les journaux, je vois l'erreur :

2021-02-16 12:09:09.591 Error TaskManager: Error
    *** Error Report ***
    Version: 4.6.0.22
    Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp
    Operating system: Linux version 3.10.105 (root@build4) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP Mon Dec 14 18:45:24 CST 2020
    Framework: .NET Core 3.1.8
    OS/Process: x64/x64
    Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /volume1/Emby
    Application path: /volume1/@appstore/EmbyServer/system
    System.TypeLoadException: System.TypeLoadException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.0.22, Culture=neutral, PublicKeyToken=null'.
       at statistics.Calculators.BaseCalculator.ClearCache()
       at statistics.Calculators.BaseCalculator.Dispose()
       at Statistics.ScheduledTasks.CalculateStatsTask.<>c__DisplayClass20_1.<MediaBrowser.Model.Tasks.IScheduledTask.Execute>b__0()
       at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
    --- End of stack trace from previous location where exception was thrown ---
       at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
       at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    Source: statistics
    TargetSite: Void ClearCache()


Cela semble être lié aux collections (MediaBrowser.Controller.Entities.Movies.BoxSet). Avant, toutes mes collections de films avaient la case "Import collection information" cochée. Depuis, j'ai décoché cette case pour certaines collections pour lesquelles je ne voulais pas que les films apparaissent dans une collection. Le problème semble être apparu à ce moment là.

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