Closed OrangeJas closed 3 years ago
This USED to be an issue but I squashed that a while back, what version are you running? (Options page, at the bottom, send me all of the info)
Application: 1.2.7926.14953
Runtime: 5.0.9
FFmpeg: N-101934-g7e241a1
Docker: Yes
OS: Unix 5.10.28.0 - Nvidia HW Support
OS 64bit: True
App 64bit: True
You said in the initial post that the Trace Debugging was enabled, there should be more in the logs, if that's the case. Can you restart the app, reproduce the error and send me the log again, it should output the "Property Name" which is causing this issue, just before it crashes.
If you're not seeing any more in the log can you send me the "Logging" part of the appsettings.json please?
log-20211101.txt appsettings.txt
Here are the 2 files since the log seemed the same had to change the JSON to TXT to add it in the comment. Also I blanked some info the API keys and such.
Can you change the Logging File Section to this:
"File": { "PathFormat": "/config/logs/log-{Date}.txt", "LogLevel": { "Default": "Warning", "Compressarr": "Debug" } }
Restart the app, recreate the issue and send me the log file again please.
log-20211101.txt Here you go
Somethings not right, with debug logging enabled that log file should be a lot bigger than that. Looks like your running this on Unraid. Can you restart the app repeat the crash and send me the Docker Log, please?
Looks like your 3 hours behind UTC, according to the log files, is that correct?
Yes that is correct currently I'm in UTC -3 It's also running on Unraid 6.9.2
Hopefully this one helps you 64cd51cdbb7cdf12acc08607e012e9bdcb18d323de840ac9a9db138660e42aa0-json.txt
That log makes much more sense. Was that the Docker Log?
I have just pushed a new version, (may take a minute to build & show up) This won't fix the problem but I have added code to, hopefully, make it fail a bit more gracefully and also log in more detail what is missing.
What's odd id it looks like, from the original error message that the problem is you don't have any series information from Sonarr, but you couldn't get to that part of the code if you didn't. Then the remaining option is the filter is somehow returning no results, but then again the filters a built from the data, so that should also be impossible.
Just out of curiosity:
New version info:
Application: 1.2.7976.16488 Runtime: 5.0.11 FFmpeg: N-101934-g7e241a1 Docker: Yes OS: Unix 5.10.28.0 - Nvidia HW Support OS 64bit: True App 64bit: True
Here is a copy of the current app settings appsettings.txt
Here is a copy of the log file for the app. But it seems still lacking. log-20211102.txt
Here is a copy of the docker log file. 653e1487b6cb6268585090412b574a6796d0f068abcc15d8226dd973983b2b8c-json.txt
I have just pushed another update. I'm hoping what will happen is the page will no longer throw an error, but the drop down you get may (probably will) be empty. Let me know.
On the left hand side of the Sonarr page, are you seeing the codex against the series?
If I hit refresh I can see the codecs. Also it still gives me the error on the page when I select either codecs filter options.
Could the number of files be a potential issues.
Here are copies of the new logs: log-20211102.txt a59587a433963b9adf52f74750d733f196c971f6bd1aa9124a3c9775c1a41d96-json.txt
The app settings didn't change.
Version:
Application: 1.2.7976.41956 Runtime: 5.0.11 FFmpeg: N-101934-g7e241a1 Docker: Yes OS: Unix 5.10.28.0 - Nvidia HW Support OS 64bit: True App 64bit: True
Version number should definitely have changed, it's based on date and time of build. No the number of files would not be the issue here, unless maybe there are no files. The problem is somewhere between taking the list of all your files, and then creating a distinct list of the codecs used something is returning an empty (null) response, that's what the "Object reference not set to an instance of an object" means.
You said "If I hit refresh I can see the codecs." Does this mean that when the page first loads there are no codecs listed next to your series?
When I initially load the Sonarr page I don't see anything on the left till I click the refresh button at the top right.
Before I clicked refreshed:
After I clicked refreshed:
The green refresh button?
Yes
Ok, that's weird, has it always done that?
Yes since I started using it's been doing that.
What version of Sonarr are you using?
Version 3.0.4.1126 Package Version 3.0.4.1126-1 by sonarr-phantom Mono Version 6.12.0 AppData directory /config Startup directory /usr/lib/sonarr/bin Mode Console
I guess it still crashes after you've refreshed?
yes that is correct.
Ok, I'll have a look at the way it fetches data tomorrow. It's a weird one.
Alright let me know if you want me to test anything
Might have just fixed it with the latest update. Try it in a few minutes.
So it's better now. I can select a codec. But it crashes when I click add.
Version:
Application: 1.2.7977.42314 Runtime: 5.0.11 FFmpeg: N-101934-g7e241a1 Docker: Yes OS: Unix 5.10.28.0 - Nvidia HW Support OS 64bit: True App 64bit: True
Here are the log files: 13129d481425edd0bfac78295d2793ef7c2abdaec377fe373e7e6f754f7dde07-json.txt log-20211103.txt
I think I've figured out what the problem is, somewhere along the line one or more of your files is missing information from Sonarr, or Sonarr is providing incomplete info. I've added a work around for this, but I have a feeling even if this works we've not seen the end if it.
Well I was able to create the list and then the job also.
The list of shows is populated without me clicking the green refresh button now.
Wonderful, re-open if you run into any more issues with it. :)
The application give the error: An error has occurred. This application may no longer respond until reloaded. Reload When I select the option: Season - Episode Files - Media Info - Video Codec
Here is a log file with Trace Debuging enabled. log-20211101.txt