From 5ad67d22a2dcd6048e23d715ef9e28723718a455 Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Fri, 7 Aug 2026 22:15:42 +0200 Subject: [PATCH] Document builder docker home fix for nobody PHP-FPM. Co-authored-by: Cursor --- BUILD_DEPLOY.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD_DEPLOY.md b/BUILD_DEPLOY.md index c9b15ff..9e79b8a 100644 --- a/BUILD_DEPLOY.md +++ b/BUILD_DEPLOY.md @@ -137,3 +137,5 @@ chmod -R 775 .../out .../ota-artifacts Apply nginx OTA block: `nginx.apps-port80.fragment` (`location ^~ /v0/ota/`), then `nginx -t && rc-service nginx reload` on BE. If **Start build** shows *Network error*, check BE `php-fpm81` log: often `mkdir(): Permission denied` on `out/builds` (HTTP 500, not a browser network fault). + +If the build log shows **`mkdir /.docker: permission denied`**, PHP-FPM is running as `nobody` with `HOME=/`. Set `build.docker_home` (default `/var/www/ac/broadcast`) and run `prepare-be-builder-dirs.sh` so `/.docker` is not used. Ensure `nobody` is in group `docker`.