What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello there! I’m running with Docker in Mac. While running a random command `./vendor/bin/console lo

Chemaclass
Chemaclass Tech Lead Spryker Solution Partner Posts: 213 🧑🏻‍🚀 - Cadet
edited June 2020 in Docker

Hello there! I’m running with Docker in Mac.
While running a random command ./vendor/bin/console log:clear I got this Exception:

 Symfony\Component\Filesystem\Exception\IOException - Exception: Failed to remove directory “/var/log/spryker”: rmdir(/var/log/spryker): Permission denied.
in /data/vendor/symfony/filesystem/Filesystem.php (181)

Do you know if that might be related with docker and its permissions?
Or just with the permissions from my local?

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    We have fixed that in the Spryker core to delete content of the folders but not itself. Probably you have old version of the module.

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    It is related to docker. /var/log/spryker - is a volume, so you cannot delete it from inside container