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

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

    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

    yes sure

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    which version would you suggest?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Let’s try 1.7.1

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Just as experiment

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    its still the same

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    maybe theres a missing step in the docs?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    No. It is some kind of bug exactly on Windows

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited March 2020

    I assume something was changed in WSL or Docker Desktop

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    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

    but it would be nice to test it out soon

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Ok. Let’s try to figure out.

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    ls -al docker/deployment/default

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    ls -al docker/deployment/_tmp

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    So file is there. Good.

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes but in this temp dir

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet
    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

    My response

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    So volume does not work

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    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

    Let’s try this

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet
    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

    ls -al docker

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet
    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

    btw im using docker desktop 2.2.0.4 with engine 19.03.8

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Is it possible to install 2.2.0.3?

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    sure if i find the link πŸ˜„