CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

Home Page:https://pro.codely.tv/library/ddd-en-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue running the project - No such file or directory

Pijuli opened this issue · comments

Hi!

When trying to install the project I get this message on all of the apps:

Warning: file_put_contents(/app/apps/backoffice/backend/var/cache/test/CodelyTv_Apps_Backoffice_Backend_BackofficeBackendKernelTestDebugContainerDeprecations.log): Failed to open stream: No such file or directory

Am I missing something?
Ubuntu 20.04, currently running many projects with docker...

image

Hi try delete /app/apps/backoffice/backend/var/cache folder and try again

I can't see that folder

image

Also tried down-ing the whole project and cloning it again. Same error

I think this is file permision problem because symfony create automatic this folder!
Sry my english isnt very good!
Try this

Enter to the docker container whit this command

docker exec -it codelytv-php_ddd_skeleton-mooc_backend-php bash
and execute this command

chown www-data:www-data -R /app

this can fix this!

That did the trick!
Thank you very much!