Jump to content

New Statistics plugin


Recommended Posts

hackthis02
Posted
10 hours ago, NEOeclipse said:

im on statistics 3.4.2.0 and emby 4.10.0.3 beta

I don't support the beta channel. So If it's related to that, you'll have to wait for the release
 

9 hours ago, NEOeclipse said:

i have chosen to not uninstall and re-install to see if it works is because i have several years of stats for all users on my server and i dont want to loose any of that.

The plugin doesn't keep any data, It only aggregates it. So you can try uninstalling and reinstalling it without worry of loss data
 

9 hours ago, NEOeclipse said:
 

Running time: 1 minute and 26 seconds One or more errors occurred. (The process cannot access the file 'C:\Users\NEOeclipse\AppData\Roaming\Emby-Server\programdata\cache\tvdb\79660\episodes-official-eng.json' because it is being used by another process.) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.get_Result() at statistics.Calculators.BaseCalculator..ctor(IUserManager userManager, ILibraryManager libraryManager, IUserDataManager userDataManager, IProviderManager providerManager, ILogger Logger, CancellationToken cancellationToken) at Statistics.Helpers.Calculator..ctor(IUserManager userManager, ILibraryManager libraryManager, IUserDataManager userDataManager, IFileSystem fileSystem, ILogger logger, IProviderManager providerManager, CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateMediaTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

I've never seen this error. If the json files are locked by something else it would fail to load and the plugin would silently crash because it needs those files to display. I'm guessing you've rebooted the server to no avail?

NEOeclipse
Posted
30 minutes ago, hackthis02 said:

I don't support the beta channel. So If it's related to that, you'll have to wait for the release
 

The plugin doesn't keep any data, It only aggregates it. So you can try uninstalling and reinstalling it without worry of loss data
 

I've never seen this error. If the json files are locked by something else it would fail to load and the plugin would silently crash because it needs those files to display. I'm guessing you've rebooted the server to no avail?

ok, i honestly do not know if it is because of the beta or not, i am kinda stuck on beta till the next stable release then i can stop being on beta.

.

.

i went ahead and uninstalled and then restarted emby and then installed again and restarted.. still doing same thing with failing

.

.

the server has been rebooted many times so its def not that... i have a few programs for deleting and unlocking files so i checked that file and it shows that it is not being locked or used by another program... im very lost here on what the issue is.. i really doubt my server and user base has gotten to big for the plugin to handle, im pretty sure there are people with larger library then me. either way i just wish we could figure out the issue.

hackthis02
Posted
1 minute ago, NEOeclipse said:

ok, i honestly do not know if it is because of the beta or not, i am kinda stuck on beta till the next stable release then i can stop being on beta.

.

.

i went ahead and uninstalled and then restarted emby and then installed again and restarted.. still doing same thing with failing

.

.

the server has been rebooted many times so its def not that... i have a few programs for deleting and unlocking files so i checked that file and it shows that it is not being locked or used by another program... im very lost here on what the issue is.. i really doubt my server and user base has gotten to big for the plugin to handle, im pretty sure there are people with larger library then me. either way i just wish we could figure out the issue.

Can you turn on debug logging, cycle the logs, run the all user task, the DM me the log file?

NEOeclipse
Posted
1 minute ago, hackthis02 said:

Can you turn on debug logging, cycle the logs, run the all user task, the DM me the log file?

i probably can do that yeah... real fast though i decided to look back into my "Alerts" history/log on emby and seen that it started failing calculating statistics after the update to 3.3.2.0, before that is was fine... so should i try uninstalling then re-install the version before that?

hackthis02
Posted
3 minutes ago, NEOeclipse said:

i probably can do that yeah... real fast though i decided to look back into my "Alerts" history/log on emby and seen that it started failing calculating statistics after the update to 3.3.2.0, before that is was fine... so should i try uninstalling then re-install the version before that?

Go for it. Might tell us if it's the plugin or a change to the server.

NEOeclipse
Posted
7 minutes ago, hackthis02 said:

Go for it. Might tell us if it's the plugin or a change to the server.

ok, so i did that and restarted yadda yadda, i am running the scheduled task of calculating all statistics currently, its at 12% so im just gonna watch and wait to see if it completes or fails. now how do i stop emby from updating the plugin automatically because it already gave me the notification that it was updated and i need to restart emby again. OBV im not restarting but yeah... and i noticed the version 3.3.2.0 was when you removed the specials or something like that. but yeah as im typing it is now at 20% already 🙂

NEOeclipse
Posted (edited)
1 hour ago, hackthis02 said:

Go for it. Might tell us if it's the plugin or a change to the server.

well the statistics scan is at 88% currently and has been there for a good while now, but it aint failing so ill just keep waiting it out. In other news though i went to the statistics page and am able to see user statistics once again. but now its just a matter of figuring out why it started failing after your update to 3.3.2.0... geez i just realized its been having issues for over a year now, i forgot we were in 2026 and this update was February 10 of 2025..... ok edit... just finished the statistics scheduled task without fail.

3.3.2.0

10/02/2025

Some code optimizations Removed specials from User-based show progress equations
Edited by NEOeclipse
hackthis02
Posted
1 hour ago, NEOeclipse said:

well the statistics scan is at 88% currently and has been there for a good while now, but it aint failing so ill just keep waiting it out. In other news though i went to the statistics page and am able to see user statistics once again. but now its just a matter of figuring out why it started failing after your update to 3.3.2.0... geez i just realized its been having issues for over a year now, i forgot we were in 2026 and this update was February 10 of 2025..... ok edit... just finished the statistics scheduled task without fail.

3.3.2.0

10/02/2025

Some code optimizations Removed specials from User-based show progress equations

Okay update do the newest and do the debug log thing.

NEOeclipse
Posted (edited)

well, good news... so i restarted emby to let it do the update on the statistics plugin and then i ran all 3 scheduled tasks for statistics and everything went good and finished. i also checked the user statistics and everything loads up and is upto date. So i have no freaking clue what went wrong but all is good now. thanks for the replies and the help @hackthis02and this is now on the latest 3.4.2.0 build of statistics

 

Screenshot 2026-02-26 143305.png

Edited by NEOeclipse
  • Like 1

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...