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

Hello, recently cloned out working repo onto another machine ( my laptop was getting bogged down )

Options
U01JBB8LNTE
U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet

Hello, recently cloned out working repo onto another machine ( my laptop was getting bogged down )

Ran docker/sdk boot deploy.dev.yml && docker/sdk up

Creating appname_dev_redis-gui_1       ... done
Creating appname_dev_frontend_1        ... done
Creating appname_dev_gateway_1         ... done
Restarting appname_dev_gateway_1  ... done
Restarting appname_dev_frontend_1 ... done
Service `search` is not running. Please check the name.

I’ve

  1. Updated hosts file
  2. Installed mutagen
  3. Run reset/trouble and double trouble
  4. reinstalled mutagen && docker/sdk clean docker/sdk up --build --assets
  5. nuked everything and tried boot/up again
  6. docker/sdk clean && docker/sdk up --build
    Any thoughts here?

Mac OSX: 11.5
Docker Desktop: Version 3.4.0 (3.4.0.5223)

Comments

  • UT4U1HEHG
    UT4U1HEHG Posts: 49 🧑🏻‍🚀 - Cadet
    edited August 2021
    Options

    Hi Edward, it’s hard to say what can be the problem.
    But I would check if you recently did any changes in deploy.dev.yml , maybe some issue with configuration.

    I would also try to start this search container with docker (without docker/sdk) and check if it works.
    If you have any stopped search containers connected to search engine I would check such container logs, maybe you will find something there.

    Also you can try to restart docker daemon on Mac.

    Which docker/sdk version do you have?

  • UT4U1HEHG
    UT4U1HEHG Posts: 49 🧑🏻‍🚀 - Cadet
    edited August 2021
    Options

    I have docker/sdk 1.37.0
    MAC OSX: 11.4 (20F71)
    Docker Desktop Version:3.5.2 (66501)

    I did docker/sdk reset one hour ago and by me everything works locally.

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    oh it’s cool, my fault, forgot to increase the swap limits. Thanks for checking in tho….

    those little things get ya

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    there’s a call out to make it better: https://github.com/spryker/docker-sdk/issues/226

  • Andriy Netseplyayev
    Andriy Netseplyayev Domain Lead Solution Architecture Sprykee Posts: 519 🧑🏻‍🚀 - Cadet
    Options

    right, the “service search is not running” is usually a symptom of not giving enough resources to docker.
    To see the concrete issue in this case, you can also docker ps and check the “status” of the search container. There you might see the error. You can also enter the container itself and will see more details. In that case it is most likely the java exception complaining that it run out of memory