Seit zwei tagen bekomme ich Message: Failed to remove directory

Hallo zusammen,

ich habe das Problem leider ebenfalls beim täglichen Refresh des http-Caches und mich mal mit meinem Hoster dazu unterhalten.

Die meinen folgendes:

So wie ich die Fehlermeldung deute ist das Verhalten technisch gesehen auch korrekt.

Shopware führt da, wie ich dem LogEintrag entnehme, ein rmdir aus um einen Ordner zu löschen. Ein rmdir setzt aber immer voraus, dass das zu löschende Verzeichnis leer ist.

Wenn Shopware da Dateien ablegt, dann wird rmdir nicht funktionieren um den Ordner inklusive des Inhalts zu löschen.

Shopware müsste da erst die Inhalte entfernen und könnte dann via rmdir den Ordner löschen.

Was meint Shopware dazu?

 

Hier der Vollständigkeit halber noch meine Fehlermeldung aus dem Cronjob:

Clearing httpcache.

In Filesystem.php line 180:
                                                                               
  [Symfony\Component\Filesystem\Exception\IOException]                         
  Failed to remove directory "/web/var/cache/production_202011060821/html/ci": rmdir(/var/www/clients/client1/web2/web/var/  
  cache/production_202011060821/html/ci): Directory not empty                  
                                                                               

Exception trace:
  at /web/vendor/symfony/filesystem/Filesystem.php:180
 Symfony\Component\Filesystem\Filesystem->remove() at /web/vendor/symfony/filesystem/Filesystem.php:177
 Symfony\Component\Filesystem\Filesystem->remove() at /web/engine/Shopware/Components/CacheManager.php:573
 Shopware\Components\CacheManager->clearDirectory() at /web/engine/Shopware/Components/CacheManager.php:165
 Shopware\Components\CacheManager->clearHttpCache() at /web/engine/Shopware/Commands/WarmUpHttpCacheCommand.php:140
 Shopware\Commands\WarmUpHttpCacheCommand->execute() at /web/vendor/symfony/console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /web/vendor/symfony/console/Application.php:987
 Symfony\Component\Console\Application->doRunCommand() at /web/engine/Shopware/Components/Console/Application.php:129
 Shopware\Components\Console\Application->doRunCommand() at /web/vendor/symfony/console/Application.php:255
 Symfony\Component\Console\Application->doRun() at /web/engine/Shopware/Components/Console/Application.php:108
 Shopware\Components\Console\Application->doRun() at /web/vendor/symfony/console/Application.php:148
 Symfony\Component\Console\Application->run() at /web/bin/console:38

sw:warm:http:cache [--shopId [SHOPID]] [-c|--clear-cache] [-b|--concurrent-requests [CONCURRENT-REQUESTS]] [-k|--category] [-o|--emotion] [-g|--blog] [-m|--manufacturer] [-t|--static] [-p|--product] [-d|--variantswitch] [-z|--productwithnumber] [-y|--productwithcategory] [-x|--extensions] [--] []...

 

Vielen Dank schon mal für Hilfe und Anregungen.

Viele Grüße, Manuel