GithubHelp home page GithubHelp logo

Comments (6)

B-Galati avatar B-Galati commented on July 17, 2024 10

Hello,

It is your Symfony configuration which encounters a problem here.
Let's have a look to Symfony Doc and read the part called Setting up Permissions.

from docker-symfony.

eko avatar eko commented on July 17, 2024 8

Hello,

Closing this issue has it is related to setting permissions on your environment.

Thank you

from docker-symfony.

3lect avatar 3lect commented on July 17, 2024

HI
I have got this issue too.
For resolve it, my system doesn't support chmod +a :
apt-get install acl
$ HTTPDUSER=ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:whoami:rwX app/cache app/logs
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:whoami:rwX app/cache app/logs

AND

$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:whoami:rwX logs/symfony
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:whoami:rwX logs/symfony

where for me logs/symfony is : /home/docker/docker-symfony/logs/symfony

from docker-symfony.

taher-mosbah avatar taher-mosbah commented on July 17, 2024

Hello,
@3lect, for me $HTTPDUSER is empty and I think that's normal because nginx and httpd are not running, when exactly do you call your script please ?

from docker-symfony.

B-Galati avatar B-Galati commented on July 17, 2024

@taher-mosbah Start containers with docker-compose up then run the script above

from docker-symfony.

taher-mosbah avatar taher-mosbah commented on July 17, 2024

Thanks @B-Galati, the problem is than I'm deploying on Elastic Beanstalk and can't run any commands after deployment ..

from docker-symfony.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.