[BUG] - Radarr+Sonarr - Scripts Reverting the quality settings #56

Closed
opened 2026-02-20 00:14:20 -05:00 by deekerman · 8 comments
Owner

Originally created by @tommargar on GitHub (Sep 18, 2023).

Originally assigned to: @RandomNinjaAtk on GitHub.

Application
Radarr and Sonarr

Host platform
Docker

Script
Please identify which script your having a problem with...

Script Version
current

Describe the bug
Sonarr and Radarr always reset the quality settings to, I guess, the Arr scripts default.
It seems as if mainly the 1080 settings are affected. Every time I reset the values/edit them to my liking, it tales only half a day and everything's set the way it wasn't saved.

To Reproduce
Steps to reproduce the behavior:

  1. Revert quality settings to default or save your own
  2. Waait for Radarr/Sonarr use different settings

Expected behavior
Keeping the quality settings as the user provided.

Logs/Screenshots
Radarr
image

Sonarr
image

Originally created by @tommargar on GitHub (Sep 18, 2023). Originally assigned to: @RandomNinjaAtk on GitHub. **Application** Radarr and Sonarr **Host platform** Docker **Script** Please identify which script your having a problem with... **Script Version** current **Describe the bug** Sonarr and Radarr always reset the quality settings to, I guess, the Arr scripts default. It seems as if mainly the 1080 settings are affected. Every time I reset the values/edit them to my liking, it tales only half a day and everything's set the way it wasn't saved. **To Reproduce** Steps to reproduce the behavior: 1. Revert quality settings to default or save your own 2. Waait for Radarr/Sonarr use different settings **Expected behavior** Keeping the quality settings as the user provided. **Logs/Screenshots** Radarr ![image](https://github.com/RandomNinjaAtk/arr-scripts/assets/16738568/375c4d12-6973-4a8e-9ccc-e48f6345944e) Sonarr ![image](https://github.com/RandomNinjaAtk/arr-scripts/assets/16738568/aef966ce-6fae-4139-a381-c2c93665e292)
deekerman 2026-02-20 00:14:20 -05:00
Author
Owner

@RandomNinjaAtk commented on GitHub (Sep 18, 2023):

If you have recyclarr enabled, that is what is changing it….

There is nothing to fix, and it’s not a bug, you just need to pay attention and understand your configuration…

@RandomNinjaAtk commented on GitHub (Sep 18, 2023): If you have recyclarr enabled, that is what is changing it…. There is nothing to fix, and it’s not a bug, you just need to pay attention and understand your configuration…
Author
Owner

@tommargar commented on GitHub (Sep 18, 2023):

Thank you, I'll take a look what Recyclarr tries to achieve. Otherwise, I'll turn it off for good.

@tommargar commented on GitHub (Sep 18, 2023): Thank you, I'll take a look what Recyclarr tries to achieve. Otherwise, I'll turn it off for good.
Author
Owner

@tommargar commented on GitHub (Sep 18, 2023):

Update: I've edited the recyclarr.yaml files and removed the quality definitions, as https://recyclarr.dev/wiki/yaml/config-reference/quality-definition/ stated those are optional.

Both Sonarr and Radarr keep re-adding those unwanted settings on restart of the docker container.

I think I skip Recyclarr entirely, as this is unusable ath the moment and leads to unwanted 20+ GB downloads.

/Edit: Disabled Recyclarr completely. When I was editing the yaml while initially setting everything up, I'm sure it wasn't there in the first place so I didn't care.

@tommargar commented on GitHub (Sep 18, 2023): Update: I've edited the recyclarr.yaml files and removed the quality definitions, as https://recyclarr.dev/wiki/yaml/config-reference/quality-definition/ stated those are optional. Both Sonarr and Radarr keep re-adding those unwanted settings on restart of the docker container. I think I skip Recyclarr entirely, as this is unusable ath the moment and leads to unwanted 20+ GB downloads. /Edit: Disabled Recyclarr completely. When I was editing the yaml while initially setting everything up, I'm sure it wasn't there in the first place so I didn't care.
Author
Owner

@RandomNinjaAtk commented on GitHub (Sep 18, 2023):

The recyclarr config file should not be getting reset on container restarts. Your customizations to the yaml file should stay intact... Is that not the case?

You can see where it is not to be overwritten (only downloads file if it does not already exist):
github.com/RandomNinjaAtk/arr-scripts@8b8f3bf844/radarr/setup.bash (L95-L98)

github.com/RandomNinjaAtk/arr-scripts@8b8f3bf844/sonarr/setup.bash (L100-L104)

@RandomNinjaAtk commented on GitHub (Sep 18, 2023): The recyclarr config file should not be getting reset on container restarts. Your customizations to the yaml file should stay intact... Is that not the case? You can see where it is not to be overwritten (only downloads file if it does not already exist): https://github.com/RandomNinjaAtk/arr-scripts/blob/8b8f3bf844a476cd4b6e82f79c77fb57d16191cf/radarr/setup.bash#L95-L98 https://github.com/RandomNinjaAtk/arr-scripts/blob/8b8f3bf844a476cd4b6e82f79c77fb57d16191cf/sonarr/setup.bash#L100-L104
Author
Owner

@tommargar commented on GitHub (Sep 19, 2023):

Not sure what's happening. The yaml is being partially overwritten. The ip for the server stay intact, same as the API key.
But everytime I modify/delete the lines and restart any of the containers,

    quality_definition:
      type: sqp-streaming

or

    quality_definition:
      type: series

they get re-added.

/EDIT: Realized that this time also the IP address and API keys were overwritten.
I see the code and understand its purpose, but those files were overwritten nonetheless.

@tommargar commented on GitHub (Sep 19, 2023): Not sure what's happening. The yaml is being partially overwritten. The ip for the server stay intact, same as the API key. But everytime I modify/delete the lines and restart any of the containers, ``` quality_definition: type: sqp-streaming ``` or ``` quality_definition: type: series ``` they get re-added. /EDIT: Realized that this time also the IP address and API keys were overwritten. I see the code and understand its purpose, but those files were overwritten nonetheless.
Author
Owner

@RandomNinjaAtk commented on GitHub (Sep 19, 2023):

If you watch the container startup logs, you should see where it downloads the config files...

If it doesn't say "Download Recyclarr config...", then it isn't updating the file from online, so it shouldn't be overwriting changes. And if it is, then maybe there is a bug somewhere....

@RandomNinjaAtk commented on GitHub (Sep 19, 2023): If you watch the container startup logs, you should see where it downloads the config files... If it doesn't say "Download Recyclarr config...", then it isn't updating the file from online, so it shouldn't be overwriting changes. And if it is, then maybe there is a bug somewhere....
Author
Owner

@RandomNinjaAtk commented on GitHub (Sep 19, 2023):

Your feedback did identify a problem, it should now be fixed. Apparently when I made it not overwrite the conf, I did some copy/pasta and didn't remove the original download/overwrite.

So it was always being overwritten. This should now be fixed going forward....

@RandomNinjaAtk commented on GitHub (Sep 19, 2023): Your feedback did identify a problem, it should now be fixed. Apparently when I made it not overwrite the conf, I did some copy/pasta and didn't remove the original download/overwrite. So it was always being overwritten. This should now be fixed going forward....
Author
Owner

@tommargar commented on GitHub (Sep 19, 2023):

Thank you very much!

@tommargar commented on GitHub (Sep 19, 2023): Thank you very much!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/arr-scripts#56
No description provided.