From 4099e8bbe58dede50f98a6c23e05893fd39f3f57 Mon Sep 17 00:00:00 2001 From: Shadrack Nicholas Date: Wed, 8 Apr 2026 15:30:55 +0200 Subject: [PATCH] fix: add opensearch reindexing as a post clone action --- products/paas/shopware/guides/clone-application.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/products/paas/shopware/guides/clone-application.md b/products/paas/shopware/guides/clone-application.md index 5e68412645..53c1d6f8b3 100644 --- a/products/paas/shopware/guides/clone-application.md +++ b/products/paas/shopware/guides/clone-application.md @@ -145,6 +145,20 @@ bin/console user:change-password admin Follow the prompts to set a new password for the admin user. +### Reindex OpenSearch + +If your shop has OpenSearch enabled, you will need to reindex after cloning. Open an exec session: + +```shell +sw-paas exec --new +``` + +Once you're in the session, run the following command to reindex: + +```shell +bin/console dal:refresh:index --use-queue +``` + ### Update domain in sales channel The cloned application will have the same domain configuration as the source application. You need to update the domain in the sales channel to match the cloned application's domain.