1
0
mirror of git://f0xx.org/ac/ac-docs synced 2026-08-09 20:59:49 +03:00

Document builder docker home fix for nobody PHP-FPM.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-08-07 22:15:42 +02:00
parent aab2b8512d
commit 5ad67d22a2

View File

@@ -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`.