Closed JoniJnm closed 2 years ago
Getting the same error after freshly installing
there is a PR https://github.com/CodelyTV/php-ddd-example/pull/292
Run these commands:
mkdir apps/mooc/backend/var chmod -R 777 apps/mooc/backend/var
mkdir apps/backoffice/backend/var chmod -R 777 apps/backoffice/backend/var
Using ubuntu 20.04, after the
make build
and going http://localhost:8030/health-check, it shows an error:Unable to create the "cache" directory (/app/apps/mooc/backend/var/cache/test).
The exception is thrown at
/app/vendor/symfony/http-kernel/Kernel.php
line 637The owner of the folders is my user (uid 1000):
I tried to create a folder in a tmp folder with:
the result:
So it seems like the php proccess is running with www-data user (instead of mine: 1000)
The problem occurs with master and php8.1 branches