Merge pull request #2545 from alexbelgium/copilot/fix-firefly-iii-importer-boot

Fix Firefly III Data Importer boot failure: unbound JSON_CONFIGURATION_DIR
This commit is contained in:
Alexandre
2026-02-27 08:03:55 +01:00
committed by GitHub
3 changed files with 5 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
## 2.1.1-3 (2026-02-27)
- Fix boot failure due to unbound JSON_CONFIGURATION_DIR variable (https://github.com/alexbelgium/hassio-addons/issues/1852)
## 2.1.1-2 (2026-02-23)
- Fix cron auto-import no longer triggering after env changes (https://github.com/alexbelgium/hassio-addons/issues/1839)
- Fix health check log spam in nginx

View File

@@ -101,5 +101,5 @@ schema:
slug: fireflyiii_data_importer
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2.1.1-2"
version: "2.1.1-3"
webui: "[PROTO:ssl]://[HOST]:[PORT:8080]"

View File

@@ -8,6 +8,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
# CONFIG IMPORT #
#################
JSON_CONFIGURATION_DIR=""
if [ "$(ls -A "$CONFIGSOURCE/configurations")" ]; then
bashio::log.info "Configurations were found in $CONFIGSOURCE/configurations, they will be loaded."
JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations"