diff --git a/epicgamesfree/CHANGELOG.md b/epicgamesfree/CHANGELOG.md index 9b98cf8e3..913925ac4 100644 --- a/epicgamesfree/CHANGELOG.md +++ b/epicgamesfree/CHANGELOG.md @@ -1,4 +1,7 @@ +## debian-2025-12-04-2 (2026-01-09) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/epicgamesfree to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-epicgamesfree. Please make a backup before updating. + ## debian-2025-12-02 (2025-12-02) - Update to latest version from charlocharlie/epicgames-freegames diff --git a/epicgamesfree/README.md b/epicgamesfree/README.md index 213cf5029..33c1744f5 100644 --- a/epicgamesfree/README.md +++ b/epicgamesfree/README.md @@ -39,7 +39,7 @@ Addon options expose the `env_vars` field for passing extra environment variable ### Configuration Files -Configuration files are stored in `/config/addons_config/epicgamesfree/`: +Configuration files are stored in `/addon_configs/xxx-epicgamesfree/`: - **config.json**: Main configuration file - **cookies.json**: Authentication cookies (optional) @@ -50,7 +50,7 @@ If these files don't exist, they will be created at first boot with default sett ### Basic Configuration -Create `/config/addons_config/epicgamesfree/config.json`: +Create `/addon_configs/xxx-epicgamesfree/config.json`: ```json { @@ -149,7 +149,7 @@ notifications: ### Cookie Import (Optional) -You can import browser cookies to avoid login issues. Create `/config/addons_config/epicgamesfree/cookies.json`: +You can import browser cookies to avoid login issues. Create `/addon_configs/xxx-epicgamesfree/cookies.json`: For detailed cookie import instructions, see: https://github.com/claabs/epicgames-freegames-node#cookie-import diff --git a/epicgamesfree/config.yaml b/epicgamesfree/config.yaml index 4c1d67888..e5c7d54df 100644 --- a/epicgamesfree/config.yaml +++ b/epicgamesfree/config.yaml @@ -67,11 +67,12 @@ devices: - /dev/nvme1 - /dev/nvme2 environment: - CONFIG_DIR: /config/addons_config/epicgamesfree + CONFIG_DIR: /config image: ghcr.io/alexbelgium/epicgamesfree-{arch} init: false map: - - config:rw + - addon_config:rw + - homeassistant_config:rw name: Epic Games Free options: env_vars: [] @@ -88,5 +89,5 @@ schema: slug: epicgamesfree udev: true url: https://github.com/alexbelgium/hassio-addons -version: "debian-2025-12-02" +version: "debian-2025-12-04-2" webui: "[PROTO:ssl]://[HOST]:[PORT:3000]" diff --git a/epicgamesfree/rootfs/etc/cont-init.d/20-folders.sh b/epicgamesfree/rootfs/etc/cont-init.d/20-folders.sh index 74dd48216..4f12d2299 100755 --- a/epicgamesfree/rootfs/etc/cont-init.d/20-folders.sh +++ b/epicgamesfree/rootfs/etc/cont-init.d/20-folders.sh @@ -2,7 +2,25 @@ # shellcheck shell=bash set -e +slug=epicgamesfree +legacy_path="/homeassistant/addons_config/$slug" +target_path="/config" + +mkdir -p "$target_path" + +if bashio::config.has_value 'CONFIG_LOCATION' && [ "$(bashio::config 'CONFIG_LOCATION')" != "/config" ]; then + legacy_path="$(bashio::config 'CONFIG_LOCATION')" +fi + +if [ -d "$legacy_path" ]; then + if [ ! -f "$legacy_path/.migrated" ] || [ -z "$(ls -A "$target_path" 2>/dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi +fi + # Define home -HOME="/config/addons_config/epicgamesfree" +HOME="/config" mkdir -p $HOME chmod -R 777 $HOME diff --git a/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh b/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh index ad08ca1c9..d2a078b5b 100755 --- a/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh +++ b/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh @@ -6,7 +6,7 @@ set -e # Initialize # ############## -HOME="/config/addons_config/epicgamesfree" +HOME="/config" CONFIG_JSON="$HOME/config.json" LEGACY_YAML="$HOME/config.yaml" diff --git a/fireflyiii/CHANGELOG.md b/fireflyiii/CHANGELOG.md index 9fe8011c7..e4e612386 100644 --- a/fireflyiii/CHANGELOG.md +++ b/fireflyiii/CHANGELOG.md @@ -1,4 +1,7 @@ +## 6.4.15-1 (09-01-2026) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/fireflyiii to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-fireflyiii. Please make a backup before updating. + ## 6.4.15 (08-01-2026) - Update to latest version from firefly-iii/firefly-iii (changelog : https://github.com/firefly-iii/firefly-iii/releases) diff --git a/fireflyiii/README.md b/fireflyiii/README.md index 9e474f69e..a8c4ee1ef 100644 --- a/fireflyiii/README.md +++ b/fireflyiii/README.md @@ -47,7 +47,7 @@ Configurations can be done through the app webUI, except for the following optio | Option | Type | Default | Description | |--------|------|---------|-------------| | `APP_KEY` | str | `CHANGEME_32_CHARS_EuC5dfn3LAPzeO` | **CRITICAL**: 32-character encryption key - change before first run! | -| `CONFIG_LOCATION` | str | `/config/addons_config/fireflyiii/config.yaml` | Location of additional config file | +| `CONFIG_LOCATION` | str | `/addon_configs/xxx-fireflyiii/config.yaml` | Location of additional config file | | `DB_CONNECTION` | list | `sqlite_internal` | Database type (sqlite_internal/mariadb_addon/mysql/pgsql) | | `DB_HOST` | str | | Database host (for external databases) | | `DB_PORT` | str | | Database port (for external databases) | @@ -61,7 +61,7 @@ Configurations can be done through the app webUI, except for the following optio ```yaml APP_KEY: "SomeRandomStringOf32CharsExactly" -CONFIG_LOCATION: "/config/addons_config/fireflyiii/config.yaml" +CONFIG_LOCATION: "/addon_configs/xxx-fireflyiii/config.yaml" DB_CONNECTION: "mariadb_addon" DB_HOST: "core-mariadb" DB_PORT: "3306" @@ -101,4 +101,3 @@ Create an issue on github [repository]: https://github.com/alexbelgium/hassio-addons - diff --git a/fireflyiii/config.yaml b/fireflyiii/config.yaml index 606bcc40c..462807879 100644 --- a/fireflyiii/config.yaml +++ b/fireflyiii/config.yaml @@ -69,13 +69,14 @@ environment: image: ghcr.io/alexbelgium/fireflyiii-{arch} init: false map: - - config:rw + - addon_config:rw + - homeassistant_config:rw - share:rw name: Firefly iii options: env_vars: [] APP_KEY: CHANGEME_32_CHARS_EuC5dfn3LAPzeO - CONFIG_LOCATION: /config/addons_config/fireflyiii/config.yaml + CONFIG_LOCATION: /config/config.yaml DB_CONNECTION: sqlite_internal silent: "true" ports: @@ -104,5 +105,5 @@ slug: fireflyiii startup: services udev: true url: https://github.com/alexbelgium/hassio-addons -version: "6.4.15" +version: "6.4.15-1" webui: "[PROTO:ssl]://[HOST]:[PORT:8080]" diff --git a/fireflyiii/rootfs/etc/cont-init.d/99-run.sh b/fireflyiii/rootfs/etc/cont-init.d/99-run.sh index a4639e637..13895613f 100755 --- a/fireflyiii/rootfs/etc/cont-init.d/99-run.sh +++ b/fireflyiii/rootfs/etc/cont-init.d/99-run.sh @@ -3,6 +3,24 @@ set -e # hadolint ignore=SC2155 +slug=fireflyiii +legacy_path="/homeassistant/addons_config/$slug" +target_path="/config" + +mkdir -p "$target_path" + +if bashio::config.has_value 'CONFIG_LOCATION' && [ "$(bashio::config 'CONFIG_LOCATION')" != "/config" ]; then + legacy_path="$(bashio::config 'CONFIG_LOCATION')" +fi + +if [ -d "$legacy_path" ]; then + if [ ! -f "$legacy_path/.migrated" ] || [ -z "$(ls -A "$target_path" 2>/dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi +fi + ######## # Init # ######## @@ -17,24 +35,24 @@ if [[ ! "$APP_KEY" == *"base64"* ]]; then fi # Backup APP_KEY file -bashio::log.info "Backuping APP_KEY to /config/addons_config/fireflyiii/APP_KEY_BACKUP.txt" +bashio::log.info "Backuping APP_KEY to /config/APP_KEY_BACKUP.txt" bashio::log.warning "Changing this value will require to reset your database" # Get current app_key -mkdir -p /config/addons_config/fireflyiii -touch /config/addons_config/fireflyiii/APP_KEY_BACKUP.txt -CURRENT=$(sed -e '/^[]*$/d' /config/addons_config/fireflyiii/APP_KEY_BACKUP.txt | sed -n -e '$p') +mkdir -p /config +touch /config/APP_KEY_BACKUP.txt +CURRENT=$(sed -e '/^[]*$/d' /config/APP_KEY_BACKUP.txt | sed -n -e '$p') # Save if new if [ "$CURRENT" != "$APP_KEY" ]; then - echo "$APP_KEY" >> /config/addons_config/fireflyiii/APP_KEY_BACKUP.txt + echo "$APP_KEY" >> /config/APP_KEY_BACKUP.txt fi # Update permissions -mkdir -p /config/addons_config/fireflyiii -chown -R www-data:www-data /config/addons_config/fireflyiii +mkdir -p /config +chown -R www-data:www-data /config chown -R www-data:www-data /var/www/html/storage -chmod -R 775 /config/addons_config/fireflyiii +chmod -R 775 /config ################### # Define database # @@ -49,16 +67,16 @@ case $(bashio::config 'DB_CONNECTION') in # Set variable export DB_CONNECTION=sqlite - export DB_DATABASE=/config/addons_config/fireflyiii/database/database.sqlite + export DB_DATABASE=/config/database/database.sqlite # Creating folders - mkdir -p /config/addons_config/fireflyiii/database - chown -R www-data:www-data /config/addons_config/fireflyiii/database + mkdir -p /config/database + chown -R www-data:www-data /config/database # Creating database - if [ ! -f /config/addons_config/fireflyiii/database/database.sqlite ]; then + if [ ! -f /config/database/database.sqlite ]; then # Create database - touch /config/addons_config/fireflyiii/database/database.sqlite + touch /config/database/database.sqlite # Install database echo "updating database" php artisan migrate:refresh --seed --quiet @@ -68,11 +86,11 @@ case $(bashio::config 'DB_CONNECTION') in # Creating symlink rm -r /var/www/html/storage/database - ln -s /config/addons_config/fireflyiii/database /var/www/html/storage + ln -s /config/database /var/www/html/storage # Updating permissions - chmod 775 /config/addons_config/fireflyiii/database/database.sqlite - chown -R www-data:www-data /config/addons_config/fireflyiii + chmod 775 /config/database/database.sqlite + chown -R www-data:www-data /config chown -R www-data:www-data /var/www/html/storage ;; @@ -132,24 +150,24 @@ esac bashio::log.info "Defining upload folder" # Creating folder -if [ ! -d /config/addons_config/fireflyiii/upload ]; then - mkdir -p /config/addons_config/fireflyiii/upload - chown -R www-data:www-data /config/addons_config/fireflyiii/upload +if [ ! -d /config/upload ]; then + mkdir -p /config/upload + chown -R www-data:www-data /config/upload fi # Creating symlink if [ -d /var/www/html/storage/ha_upload ]; then rm -r /var/www/html/storage/ha_upload fi -ln -s /config/addons_config/fireflyiii/upload /var/www/html/storage/ha_upload +ln -s /config/upload /var/www/html/storage/ha_upload # Updating permissions -chown -R www-data:www-data /config/addons_config/fireflyiii +chown -R www-data:www-data /config chown -R www-data:www-data /var/www/html/storage -chmod -R 775 /config/addons_config/fireflyiii +chmod -R 775 /config # Test -f=/config/addons_config/fireflyiii +f=/config while [[ $f != / ]]; do chmod 755 "$f" f=$(dirname "$f") diff --git a/kometa/CHANGELOG.md b/kometa/CHANGELOG.md index 2b0ddf394..ee1a4c62f 100644 --- a/kometa/CHANGELOG.md +++ b/kometa/CHANGELOG.md @@ -1,2 +1,4 @@ - Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details. +## 2.2.2-1 (09-01-2026) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/kometa to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-kometa. Please make a backup before updating. diff --git a/kometa/Dockerfile b/kometa/Dockerfile index 826f33803..87c563ea0 100644 --- a/kometa/Dockerfile +++ b/kometa/Dockerfile @@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_SERVICES_GRACETIME=0 -ENV HOME=/config/addons_config/kometa +ENV HOME=/config # Image specific modifications RUN \ @@ -38,7 +38,7 @@ RUN \ # Global LSIO modifications ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" -ARG CONFIGLOCATION="/config/addons_config/kometa" +ARG CONFIGLOCATION="/config" RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh ################## diff --git a/kometa/README.md b/kometa/README.md index 2a9e573f0..798ba5d99 100644 --- a/kometa/README.md +++ b/kometa/README.md @@ -67,7 +67,7 @@ Options can be configured through two ways : PUID: 1000 #for UserID - see below for explanation PGID: 1000 #for GroupID - see below for explanation TZ: Europe/London #Specify a timezone to use EG Europe/London. -KOMETA_CONFIG: /config/addons_config/kometa/config/config.yml #Specify a custom config file to use. +KOMETA_CONFIG: /addon_configs/xxx-kometa/config.yml #Specify a custom config file to use. KOMETA_TIME: 03:00 #Comma-separated list of times to update each day. Format: HH:MM. KOMETA_RUN: False #Set to True to run without the scheduler. KOMETA_TEST: False #Set to True to run in debug mode with only collections that have test: true. @@ -90,4 +90,3 @@ Create an issue on github ![illustration](https://dausruddin.com/wp-content/uploads/2020/05/plex-meta-manager-v3-1024x515.png) - diff --git a/kometa/config.yaml b/kometa/config.yaml index 99fd5ac07..146b6aeaf 100644 --- a/kometa/config.yaml +++ b/kometa/config.yaml @@ -69,13 +69,14 @@ devices: image: ghcr.io/alexbelgium/kometa-{arch} init: false map: - - config:rw + - addon_config:rw + - homeassistant_config:rw - share:rw - media:rw name: Kometa options: env_vars: [] - KOMETA_CONFIG: /config/addons_config/kometa/config.yml + KOMETA_CONFIG: /config/config.yml PGID: 0 PUID: 0 privileged: @@ -96,4 +97,4 @@ schema: slug: kometa udev: true url: https://github.com/alexbelgium/hassio-addons/tree/master/kometa -version: 2.2.2 +version: 2.2.2-1 diff --git a/kometa/rootfs/etc/cont-init.d/00-migrate.sh b/kometa/rootfs/etc/cont-init.d/00-migrate.sh new file mode 100755 index 000000000..20c28abd2 --- /dev/null +++ b/kometa/rootfs/etc/cont-init.d/00-migrate.sh @@ -0,0 +1,21 @@ +#!/usr/bin/with-contenv bashio +# shellcheck shell=bash +set -e + +slug=kometa +legacy_path="/homeassistant/addons_config/$slug" +target_path="/config" + +mkdir -p "$target_path" + +if bashio::config.has_value 'CONFIG_LOCATION' && [ "$(bashio::config 'CONFIG_LOCATION')" != "/config" ]; then + legacy_path="$(bashio::config 'CONFIG_LOCATION')" +fi + +if [ -d "$legacy_path" ]; then + if [ ! -f "$legacy_path/.migrated" ] || [ -z "$(ls -A "$target_path" 2>/dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi +fi diff --git a/overseerr/CHANGELOG.md b/overseerr/CHANGELOG.md index 195efb56f..e140cd484 100644 --- a/overseerr/CHANGELOG.md +++ b/overseerr/CHANGELOG.md @@ -1,5 +1,8 @@ - Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details. +## 1.34.0-1 (09-01-2026) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/overseerr to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-overseerr. Please make a backup before updating. + ## 1.34.0 (29-03-2025) - Update to latest version from linuxserver/docker-overseerr (changelog : https://github.com/linuxserver/docker-overseerr/releases) diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 27c5a48a9..8bd0b4acc 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" -ARG CONFIGLOCATION="/config/addons_config/overseerr" +ARG CONFIGLOCATION="/config" RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh ################## diff --git a/overseerr/README.md b/overseerr/README.md index f9585de31..f6ba99747 100644 --- a/overseerr/README.md +++ b/overseerr/README.md @@ -63,7 +63,7 @@ Configurations can be done through the app webUI, except for the following optio | `PGID` | int | `0` | Group ID for file permissions | | `PUID` | int | `0` | User ID for file permissions | | `TZ` | str | | Timezone (e.g., `Europe/London`) | -| `CONFIG_LOCATION` | str | `/config` | Path where Overseerr config is stored | +| `CONFIG_LOCATION` | str | `/addon_configs/xxx-overseerr` | Path where Overseerr config is stored | ### Example Configuration @@ -71,7 +71,7 @@ Configurations can be done through the app webUI, except for the following optio PGID: 0 PUID: 0 TZ: "Europe/London" -CONFIG_LOCATION: "/config" +CONFIG_LOCATION: "/addon_configs/xxx-overseerr" ``` ## Support @@ -86,4 +86,3 @@ Create an issue on github [repository]: https://github.com/alexbelgium/hassio-addons - diff --git a/overseerr/config.yaml b/overseerr/config.yaml index 6775dfc84..c7cf73173 100644 --- a/overseerr/config.yaml +++ b/overseerr/config.yaml @@ -70,11 +70,12 @@ environment: {} image: ghcr.io/alexbelgium/overseerr-{arch} init: false map: - - config:rw + - addon_config:rw + - homeassistant_config:rw name: Overseerr options: env_vars: [] - CONFIG_LOCATION: /config/addons_config/overseerr + CONFIG_LOCATION: /config PGID: "0" PUID: "0" ports: @@ -93,5 +94,5 @@ schema: slug: overseerr udev: true url: https://github.com/alexbelgium/hassio-addons/tree/master/overseerr -version: 1.34.0 +version: 1.34.0-1 webui: "[PROTO:ssl]://[HOST]:[PORT:5055]" diff --git a/overseerr/rootfs/etc/cont-init.d/00-config_location.sh b/overseerr/rootfs/etc/cont-init.d/00-config_location.sh index 12e914b54..0a3d64c75 100755 --- a/overseerr/rootfs/etc/cont-init.d/00-config_location.sh +++ b/overseerr/rootfs/etc/cont-init.d/00-config_location.sh @@ -2,7 +2,7 @@ # shellcheck shell=bash set -e -CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION') +CONFIG_LOCATION="/config" bashio::log.info "Config stored in $CONFIG_LOCATION" mkdir -p "$CONFIG_LOCATION" @@ -10,6 +10,6 @@ chown -R "$PUID:$PGID" "$CONFIG_LOCATION" chmod -R 755 "$CONFIG_LOCATION" # shellcheck disable=SC2013 -for file in $(grep -Esril "/config/addons_config/overseerr" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do - sed -i "s=/config/addons_config/overseerr=$CONFIG_LOCATION=g" "$file" +for file in $(grep -Esril "/config" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do + sed -i "s=/config=$CONFIG_LOCATION=g" "$file" done diff --git a/overseerr/rootfs/etc/cont-init.d/20-folders.sh b/overseerr/rootfs/etc/cont-init.d/20-folders.sh index b24086b6d..ff9416005 100755 --- a/overseerr/rootfs/etc/cont-init.d/20-folders.sh +++ b/overseerr/rootfs/etc/cont-init.d/20-folders.sh @@ -1,18 +1,26 @@ #!/bin/bash -if [ ! -d /config/addons_config/overseerr ]; then - echo "Creating /config/addons_config/overseerr" - mkdir -p /config/addons_config/overseerr +slug=overseerr +legacy_path="/homeassistant/addons_config/$slug" +target_path="/config" + +mkdir -p "$target_path" + +if bashio::config.has_value 'CONFIG_LOCATION' && [ "$(bashio::config 'CONFIG_LOCATION')" != "/config" ]; then + legacy_path="$(bashio::config 'CONFIG_LOCATION')" fi -if [ -d /config/addons_config/addons_config/overseerr ]; then - echo "Migrating data to /config/addons_config/overseerr" - mv /config/addons_config/addons_config/overseerr /config/addons_config/overseerr +if [ -d "$legacy_path" ]; then + if [ ! -f "$legacy_path/.migrated" ] || [ -z "$(ls -A "$target_path" 2>/dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi fi # shellcheck disable=SC2013 for file in $(grep -Esril "/config/.config/yarn" /usr /etc /defaults); do - sed -i "s=/config/.config/yarn=/config/addons_config/overseerr/yarn=g" "$file" + sed -i "s=/config/.config/yarn=/config/yarn=g" "$file" done -yarn config set global-folder /config/addons_config/overseerr/yarn -chown -R "$PUID:$PGID" /config/addons_config/overseerr +yarn config set global-folder /config/yarn +chown -R "$PUID:$PGID" /config diff --git a/seafile/CHANGELOG.md b/seafile/CHANGELOG.md index e1b50a806..34b8e2be8 100644 --- a/seafile/CHANGELOG.md +++ b/seafile/CHANGELOG.md @@ -1,4 +1,7 @@ +## 12.0.17-1 (09-01-2026) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/seafile to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-seafile. Please make a backup before updating. + ## 12.0.17 (12-03-2026) - Ensure `SERVICE_URL` and `FILE_SERVER_ROOT` are written to the active Seafile config path. diff --git a/seafile/README.md b/seafile/README.md index 1e89c325d..0b731218b 100644 --- a/seafile/README.md +++ b/seafile/README.md @@ -80,7 +80,7 @@ Webui can be found at (Seahub) and /dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi +fi diff --git a/tdarr/CHANGELOG.md b/tdarr/CHANGELOG.md index c45d8339d..49321c01b 100644 --- a/tdarr/CHANGELOG.md +++ b/tdarr/CHANGELOG.md @@ -1,4 +1,7 @@ +## 2.58.02-1 (09-01-2026) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/tdarr to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-tdarr. Please make a backup before updating. + ## 2.58.02 (24-12-2025) - Update to latest version from haveagitgat/tdarr diff --git a/tdarr/README.md b/tdarr/README.md index 46e8c348e..c580637cc 100644 --- a/tdarr/README.md +++ b/tdarr/README.md @@ -62,7 +62,7 @@ The server port is `8266` for connecting external Tdarr nodes. | Option | Type | Default | Description | |--------|------|---------|-------------| -| `CONFIG_LOCATION` | str | `/config/addons_config/tdarr` | Path where Tdarr config is stored | +| `CONFIG_LOCATION` | str | `/addon_configs/xxx-tdarr` | Path where Tdarr config is stored | | `TZ` | str | | Timezone (e.g., `Europe/London`) | | `localdisks` | str | | Local drives to mount (e.g., `sda1,sdb1,MYNAS`) | | `networkdisks` | str | | SMB shares to mount (e.g., `//SERVER/SHARE`) | @@ -73,7 +73,7 @@ The server port is `8266` for connecting external Tdarr nodes. ### Example Configuration ```yaml -CONFIG_LOCATION: "/config/addons_config/tdarr" +CONFIG_LOCATION: "/addon_configs/xxx-tdarr" TZ: "Europe/London" localdisks: "sda1,sdb1" networkdisks: "//192.168.1.100/media,//nas.local/transcoding" @@ -130,4 +130,3 @@ Configure hardware acceleration in the Tdarr Web UI under Settings > FFmpeg/Hand [repository]: https://github.com/alexbelgium/hassio-addons - diff --git a/tdarr/config.yaml b/tdarr/config.yaml index 72cd2a23e..19f9c9db6 100644 --- a/tdarr/config.yaml +++ b/tdarr/config.yaml @@ -88,7 +88,8 @@ image: ghcr.io/alexbelgium/tdarr-{arch} init: false map: - media:rw - - config:rw + - addon_config:rw + - homeassistant_config:rw - addons:rw - backup:rw - share:rw @@ -96,7 +97,7 @@ map: name: Tdarr options: env_vars: [] - CONFIG_LOCATION: /config/addons_config/tdarr + CONFIG_LOCATION: /config panel_admin: false panel_icon: mdi:file-search ports: @@ -122,6 +123,6 @@ schema: slug: tdarr udev: true url: https://github.com/alexbelgium/hassio-addons -version: "2.58.02" +version: "2.58.02-1" video: true webui: "[PROTO:ssl]://[HOST]:[PORT:8265]" diff --git a/tdarr/rootfs/etc/cont-init.d/00-configuration.sh b/tdarr/rootfs/etc/cont-init.d/00-configuration.sh index bd54fd383..2531511a9 100755 --- a/tdarr/rootfs/etc/cont-init.d/00-configuration.sh +++ b/tdarr/rootfs/etc/cont-init.d/00-configuration.sh @@ -25,7 +25,25 @@ bashio::log.info "Setting PUID=$PUID, PGID=$PGID" cd / # Config location -CONFIGLOCATION="$(bashio::config 'CONFIG_LOCATION')" +CONFIGLOCATION="/config" +legacy_path="/homeassistant/addons_config/tdarr" +target_path="$CONFIGLOCATION" + +mkdir -p "$target_path" + +# Use custom location for migration only if configured +if bashio::config.has_value 'CONFIG_LOCATION' && [ "$(bashio::config 'CONFIG_LOCATION')" != "/config" ]; then + legacy_path="$(bashio::config 'CONFIG_LOCATION')" +fi + +# Migrate legacy config +if [ -d "$legacy_path" ]; then + if [ ! -f "$legacy_path/.migrated" ] || [ -z "$(ls -A "$target_path" 2>/dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi +fi # Create folder mkdir -p "$CONFIGLOCATION" diff --git a/wger/CHANGELOG.md b/wger/CHANGELOG.md index 6c4758596..23bdf65bc 100644 --- a/wger/CHANGELOG.md +++ b/wger/CHANGELOG.md @@ -1,5 +1,8 @@ - Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details. +## 2.4-12 (09-01-2026) +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config/addons_config/wger to a folder only accessible from my Filebrowser addon called /addon_configs/xxx-wger. Please make a backup before updating. + ## 2.4-11 (19-09-2025) - Minor bugs fixed ## 2.4-10 (19-09-2025) diff --git a/wger/README.md b/wger/README.md index 0e8394d9b..7fa5c6756 100644 --- a/wger/README.md +++ b/wger/README.md @@ -47,12 +47,12 @@ Options can be configured through two ways : - Addon options ```yaml -"CONFIG_LOCATION": location of the config.yaml # Sets the location of the config.yaml (see below) +"CONFIG_LOCATION": location of the config.yaml # Defaults to /addon_configs/xxx-wger/config.yaml ``` - Config.yaml (advanced usage) -Additional variables can be set as ENV variables by adding them in the config.yaml in the location defined in your addon options according to this guide : https://github.com/alexbelgium/hassio-addons/wiki/Addons-feature:-add-env-variables +Additional variables can be set as ENV variables by adding them in the config.yaml stored in `/addon_configs/xxx-wger/config.yaml` according to this guide : https://github.com/alexbelgium/hassio-addons/wiki/Addons-feature:-add-env-variables The complete list of ENV variables can be seen here : not available @@ -73,4 +73,3 @@ comparison to installing any other Hass.io add-on. If you have in issue with your installation, please be sure to checkout github. [repository]: https://github.com/alexbelgium/hassio-addons - diff --git a/wger/config.yaml b/wger/config.yaml index 7ab2becfc..45a7b86bd 100644 --- a/wger/config.yaml +++ b/wger/config.yaml @@ -4,13 +4,14 @@ arch: description: manage your personal workouts, weight and diet plans image: ghcr.io/alexbelgium/wger-{arch} map: + - addon_config:rw + - homeassistant_config:rw - share:rw - - config:rw - ssl:ro name: Wger options: env_vars: [] - CONFIG_LOCATION: /config/addons_config/wger/config.yaml + CONFIG_LOCATION: /config/config.yaml ports: 80/tcp: 9927 ports_description: @@ -23,5 +24,5 @@ schema: slug: wger udev: true url: https://github.com/alexbelgium/hassio-addons -version: 2.4-11 +version: 2.4-12 webui: "[PROTO:ssl]://[HOST]:[PORT:80]" diff --git a/wger/rootfs/etc/cont-init.d/00-migrate.sh b/wger/rootfs/etc/cont-init.d/00-migrate.sh new file mode 100755 index 000000000..c10f7cbc3 --- /dev/null +++ b/wger/rootfs/etc/cont-init.d/00-migrate.sh @@ -0,0 +1,21 @@ +#!/usr/bin/with-contenv bashio +# shellcheck shell=bash +set -e + +slug=wger +legacy_path="/homeassistant/addons_config/$slug" +target_path="/config" + +mkdir -p "$target_path" + +if bashio::config.has_value 'CONFIG_LOCATION' && [ "$(bashio::config 'CONFIG_LOCATION')" != "/config" ]; then + legacy_path="$(bashio::config 'CONFIG_LOCATION')" +fi + +if [ -d "$legacy_path" ]; then + if [ ! -f "$legacy_path/.migrated" ] || [ -z "$(ls -A "$target_path" 2>/dev/null)" ]; then + echo "Migrating $legacy_path to $target_path" + cp -rnf "$legacy_path"/. "$target_path"/ || true + touch "$legacy_path/.migrated" + fi +fi