Skip to content
Advertisement

EACES permission denied when trying to launch an installed Symfony “Akeneo PIM” with Docker

I started my first internship on monday and I’m working on a PIM created by Akeneo, which is build using Symfony. They have a nice guide to install it on their website and I figured i’d learn docker too. Here are the instructions i followed so far : https://docs.akeneo.com/latest/install_pim/docker/installation_docker.html

I just didn’t configure my package manager before installing because after searching I didn’t really find how or where to do that. (the section where they talk about the default values of yarn and composer).

The install didn’t work if I didn’t sudo, same for the “make dev”.

Here are the error messages for the make dev :

JavaScript

I found someone with a similar problem than me, and he fixed his problem because his .config file in his root directory had the wrong permissions (sudo instead of username), so I chown and changed it, and it now has my username permissions, and I also chmod 777 .cache, but it didn’t seem to help.

I’m really new at this, and I’d really like to get my own development environmnent to practice learning php connectors, REST api calls and all the stuff I need this symfony / akeneo / docker environment for…

I know it’s a big one but if anybody can help that would be such a huge relief, thanks a lot !

Advertisement

Answer

Maybe you allready figured it out by your self but for the record:

When running

docker-compose run node ls -lah /home/node

you see that .yarn has root ownership. You can change it by running:

docker-compose run -u root node chown -R node:node /home/node/.yarn

After that you should be able to run make properly.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement