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

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

    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

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

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 πŸ§‘πŸ»β€πŸš€ - Cadet

    configurable ports would be nice!

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

    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

    configurable ports would be nice!

    What is the use case of running two or more instances simultaneously? πŸ™‚

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 πŸ§‘πŸ»β€πŸš€ - Cadet

    Working for an agency

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited December 2021

    we had sprints where we worked on 3 projects

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

    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

    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

    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

    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

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

  • U02DBNVTTAS
    U02DBNVTTAS Posts: 16 πŸ§‘πŸ»β€πŸš€ - Cadet

    @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

    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

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

  • U02DBNVTTAS
    U02DBNVTTAS Posts: 16 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yes, docker/sdk

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

    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

    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

    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

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