Jump to content

Reports plugin broken since upgrade to 4.0.0.2


Nit
 Share

Recommended Posts

Hi,

 

The report plugin has stopped working since I upgraded to 4.0.0.2 (debian x64). The plugin version is 1.0.24.0.

On load, the plugin UI load in front of whatever was displayed on screen (the dom is not clear before rendering)

 

For instance if loaded from the scheduled task : https://ibb.co/t3zv5Hg

 

On load, emby try to load the url /web/configurationpage?name=reportsjs&v=4.0.0.2 but get a 404 error with "Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown."

 

The corresponding server logs show:

2019-01-20 17:40:08.893 Info HttpServer: HTTP GET https://example.com:8920/web/configurationpage?name=reportsjs&v=4.0.0.2. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
2019-01-20 17:40:08.895 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.0.0.2
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -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.9.0.8
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Common.Extensions.ResourceNotFoundException: MediaBrowser.Common.Extensions.ResourceNotFoundException: Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown.
	   at MediaBrowser.WebDashboard.Api.DashboardService.Get(GetDashboardConfigurationPage 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(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	Source: MediaBrowser.WebDashboard
	TargetSite: System.Threading.Tasks.Task`1[System.Object] Get(MediaBrowser.WebDashboard.Api.GetDashboardConfigurationPage)
	   at MediaBrowser.WebDashboard.Api.DashboardService.Get(GetDashboardConfigurationPage 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(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

Link to comment
Share on other sites

@@Happy2Play are you able to reproduce this?

 

There are a couple reports of this but I don't see this on any of my systems in any browser.  @@Luke is this something OS related?

 

V1.0.24.0 or v1.0.25.0

 

Only issue I still see are "Albums" and  "Artists" Reports

 

Artists returns no results

2019-01-20 13:40:32.601 Info HttpServer: HTTP GET http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=MusicArtist&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending.

Album throws error.  Console show 500 (Internal Server Error)

2019-01-20 13:42:07.743 Info HttpServer: HTTP GET http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=MusicAlbum&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
2019-01-20 13:42:07.748 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.1.0.1
	Command line: C:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 12
	Program data path: C:\Emby-Server\programdata
	Application directory: C:\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at EmbyReports.Api.Common.ReportBuilderBase.GetPersonID(String name)
	   at EmbyReports.Api.Data.ReportBuilder.GetReportRows(IEnumerable`1 items, List`1 options)
	   at EmbyReports.Api.Data.ReportBuilder.GetResult(BaseItem[] items, IReportsQuery request)
	   at EmbyReports.Api.ReportsService.GetReportResult(GetItemReport request, User user)
	   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(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	Source: EmbyReports
	TargetSite: System.String GetPersonID(System.String)
	
2019-01-20 13:42:07.749 Info HttpServer: HTTP Response 500 to 192.168.151.7. Time: 5ms. http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=MusicAlbum&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending

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
 Share

×
×
  • Create New...