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

Team, Getting the below page for b2c when running both b2c and b2b on a single server using docker c

Options
U02MX1A53CP
U02MX1A53CP Posts: 10 🧑🏻‍🚀 - Cadet

Team,
Getting the below page for b2c when running both b2c and b2b on a single server using docker containers..

Comments

  • U02MX1A53CP
    U02MX1A53CP Posts: 10 🧑🏻‍🚀 - Cadet
    Options

    The below mentioned is the error noted when checked.
    [01-Dec-2021 12:46:26] WARNING: [pool worker] child 16 said into stderr: "[2021-12-01T12:46:26.623679+00:00] Yves.CRITICAL: Twig\Error\RuntimeError - An exception has been thrown during the rendering of a template ("None of the chained routers were able to generate route: Route '/en' not found, Route 'Route '/en' not found' not found") in "@ShopUi/components/molecules/logo/logo.twig" at line 18. in "/data/vendor/twig/twig/src/Template.php::228" {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"None of the chained routers were able to generate route: Route '/en' not found, Route 'Route '/en' not found' not found\") in \"@ShopUi/components/molecules/logo/logo.twig\" at line 18. at /data/vendor/twig/twig/src/Template.php:228)"

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

    You can't run more than one env simultaneously locally.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    Options

    configurable ports would be nice!

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

    If you need to compare b2b with b2c side-by-side, please use public demo instances:
    https://www.de.b2b.demo-spryker.com/ and https://os.de.b2b.demo-spryker.com/

    https://www.de.b2c.demo-spryker.com/ and https://os.de.b2c.demo-spryker.com/

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

    configurable ports would be nice!

    What is the use case of running two or more instances simultaneously? 🙂

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    Options

    Working for an agency

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    edited December 2021
    Options

    we had sprints where we worked on 3 projects

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

    We, in support, are dealing with different projects as well but I can't complain about stopping one env and starting another one when needed.
    It's my personal opinion, don't get me wrong. 🙂

    Maybe @ULYHPR789 has another one.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    Options

    the problem is bugs...mainly working on one project and then someone goes like "can you please check this issues real quick"

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    Options

    and there is an issue with mutagen on macOS that I already reported to @ULYHPR789 that makes switching env painful as it creates multiple mutagen sync sessions and then I always have to run docker/sdk trouble

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    Options

    will check how much time I loose every time but I guess it's a good 25 minutes

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

    Yeah, I don't experience that as I'm on linux. Sorry.

  • U02DBNVTTAS
    U02DBNVTTAS Posts: 16 🧑🏻‍🚀 - Cadet
    Options

    @U01LE4BMBK7 btw I saw last release and mutagen sessions should be fixed already
    @valerii.trots Today I tried to find your public demoshops and couldn’t find any reference in documentation. Would be nice to have it there. Thanks for the links. But more intersting thing the registration doesn’t work 🙂

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

    Most probably due to the fact that envs have been migrated recently and AWS SES is in the sandbox mode for them yet. Let me check.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet
    Options

    @U02DBNVTTAS cool..that's great news. New release of docker-sdk or which project?

  • U02DBNVTTAS
    U02DBNVTTAS Posts: 16 🧑🏻‍🚀 - Cadet
    Options

    Yes, docker/sdk

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

    Route '/en' not found error related to empty KV storage (redis)

    Check your queue and make sure it is empty.

  • U02MX1A53CP
    U02MX1A53CP Posts: 10 🧑🏻‍🚀 - Cadet
    Options

    Hi...
    We were able to run both b2c and b2b on one server by editing the namespaces and some minor network changes.
    For that we downloaded a newer version of demoshop repo from the branch 202108.0
    However, we are able to run b2c using the deploy-dev configuration. But it is not working for staging config.
    When tried with staging, we are getting the below error.

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

    Yes, staging deploy file is incorrect in b2b\b2c demo shops repositories, we have a ticket to fix them.
    This one https://github.com/spryker-shop/suite/blob/master/deploy.spryker-staging.yml on the other hand has been already fixed couple of days ago and can be used as a reference if you are going to use our PaaS offering. If not, you can create your own deploy file based on deploy.yml one.

  • U02MX1A53CP
    U02MX1A53CP Posts: 10 🧑🏻‍🚀 - Cadet
    Options

    Ok.. Thanks for the details @valerii.trots. I will check on the above possibilities..