Calling Developers!
We are reenergizing our code contribution process! Learn More

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..

hi, im trying to set up a clean docker env for the workshop. After "docker/sdk up" i get the followi

Options
U01C2R31NLW
U01C2R31NLW Posts: 3 🧑🏻‍🚀 - Cadet
edited October 2020 in Docker

hi, im trying to set up a clean docker env for the workshop. After "docker/sdk up" i get the following error. As I set up the docker env for the bootcamp everything works.
========================================================================================================================

Install docker environment

Section build

Command generate-transfers [vendor/bin/console transfer:generate] (In progress...)
Store: DE | Environment: docker

Fatal error: Uncaught UnexpectedValueException: There is no existing directory at "/var/log/spryker/DE/ZED" and its not buildable: Permission denied in /data/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:172
Stack trace:

0 /data/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(98): Monolog\Handler\StreamHandler->createDir()

1 /data/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\StreamHandler->write(Array)

2 /data/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php(59): Monolog\Handler\AbstractProcessingHandler->handle(Array)

3 /data/vendor/monolog/monolog/src/Monolog/Handler/BufferHandler.php(92): Monolog\Handler\AbstractHandler->handleBatch(Array)

4 /data/vendor/monolog/monolog/src/Monolog/Handler/BufferHandler.php(108): Monolog\Handler\BufferHandler->flush()

5 [internal function]: Monolog\Handler\BufferHandler->close()

6

thrown in /data/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 172
PHP Fatal error: Uncaught UnexpectedValueException: There is no existing directory at "/var/log/spryker/DE/ZED" and its not buildable: Permission denied in /data/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:172
Stack trace:

0 /data/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(98): Monolog\Handler\StreamHandler->createDir()

1 /data/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\StreamHandler->write(Array)

2 /data/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php(59): Monolog\Handler\AbstractProcessingHandler->handle(Array)

3 /data/vendor/monolog/monolog/src/Monolog/Handler/BufferHandler.php(92): Monolog\Handler\AbstractHandler->handleBatch(Array)

4 /data/vendor/monolog/monolog/src/Monolog/Handler/BufferHandler.php(108): Monolog\Handler\BufferHandler->flush()

5 [internal function]: Monolog\Handler\BufferHandler->close()

6

thrown in /data/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 172

Comments

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    hi @U01C2R31NLW please chown -R your spryker root directory to 1000:1000 and try again

  • U01C2R31NLW
    U01C2R31NLW Posts: 3 🧑🏻‍🚀 - Cadet
    Options

    I already tried this but the same error shows up.

  • U01C2R31NLW
    U01C2R31NLW Posts: 3 🧑🏻‍🚀 - Cadet
    Options

    i removed all container, volumes and images from the bootcamp and now it works