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

hello i just tried to install the latest b2c demo with docker on my windows wsl setup. when i try to

Options
UMJ465PLG
UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet

hello i just tried to install the latest b2c demo with docker on my windows wsl setup. when i try to bootstrap the sdk i get this erro: PHP Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: File "/data/deployment/project.yml" does not exist. in /data/vendor/symfony/yaml/Parser.php:53 what am i doing wrong?

«1345

Comments

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

    Hi Timo,

    You are not the first who discovered that problem today.

    So it is quite new behavour. Would you be able to try some earlier docker/sdk versions?

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    yes sure

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    which version would you suggest?

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

    Let’s try 1.7.1

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

    Just as experiment

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    its still the same

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    maybe theres a missing step in the docs?

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

    No. It is some kind of bug exactly on Windows

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    edited March 2020
    Options

    I assume something was changed in WSL or Docker Desktop

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    okay im not in a rush. i was just experementing if its worth using windows with the wsl setup. normaly im using a mac

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    but it would be nice to test it out soon

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

    Ok. Let’s try to figure out.

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

    ls -al docker/deployment/default

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

    ls -al docker/deployment/_tmp

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

    So file is there. Good.

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    yes but in this temp dir

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

    docker run -i --rm -v $(pwd)/docker/deployment/_tmp:/data/deployment spryker_docker_sdk ls -al /data/deployment

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$ docker run -i --rm -v $(pwd)/docker/deployment/_tmp:/data/deployment spryker_docker_sdk ls -al /data/deployment
    total 4
    drwxr-xr-x 2 root    root      40 Mar 26 19:48 .
    drwxr-xr-x 1 spryker spryker 4096 Mar 26 20:41 ..
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$
    
  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    My response

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

    So volume does not work

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

    docker run -i --rm -v $(pwd)/docker:/data/deployment spryker_docker_sdk ls -al /data/deployment

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

    Let’s try this

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options
    drwxr-xr-x 3 root    root      60 Mar 26 19:48 .
    drwxr-xr-x 1 spryker spryker 4096 Mar 26 20:43 ..
    drwxr-xr-x 3 root    root      60 Mar 26 19:48 deployment
    
  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    edited March 2020
    Options

    ls -al docker

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$ ls -al docker
    total 20
    drwxrwxrwx 1 timo timo  512 Mar 26 21:29 .
    drwxrwxrwx 1 timo timo  512 Mar 26 16:45 ..
    -rw-rw-rw- 1 timo timo  221 Mar 26 21:29 .dockerignore.default
    drwxrwxrwx 1 timo timo  512 Mar 26 21:29 .git
    -rw-rw-rw- 1 timo timo   83 Mar 26 16:45 .gitignore
    -rw-rw-rw- 1 timo timo 1768 Mar 26 16:45 .travis.yml
    -rw-rw-rw- 1 timo timo 3983 Mar 26 16:45 CONTRIBUTING.md
    -rw-rw-rw- 1 timo timo 3532 Mar 26 16:45 LICENSE
    -rw-rw-rw- 1 timo timo 1963 Mar 26 21:27 README.md
    drwxrwxrwx 1 timo timo  512 Mar 26 21:29 bin
    drwxrwxrwx 1 timo timo  512 Mar 26 21:29 ci
    drwxrwxrwx 1 timo timo  512 Mar 26 16:45 context
    drwxrwxrwx 1 timo timo  512 Mar 26 21:29 deployment
    drwxrwxrwx 1 timo timo  512 Mar 26 21:27 generator
    drwxrwxrwx 1 timo timo  512 Mar 26 21:29 images
    -rwxrwxrwx 1 timo timo 2598 Mar 26 21:29 sdk
    
  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    btw im using docker desktop 2.2.0.4 with engine 19.03.8

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

    See the difference? Only deployment folder is visible in the volume inside container

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

    Is it possible to install 2.2.0.3?

  • UMJ465PLG
    UMJ465PLG Posts: 72 🧑🏻‍🚀 - Cadet
    Options

    sure if i find the link 😄