From a51f271069117085ca0a007bf5d1485d508041b7 Mon Sep 17 00:00:00 2001 From: boban Date: Sun, 26 Apr 2026 18:55:56 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20APP=5FUSER=20default=20auf=20www-data=20?= =?UTF-8?q?=E2=80=93=20kein=20404=20mehr=20nach=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Artisan-Befehle (config:cache, route:cache, optimize:clear) liefen als 'mailwolt'-User, PHP-FPM läuft als 'www-data' → Cache-Dateien nicht lesbar → 404 nach jedem Update. Default auf www-data gesetzt damit beide User übereinstimmen. Co-Authored-By: Claude Sonnet 4.6 --- scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index b45350b..d8f0701 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -2,7 +2,7 @@ set -euo pipefail # -------- Konfiguration ------------------------------------------------------- -APP_USER="${APP_USER:-mailwolt}" +APP_USER="${APP_USER:-www-data}" APP_GROUP="${APP_GROUP:-www-data}" APP_DIR="${APP_DIR:-/var/www/mailwolt}" BRANCH="${BRANCH:-main}"