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

Hey guys I'm trying to get the current 202108.0-release working, here is what i do: ```git clone

U01BLK1U2RY
U01BLK1U2RY Posts: 16 🧑🏻‍🚀 - Cadet

Hey guys I'm trying to get the current 202108.0-release working, here is what i do:

git clone <https://github.com/spryker/docker-sdk.git> -b 1.22.0 --single-branch
git clone <https://github.com/spryker-shop/b2c-demo-shop.git> -b 202108.0-release --single-branch
cd b2c-demo-shop
../docker-sdk/sdk boot deploy.dev.yml

┌────┐           ┌─┐            ┌────┬────┬─┬─┐
│ ───┼───┬─┬─┬─┬─┤ ├─┬───┬─┬─┐  │ ───┼─┐ ┐│ ┌─┘
├─── │ ┼ │ ┌─┤ │ │───┤ ┼─┤ ┌─┘  ├─── ├─┴─┘│ └─┐
└────┤  ┌┴─┘ ├─┐ ├─┴─┴───┴─┘    └────┴────┴─┴─┘
     └──┘    └───┘


Using deploy.dev.yml 

Running generator 
PHP Fatal error:  Uncaught Twig\Error\LoaderError: Template "env/application/backoffice.env.twig" is not defined. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98
Stack trace:
#0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('env/application...')
#1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('env/application...')
#2 /data/vendor/twig/twig/src/Environment.php(359): Twig\Environment->loadTemplate('env/application...')
#3 /data/vendor/twig/twig/src/Environment.php(318): Twig\Environment->load('env/application...')
#4 /data/index.php(201): Twig\Environment->render('env/application...', Array)
#5 {main}
  thrown in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98

Same goes for

../docker-sdk/sdk boot  

And also happens when the sdk folder is inside the b2c-demo-shop folder.
Master on seems to be working, am I doing anything wrong?

Comments

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

    I believe the problem is with the version of docker-sdk you are cloning as it's from September 2020.

    git clone <https://github.com/spryker-shop/b2c-demo-shop.git> -b 202108.0-release --single-branch && cd b2c-demo-shop && git clone <https://github.com/spryker/docker-sdk.git> --single-branch should be the right commands sequence.

  • U01BLK1U2RY
    U01BLK1U2RY Posts: 16 🧑🏻‍🚀 - Cadet

    It does not seem to matter if we are using 1.24.0 nor 1.22.0

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

    1.24 is from October 2020 but you are trying to use it together with demo shop from August 2021.

    Please clone docker/sdk just from master, without specifying the branch.

  • U01BLK1U2RY
    U01BLK1U2RY Posts: 16 🧑🏻‍🚀 - Cadet

    Works fine with SDK 1.40.0