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

Before running `docker/sdk up`, you need to run `docker/sdk bootstrap deploy.yml`.

UP8T3GKFH
UP8T3GKFH Posts: 56 πŸ§‘πŸ»β€πŸš€ - Cadet

Before running docker/sdk up, you need to run docker/sdk bootstrap deploy.yml.

Comments

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks @UP8T3GKFH It works.

    After store creations, when I try to access the store, It shows following error on frontend.

    Fatal error: Uncaught Spryker\Shared\Kernel\CodeBucket\Exception\InvalidCodeBucketException: CodeBucket "SG" is not a valid option!

    Do you happen to know where I should look to fix this error?

  • UP8T3GKFH
    UP8T3GKFH Posts: 56 πŸ§‘πŸ»β€πŸš€ - Cadet

    You also have to update your src/SprykerConfig/CodeBucketConfig and add your stores in getCodeBuckets() if you want to use store specific overrides.
    Documentation Code-Buckets

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks @UP8T3GKFH . It works. Now frontend is loading but seems still something is missing or causing some error because backoffice for new store is showing blank page and on frontend, all labels are showing untranslated names.

    If I check docker's error_log, I can see following warning & error:

    [26-Apr-2022 10:06:40] WARNING: [pool worker] child 10 said into stderr: "sage":"file_get_contents(/data/public/Backoffice/errorpage/5xx.html): failed to open stream: No such file or directory","code":0,"file":"/data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorRenderer/WebHtmlErrorRenderer.php:61","trace":["/data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorRenderer/WebHtmlErrorRenderer.php:61","/data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorRenderer/WebHtmlErrorRenderer.php:39","/data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandler.php:62","/data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandlerEnvironment.php:82"]}}}"
    
  • UP8T3GKFH
    UP8T3GKFH Posts: 56 πŸ§‘πŸ»β€πŸš€ - Cadet

    Unfortunately, I don't know anything about this error, so I can't help you from a distance. Are you using the Suite or the B2B/B2C demo shop?

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    B2b Store docker installation. New store urls are also showing up in spryker.locall dashboard but stores are empty and lables are showing untranslated version.

  • UP8T3GKFH
    UP8T3GKFH Posts: 56 πŸ§‘πŸ»β€πŸš€ - Cadet

    Docker/sdk up is running without errors? The scheduler ist running for all stores?

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yes scheduler is running all stores. Docker up is also working. Not able to access backoffice for new stores and frontend labels are broken. When I try to access the backoffice, it shows blank page.

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    I tried to create two stores (SG, MY) under APAC, same as we have two stores (DE,AT) under EU.

    I simply copied and changes the name. I have not set separate database for two new APAC stores.

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    What procedure do you follow to create new store?

    I have created yml set in deploy.yml file and in stores.php created store arrays. Also defined codebucket in config files, created full_APAC.yml under data/import/local

  • UP8T3GKFH
    UP8T3GKFH Posts: 56 πŸ§‘πŸ»β€πŸš€ - Cadet

    The procedure seems okay. We put every store in his own region, because we won't have shared persistance databases. And that could be the trigger for your problems, i could imagine. 😞

  • U035GSLDLVD
    U035GSLDLVD Posts: 90 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks @UP8T3GKFH! Will try with separate db. πŸ‘