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

How can we flush redis and elsticsearch data and reindex again in spryker ?

Options
U03N68QGBNG
U03N68QGBNG Posts: 2 🧑🏻‍🚀 - Cadet

How can we flush redis and elsticsearch data and reindex again in spryker ?

Comments

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer
    Options

    ES: vendor/bin/console elasticsearch:index:delete && vendor/bin/console search:setup && vendor/bin/console sync:data (or docker/sdk console locally instead)
    Storage: storage:delete && sync:data

    Could have been easily found by listing all available commands: vendor/bin/console list

  • U03N68QGBNG
    U03N68QGBNG Posts: 2 🧑🏻‍🚀 - Cadet
    Options

    I have run the docker/sdk console sync:data but still same no data restored in redis and elasticsearch

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer
    Options

    Is the data published, meaning do you have anything in the related *_storage tables in the DB.
    If not run docker/sdk console publish:trigger-events

    And check if your worker job is running at http://scheduler.spryker.local/ (or what ever you have chosen as domain for your project)

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer
    Options

    You can also check http://queue.spryker.local to see if the data sync is processed