From 15ec7e7151b866990fa8ccf0d97eef7c02dff369 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Oct 2025 08:52:08 -0600 Subject: [PATCH] Fix: Replace mount with symlink for storage directory - Changed bind mount to symlink in start.sh - Resolves 'permission denied' error when mounting - Symlink approach works without elevated privileges --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index bee6c18..6485479 100644 --- a/start.sh +++ b/start.sh @@ -14,8 +14,8 @@ fi chown -R cloudron:cloudron /app/data chmod -R 755 /app/data/storage -# Bind mount storage to /app/code/storage -mount --bind /app/data/storage /app/code/storage +# Create symlink from /app/code/storage to /app/data/storage +ln -sf /app/data/storage /app/code/storage # Create .env file in /app/data echo "==> Configuring application environment"