mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-03 15:02:41 +02:00
Compare commits
2 Commits
9dac479dac
...
9796c4e17e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9796c4e17e | ||
|
|
d271856a3b |
@@ -1,3 +1,8 @@
|
||||
## 1.3.0.8 (28-09-2026)
|
||||
|
||||
- Fix the configurations folder nesting inside itself on every restart, which made the web UI show `ConfigurationFactory.php` errors (#3091).
|
||||
- Configurations now live in the add-on config folder, `/addon_configs/xxx_fireflyiii_fints_importer/configurations`. Files in the previous location `/homeassistant/addons_config/fireflyiii_fints_importer` are moved there automatically on first start, and the old folder is marked with a `migrated` file. A custom `addons_autoscripts/fireflyiii-fints-importer.sh` is moved to the add-on config folder as well.
|
||||
|
||||
## 1.3.0.7 (23-09-2026)
|
||||
|
||||
- Rebuilt against the current upstream `benkl/firefly-iii-fints-importer`
|
||||
|
||||
@@ -79,8 +79,10 @@ The `Updates` option allows you to schedule automatic imports:
|
||||
|
||||
### Configuration Storage
|
||||
|
||||
Bank configurations and import settings are stored in:
|
||||
`/config/addons_config/fireflyiii_fints_importer/`
|
||||
Bank configurations (`.json` files) and import settings are stored in the add-on config folder:
|
||||
`/addon_configs/xxx_fireflyiii_fints_importer/configurations/`
|
||||
|
||||
Files from the previous location `/config/addons_config/fireflyiii_fints_importer/` are moved there automatically on first start.
|
||||
|
||||
For configuration file format, see: https://github.com/bnw/firefly-iii-fints-importer#storing-configurations
|
||||
|
||||
|
||||
@@ -70,7 +70,8 @@ environment:
|
||||
TRUSTED_PROXIES: "**"
|
||||
image: ghcr.io/alexbelgium/fireflyiii_fints_importer-{arch}
|
||||
map:
|
||||
- config:rw
|
||||
- app_config:rw
|
||||
- homeassistant_config:rw
|
||||
- share:rw
|
||||
- ssl
|
||||
name: Firefly iii FinTS Importer
|
||||
@@ -89,5 +90,5 @@ schema:
|
||||
slug: fireflyiii_fints_importer
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: 1.3.0.7
|
||||
version: 1.3.0.8
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:8080]"
|
||||
|
||||
19
fireflyiii_fints_importer/rootfs/etc/cont-init.d/00-migrate_files.sh
Executable file
19
fireflyiii_fints_importer/rootfs/etc/cont-init.d/00-migrate_files.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bashio
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
# Migrate files for new config location
|
||||
slug="fireflyiii_fints_importer"
|
||||
if [ -d "/homeassistant/addons_config/$slug" ] && [ ! -f "/homeassistant/addons_config/$slug/migrated" ]; then
|
||||
bashio::log.warning "Migrating configurations"
|
||||
# Self-referencing link left by previous versions
|
||||
if [ -L "/homeassistant/addons_config/$slug/$slug" ]; then rm "/homeassistant/addons_config/$slug/$slug"; fi
|
||||
mkdir -p /config/configurations
|
||||
mv "/homeassistant/addons_config/$slug"/* /config/configurations/ || true
|
||||
echo "Migrated to internal config folder accessible at /addon_configs/xxx_$slug/configurations" > "/homeassistant/addons_config/$slug/migrated"
|
||||
fi
|
||||
|
||||
if [ -f "/homeassistant/addons_autoscripts/fireflyiii-fints-importer.sh" ]; then
|
||||
bashio::log.warning "Migrating autoscript"
|
||||
mv /homeassistant/addons_autoscripts/fireflyiii-fints-importer.sh /config/ || true
|
||||
fi
|
||||
@@ -2,25 +2,13 @@
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer"
|
||||
CONFIGSOURCE="/config/configurations"
|
||||
|
||||
# Create directory
|
||||
mkdir -p "$CONFIGSOURCE"
|
||||
|
||||
# If no file, provide example
|
||||
if [ ! "$(ls -A "${CONFIGSOURCE}")" ] && [ -f /data/configurations ]; then
|
||||
cp -r /data/configurations/* "$CONFIGSOURCE"/ || true
|
||||
rm -r /data/configurations
|
||||
fi
|
||||
|
||||
if [ ! "$(ls -A "${CONFIGSOURCE}")" ] && [ -f /app/configurations ]; then
|
||||
cp -r /app/configurations/* "$CONFIGSOURCE"/ || true
|
||||
rm -r /app/configurations
|
||||
fi
|
||||
|
||||
ln -sf "$CONFIGSOURCE" /data/configurations
|
||||
mkdir -p /app
|
||||
ln -sf "$CONFIGSOURCE" /app/configurations
|
||||
# The app reads data/configurations; -n replaces the link kept in /data instead of nesting a new one inside it
|
||||
ln -sfn "$CONFIGSOURCE" /data/configurations
|
||||
|
||||
# Make sure permissions are right
|
||||
chown -R "$(id -u):$(id -g)" "$CONFIGSOURCE"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer"
|
||||
CONFIGSOURCE="/config/configurations"
|
||||
|
||||
#################
|
||||
# CONFIG IMPORT #
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
## ⚠ Open Issue : [❓ [qBittorrent] OpenVPN Port Forwarding (opened 2024-10-10)](https://github.com/alexbelgium/hassio-addons/issues/1599) by [@fullstackdelay](https://github.com/fullstackdelay)
|
||||
## ⚠ Open Request : [✨ [REQUEST] transmission, document where torrent files are stored (opened 2026-07-14)](https://github.com/alexbelgium/hassio-addons/issues/2852) by [@bilogic](https://github.com/bilogic)
|
||||
## ⚠ Open Issue : [🐛 Firefly FinTS Importer: recursive/self-nested addons_config folder + ConfigurationFactory.php error, config JSON never persisted (opened 2026-09-27)](https://github.com/alexbelgium/hassio-addons/issues/3091) by [@patmansk](https://github.com/patmansk)
|
||||
# Hass.io Add-ons: Tor with bridges
|
||||
|
||||
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||
|
||||
Reference in New Issue
Block a user