alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.36k stars 193 forks source link

πŸ› [Sonarr] Connection mode is a concatenated string not a list of options #1350

Closed encryptix closed 2 months ago

encryptix commented 2 months ago

Description

Version 4.0.4.1515-4 The new connection_mode option is not settable.

image

Failed to save add-on configuration, value must be one of ['ingress_noauth,noingress_auth,ingress_auth']. Got {'PGID': 0, 'PUID': 0, 'connection_mode': 'ingress_noauth'}

image

Reproduction steps

1. Update to latest version
2. Click on add on
3. View Options
4. Try to save

Addon Logs

User UID: 0
User GID : 0
-----------------------------------------------------------
/etc/cont-init.d/00-deprecated.sh: executing

####################

# ADDON deprecated #
####################
This addon is now supported in the official HA community repository. You should migrate your data as soon as possible! This addon will not be supported and updates might stop in the future.
You'll likely get better support as the official community is supported by the HA devs ! If some features from the official add-on are missing you should raise a request on the ha community add-ons repo
Thanks for all users over the years !
/etc/cont-init.d/00-global_var.sh: executing
PGID='0'
PUID='0'
connection_mode='ingress_noauth,noingress_auth,ingress_auth'
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory

Load environment variables from /config/addons_config/sonarr-nas/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /homeassistant/addons_config/sonarr-nas/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables

... no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /homeassistant/addons_config/sonarr-nas/sonarr-nas.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/20-folders.sh: executing
/etc/cont-init.d/32-nginx_ingress.sh: executing
---------------------------
Connection_mode is ingress_noauth,noingress_auth,ingress_auth
---------------------------
/etc/cont-init.d/90-disable_ingress.sh: executing

Starting the upstream container

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

Architecture

armv7

OS

HAos

alexbelgium commented 2 months ago

Thanks ; typo for from part

alexbelgium commented 2 months ago

Updates pushed

alexbelgium commented 2 months ago

Is everything good now ?

encryptix commented 2 months ago

All good now, thank you!