diff --git a/jellyfin/rootfs/etc/cont-init.d/01-migrate.sh b/jellyfin/rootfs/etc/cont-init.d/01-migrate.sh index 652fd18a87a..509ccd6b7b1 100755 --- a/jellyfin/rootfs/etc/cont-init.d/01-migrate.sh +++ b/jellyfin/rootfs/etc/cont-init.d/01-migrate.sh @@ -14,6 +14,10 @@ if [[ "$LOCATION" == "/share/jellyfin" ]] && [ ! -d /share/jellyfin ] && [ -d /h fi fi +if [ -d /homeassistant/addons_config/jellyfin_migrated ]; then + ln -sf "$LOCATION" /config/addons_config/jellyfin +fi + # Migration to new /config logic if [[ "$LOCATION" == "/config/addons_config/"* ]]; then bashio::log.warning "Data folder was $LOCATION, it is migrated to /config/data. The previous folder is renamed to _migrated"