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

We reported an issue in Docker with Windows last year, it's the problem "PHP Fatal error: Uncaught

Options
UV6R85WBE
UV6R85WBE Posts: 24 🧑🏻‍🚀 - Cadet

We reported an issue in Docker with Windows last year, it's the problem
"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"

As I can see , @UMJ465PLG also has that problem and a few other persons. The last answer I could find was from @ULYHPR789 7 days ago.

Are there updates on that issue ?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    Options

    May I ask where have you reported it? Here or in support desk? Can't recall\find any support tickets regarding this problem.

  • UV6R85WBE
    UV6R85WBE Posts: 24 🧑🏻‍🚀 - Cadet
    edited April 2020
    Options

    We sent an e-mail and talked directly to @UJN2JRU4F after our spryker exam and I guess that I was here in slack and reported it / asked for help once before

  • UV6R85WBE
    UV6R85WBE Posts: 24 🧑🏻‍🚀 - Cadet
    Options

    Shall I create an issue for that ?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    Options

    Ok, could be.
    I don't think it was fixed but let's wait for @ULYHPR789 comment before creating a support ticket.

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

    i was just testing spryker on my own and not for a customer. so i didnt open a support ticket. for testing i was just using the vagrant setup which worked fine for me

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

    No updated on that from my side.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    Options

    Will we try to fix that? Is there anything that we could do in this case at all?

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

    But I have a concern about support ticket, as problem is in docker, not in docker/sdk.

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

    You can follow the thread and see that mounting host folder to the container does not work properly on Windows.

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

    Unfortunatelly we do not have any free deveops to dedicate a time for that now.

  • UV6R85WBE
    UV6R85WBE Posts: 24 🧑🏻‍🚀 - Cadet
    Options

    Hi @ULYHPR789,

    can we have a look at that problem with a Devops today ?

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

    I am sorry, but it is impossible to involve them in nearest future.

    Can you run the following in docker/deployment/default folder

    docker run --rm -v $(wslpath -w $(pwd)):/path alpine ls -al /path
    

    and

    ls -al
    

    Is everything the same for you?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options
    docker run --rm -v $(pwd):/path alpine ls -al /path
    

    And I assume this would not be the same. As initial problem is.

  • U011HD5FM6F
    U011HD5FM6F Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    Hi @UMJ465PLG, what fixed it for me (in addition to downgrading the Docker desktop) was to move the actual spryker-demo-shop directory to the Windows Partition (not in the home directory in the WSL). Supposedly the Docker downgrade should no longer be necessary with 2.2.0.5 but I didn't test that so far. Maybe moving the directory will work for you as well

  • U011HD5FM6F
    U011HD5FM6F Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    What I also ran into is that docker-sync apparently uses a newer unison, so I recompiled it from the git master branch (not the tarball-download as described in the Spryker-Docs)

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

    Okay thank you maybe ill try that later 🙂

  • U012PCVT2DB
    U012PCVT2DB Posts: 66 🧑🏻‍🚀 - Cadet
    Options

    I have tried exact this solution and i am also using a windows-partition for the spryker-code
    Here is my other comment on this: https://sprykercommunity.slack.com/archives/CMYFJCG2E/p1588144557075900?thread_ts=1585815987.058700&cid=CMYFJCG2E