diff --git a/entrypoint.sh b/entrypoint.sh index e3c985b..7b06f93 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,7 +37,7 @@ if [ "$CURRENT_UID" != "$PUID" ] || [ "$CURRENT_GID" != "$PGID" ]; then # Fix ownership of app directories echo "🔒 Fixing permissions on app directories..." - chown -R soulsync:soulsync /app/config /app/data /app/logs /app/downloads /app/Transfer 2>/dev/null || true + chown -R soulsync:soulsync /app/config /app/data /app/logs /app/downloads /app/Transfer /app/Staging 2>/dev/null || true else echo "✅ User/Group IDs already correct" fi @@ -66,8 +66,8 @@ else fi # Ensure all directories exist and have proper permissions -mkdir -p /app/config /app/data /app/logs /app/downloads /app/Transfer -chown -R soulsync:soulsync /app/config /app/data /app/logs /app/downloads /app/Transfer +mkdir -p /app/config /app/data /app/logs /app/downloads /app/Transfer /app/Staging +chown -R soulsync:soulsync /app/config /app/data /app/logs /app/downloads /app/Transfer /app/Staging echo "✅ Configuration initialized successfully" diff --git a/templates/soulsync.xml b/templates/soulsync.xml index d27760d..a76bb57 100644 --- a/templates/soulsync.xml +++ b/templates/soulsync.xml @@ -25,12 +25,14 @@ 8888 8889 /mnt/user/appdata/soulsync/config - /mnt/user/appdata/soulsync/database + /mnt/user/appdata/soulsync/data /mnt/user/appdata/soulsync/logs /mnt/user/Music + /mnt/user/appdata/soulsync/staging America/New_York - 99 - 100 + 99 + 100 + 022 /app production web_server.py