bjs.pdx 0 Posted March 17, 2019 Posted March 17, 2019 I'm running an Emby server on a Shield TV Pro with Emby Premium. I'm trying to setup a recording of a series ("Bull") but am running into difficulties. I had it scheduled and wanted to make a change but now I just get a looping circle and can't change or delete the program. It's a little hard to see in the screenshot. Emby version is Version 4.0.2.0. My impression is some sort of database corruption but not sure how I can tell or troubleshoot.
bjs.pdx 0 Posted March 17, 2019 Author Posted March 17, 2019 (edited) Found this in the server logs and wondered if it could be related to my problem: 2019-03-17 15:44:19.719 Error HttpServer: Error processing request *** Error Report *** Version: 4.0.2.0 Command line: /data/app/com.emby.embyserver-rVHe4wh9F8eCMxfrFfIluA==/base.apk Operating system: Unix 4.9.109.2 64-Bit OS: True 64-Bit Process: True User Interactive: False Processor count: 4 Program data path: /storage/emulated/0/Android/data/com.emby.embyserver/files Application directory: /data/user/0/com.emby.embyserver Mono: 5.14.0 (explicit/000780ca82c) Android Version: 8.0.0-REL - SDK: 26 'O' Patch Level: 3664093_1378.1894 (2018-11-05) Fingerprint: NVIDIA/foster_e_hdd/foster:8.0.0/OPR6.170623.010/3664093_1378.1894:user/release-keys Model: SHIELD Android TV - NVIDIA/NVIDIA Hardware: foster/foster_e_hdd/foster_e_hdd/unknown SupportedAbis: arm64-v8a, armeabi-v7a, armeabi System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. Parameter name: result at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetResult[T] (MediaBrowser.Model.Services.IRequest requestContext, T result, System.Collections.Generic.IDictionary`2[TKey,TValue] responseHeaders) [0x00008] in <5837600bbe23491d837720283845e3f2>:0 at MediaBrowser.Api.BaseApiService.ToOptimizedResult[T] (T result) [0x0000c] in <20c7b849910449e5ae52da95fa40f045>:0 at MediaBrowser.Api.LiveTv.LiveTvService+<Get>d__51.MoveNext () [0x00092] in <20c7b849910449e5ae52da95fa40f045>:0 --- End of stack trace from previous location where exception was thrown --- at Emby.Server.Implementations.Services.ServiceExecGeneral+<GetTaskResult>d__3.MoveNext () [0x00081] in <5837600bbe23491d837720283845e3f2>:0 --- End of stack trace from previous location where exception was thrown --- at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__14.MoveNext () [0x0023e] in <5837600bbe23491d837720283845e3f2>:0 --- End of stack trace from previous location where exception was thrown --- at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__56.MoveNext () [0x00af1] in <5837600bbe23491d837720283845e3f2>:0 Source: mscorlib TargetSite: Void Throw() at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetResult[T] (MediaBrowser.Model.Services.IRequest requestContext, T result, System.Collections.Generic.IDictionary`2[TKey,TValue] responseHeaders) [0x00008] in <5837600bbe23491d837720283845e3f2>:0 at MediaBrowser.Api.BaseApiService.ToOptimizedResult[T] (T result) [0x0000c] in <20c7b849910449e5ae52da95fa40f045>:0 at MediaBrowser.Api.LiveTv.LiveTvService+<Get>d__51.MoveNext () [0x00092] in <20c7b849910449e5ae52da95fa40f045>:0 --- End of stack trace from previous location where exception was thrown --- at Emby.Server.Implementations.Services.ServiceExecGeneral+<GetTaskResult>d__3.MoveNext () [0x00081] in <5837600bbe23491d837720283845e3f2>:0 --- End of stack trace from previous location where exception was thrown --- at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__14.MoveNext () [0x0023e] in <5837600bbe23491d837720283845e3f2>:0 --- End of stack trace from previous location where exception was thrown --- at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__56.MoveNext () [0x00af1] in <5837600bbe23491d837720283845e3f2>:0 2019-03-17 15:44:19.720 Info HttpServer: HTTP Response 400 to 192.168.5.24. Time: 13ms Edited March 17, 2019 by bjs.pdx
Luke 38840 Posted March 18, 2019 Posted March 18, 2019 Hi there, can you please attach the complete emby server log? thanks !
bjs.pdx 0 Posted March 18, 2019 Author Posted March 18, 2019 Been trying to post the data as text. How do I download the log file so I can attach it? When I access the logs via the web interface it just opens the log. When I tried to copy and paste it seems to fail.
denz 450 Posted March 18, 2019 Posted March 18, 2019 You should be able to right click on the log and select "save target as" that will save it to the location you specify.
bjs.pdx 0 Posted March 18, 2019 Author Posted March 18, 2019 I think the attached file should contain the error... EmbyServerLog.txt
bjs.pdx 0 Posted March 19, 2019 Author Posted March 19, 2019 (edited) Not sure if this helps, but this is the seriestimers.json and timers.json files from the Shield TV Pro... I manually added a recording for one episode of Bull and it appears in the timers.json file. Wondering if I could edit the series timers manually to add the program and get things back to normal. Thoughts? seriestimers.json.txt timers.json.txt Edited March 19, 2019 by bjs.pdx
bjs.pdx 0 Posted March 20, 2019 Author Posted March 20, 2019 (edited) The system thinks there is a series recording scheduled. If I try to make any changes to the series settings I get the spinning circle. This morning I tried to delete the recording using the Emby client app on the Shield and it just popped up a message saying it was unable to delete the scheduled recording, which makes sense since I can't find any record of it. Can I just delete the two json files and force the system to create new ones or will that make things even worse? Is there another file that contains a reference to the non-existent series recording schedule? Edited March 20, 2019 by bjs.pdx
bjs.pdx 0 Posted March 21, 2019 Author Posted March 21, 2019 I think I may have finally found a solution to my problem. I deleted all scheduled recordings for individual shows and series. I then looked at the json files and found there was still an entry for Bull in the timers.json file. I copied it to a backup file then edit the original to force it to a blank and rebooted the Shield to force a restart of Emby. I was just able to add back a recording of the series for Bull. I'll add back others and see if the recordings actually work.
Luke 38840 Posted March 27, 2019 Posted March 27, 2019 When did you originally create these series recordings?
bjs.pdx 0 Posted March 28, 2019 Author Posted March 28, 2019 Some time ago...don't really remember. Creating a blank file seems to have fixed that problem. I have another issue with the Roku app though. Seems that if I watch a recorded tv program and delete from the Roku, the Emby app terminates or crashes and leaves me at the Roku home page.
bjs.pdx 0 Posted April 13, 2019 Author Posted April 13, 2019 Are you still seeing this? Haven't had any problems since I created the blank file...
Luke 38840 Posted April 17, 2019 Posted April 17, 2019 Interesting, thanks for the feedback. The next server release will start using the bif files in other apps, including the web app, so it will be interesting to see if there's any problems there.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now