From 6fc51b6a5140f6507ebc39a36632d33db12ddd6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 15 Nov 2025 06:59:36 +0100 Subject: [PATCH] fix: run koel_init container as www-data user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add user: "33:33" (www-data) to koel_init container - Prevents permission issues when init container creates cache files - Fixes album cover upload and metadata editing errors 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- media/compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/media/compose.yaml b/media/compose.yaml index ad806fe..c5ee315 100644 --- a/media/compose.yaml +++ b/media/compose.yaml @@ -121,6 +121,7 @@ services: image: ${MEDIA_KOEL_IMAGE:-phanan/koel:latest} container_name: ${MEDIA_COMPOSE_PROJECT_NAME}_koel_init restart: "no" + user: "33:33" command: bash -c "php artisan koel:init --no-interaction && php artisan koel:admin --email=${ADMIN_EMAIL} --password=${ADMIN_PASSWORD} --no-interaction" volumes: - koel_covers:/var/www/html/public/img/covers