ManiMatter / decluttarr

Watches radarr, sonarr, lidarr, readarr and whisparr download queues and removes downloads if they become stalled or no longer needed.
GNU General Public License v3.0
99 stars 15 forks source link

Docker gives an "unexpected type map[string]interface {}" error when pulling with the newest compose.yaml #116

Closed PronPan closed 1 month ago

PronPan commented 1 month ago

This is caused by "FAILED_IMPORT_MESSAGE_PATTERNS:" using a colon instead of "=" like the other variables. The image is able to be pulled fine when correcting that, but it then isn't able to convert the "Not an upgrade for existing" strings to a list. Fixed this by removing the extra indentation and quotes, which changes the entire variable to-

- FAILED_IMPORT_MESSAGE_PATTERNS=["Not an upgrade for existing", "Not a Custom Format upgrade for existing"]

No issues anymore.

PS: This script is perfect and does exactly what I need. Thank you!!!

ManiMatter commented 1 month ago

Hi, thanks for reporting the issue.

I will correct the readme.