Dal:refresh:index crasht den Shop bei installierten Cloud-Apps

Hallo!

Bei einem unserer Kunden haben wir ein schwerwiegendes Problem.

Immer nachts um 1 Uhr lassen wir über den Command „dal:refresh:index“ den Index des Shops neu aufbauen.

Seit mehreren Tagen kommt dann genau ab 1 Uhr folgende Fehlermeldung im Shop:

[2023-08-23T23:00:32.325761+00:00] app.ERROR: Execution of script "product-page-loaded/get-parent-product.twig" for Hook "product-page-loaded" failed with message: Unable to create the cache directory (/web/var/cache/prod_hf76f470bbf9d91effba070767b29847a/twig/scripts/df66c7c52463913044d1d05919b80f2c/20). {"exception":"[object] (RuntimeException(code: 0): Unable to create the cache directory (/web/var/cache/prod_hf76f470bbf9d91effba070767b29847a/twig/scripts/df66c7c52463913044d1d05919b80f2c/20). at /var/www/clients/client1/web2/web/vendor/twig/twig/src/Cache/FilesystemCache.php:53)"} []
[2023-08-23T23:00:32.331719+00:00] request.CRITICAL: Uncaught PHP Exception Shopware\Core\Framework\Script\Exception\ScriptExecutionFailedException: "Execution of script "product-page-loaded/get-parent-product.twig" for Hook "product-page-loaded" failed with message: Unable to create the cache directory (/web/var/cache/prod_hf76f470bbf9d91effba070767b29847a/twig/scripts/df66c7c52463913044d1d05919b80f2c/20)." at /var/www/clients/client1/web2/web/vendor/shopware/core/Framework/Script/Execution/ScriptExecutor.php line 89 {"exception":"[object] (Shopware\\Core\\Framework\\Script\\Exception\\ScriptExecutionFailedException(code: 0): Execution of script \"product-page-loaded/get-parent-product.twig\" for Hook \"product-page-loaded\" failed with message: Unable to create the cache directory (/web/var/cache/prod_hf76f470bbf9d91effba070767b29847a/twig/scripts/df66c7c52463913044d1d05919b80f2c/20). at /var/www/clients/client1/web2/web/vendor/shopware/core/Framework/Script/Execution/ScriptExecutor.php:89)\n[previous exception] [object] (RuntimeException(code: 0): Unable to create the cache directory (/web/var/cache/prod_hf76f470bbf9d91effba070767b29847a/twig/scripts/df66c7c52463913044d1d05919b80f2c/20). at /var/www/clients/client1/web2/web/vendor/twig/twig/src/Cache/FilesystemCache.php:53)"} []

Die Fehlermeldung kommt aus der Trusted Shops App aber dennoch stellen wir uns die Frage, wie dies mit dem Refresh des Index zusammenhängt?
Der Shop ist dadurch mehrere Stunden nicht erreichbar, erst ein löschen des Caches löst das Problem dann.

Hat jemand eine Idee?

VG Dennis