Describe the bug
Changing a shows quality or release groups after it's been added does not work. Nothing is shown in the logs, but when you attempt to do so, it stalls on saving until it gives up after 30000ms. You have to delete the show and readd to do anything.
To Reproduce
Steps to reproduce the behavior:
Steps to reproduce the behavior:
Expected behavior
The quality profile to change or the release groups to be changed.
Medusa (please complete the following information):
Debug logs (at least 50 lines):
General > Advanced Settings > Enable debug
Changing Release Groups (One is already present)
2019-12-10 12:41:56 DEBUG APIv2-Thread-16 :: TVDBv2 369735: Setting location: /nas/media/Anime/TV/Blade of the Immortal (2019)
2019-12-10 12:41:56 DEBUG APIv2-Thread-16 :: Internal name cache for blade of the immortal 2019 set to: mugen no juunin immortal, blade of the immortal 2019
2019-12-10 12:41:56 INFO APIv2-Thread-16 :: Building internal name cache for Blade of the Immortal (2019)
2019-12-10 12:41:56 INFO APIv2-Thread-16 :: Finished processing 3174 scene exceptions.
2019-12-10 12:41:56 INFO APIv2-Thread-16 :: Updating exception_cache and exception_season_cache
2019-12-10 12:41:56 INFO APIv2-Thread-16 :: Updating scene exceptions for series Blade of the Immortal (2019) and indexer 1 with id 369735
2019-12-10 12:41:50 INFO Thread-12 :: ReleaseGroups: []
2019-12-10 12:41:50 INFO Thread-12 :: ReleaseGroups: Blade of the Immortal (2019)
2019-12-10 12:38:33 INFO Thread-14 :: ReleaseGroups: []
2019-12-10 12:38:33 INFO Thread-14 :: ReleaseGroups: Blade of the Immortal (2019)
Changing Quality:
2019-12-10 12:44:55 DEBUG APIv2-Thread-18 :: TVDBv2 369735: Setting location: /nas/media/Anime/TV/Blade of the Immortal (2019)
2019-12-10 12:44:55 DEBUG APIv2-Thread-18 :: Internal name cache for blade of the immortal 2019 set to: mugen no juunin immortal, blade of the immortal 2019
2019-12-10 12:44:55 INFO APIv2-Thread-18 :: Building internal name cache for Blade of the Immortal (2019)
2019-12-10 12:44:55 INFO APIv2-Thread-18 :: Finished processing 3174 scene exceptions.
2019-12-10 12:44:55 INFO APIv2-Thread-18 :: Updating exception_cache and exception_season_cache
2019-12-10 12:44:55 INFO APIv2-Thread-18 :: Updating scene exceptions for series Blade of the Immortal (2019) and indexer 1 with id 369735
2019-12-10 12:44:48 INFO Thread-6 :: ReleaseGroups: []
2019-12-10 12:44:48 INFO Thread-6 :: ReleaseGroups: Blade of the Immortal (2019)
Additional context
Unfortunately there isn't anything useful in the DEBUG logs showing this issue, it just continues to timeout.
Thanks for the bug report.
Can you confirm this is a show specific issue?
Browser + version?
Firefox 71, and I see this on any show. Though I don't recall it happening before I added Blade of the Immortal (2019), which had some error about the network missing time?
Hmm, can you try removing and re-adding the show? See if that helps.
Didn't seem to help :/
2019-12-11 06:17:03 ERROR DAILYSEARCHER :: [] Missing time zone for network: Amazon (Japan)
is the error I see with it. Release groups and quality are still timing out
Figured out the release quality not working, you need to pause the show since as soon as you change the quality it kicks off an entire search on all the search providers. But if it's paused it doesn't do that and allows you to change the quality.
I lied, that seem to be a fluke. It's now still failing on changing quality
Does it work if you remove that specific show? Tried a different browser? I'm currently unable to reproduce this issue.
So it's not related to the show, I actually found the root cause! If you have anidb enabled, and your client/user is banned for excessive (they seem to do this quickly and often) then Medusa times out trying to fetch Release Groups and that stalls the saving process. I've been able to change groups and qualities many times since disabling anidb's integration.
Most helpful comment
So it's not related to the show, I actually found the root cause! If you have anidb enabled, and your client/user is banned for excessive (they seem to do this quickly and often) then Medusa times out trying to fetch Release Groups and that stalls the saving process. I've been able to change groups and qualities many times since disabling anidb's integration.