From b3d5d53743e42f7dee96a9b9757310f81a769d57 Mon Sep 17 00:00:00 2001 From: petruknw Date: Thu, 21 May 2026 15:15:24 +1000 Subject: [PATCH] aurral: symlink image-proxy to /config/data to fix EACCES error --- aurral/rootfs/etc/services.d/aurral/run | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/aurral/rootfs/etc/services.d/aurral/run b/aurral/rootfs/etc/services.d/aurral/run index a95facbfdf..fe89103e82 100644 --- a/aurral/rootfs/etc/services.d/aurral/run +++ b/aurral/rootfs/etc/services.d/aurral/run @@ -8,18 +8,19 @@ DOWNLOAD_FOLDER=$(bashio::config 'download_folder') # Ensure persistent directories exist mkdir -p "${DOWNLOAD_FOLDER}" mkdir -p /config/data +mkdir -p /config/data/image-proxy + +# Aurral hardcodes image-proxy inside /app/backend/data regardless of +# AURRAL_DATA_DIR, so symlink it to our persistent config path. +mkdir -p /app/backend/data +ln -sfn /config/data/image-proxy /app/backend/data/image-proxy bashio::log.info "Starting Aurral" bashio::log.info " Data : /config/data (HA addon_config)" bashio::log.info " Downloads : ${DOWNLOAD_FOLDER}" -# PUID=0/PGID=0 tells the upstream docker-entrypoint.sh to skip the -# su-exec drop to nodejs (1001) and stay as root. HA addons always run -# as root so this is safe and ensures /config/data is writable. export PUID=0 export PGID=0 - -# AURRAL_DATA_DIR redirects the DB/config to HA's addon_config mount. export AURRAL_DATA_DIR="/config/data" export DOWNLOAD_FOLDER="${DOWNLOAD_FOLDER}" export WEEKLY_FLOW_FOLDER="${DOWNLOAD_FOLDER}/weekly-flow"