# Fehler beim Upgrade auf 6.4.1.2

**URL:** <https://forum.shopware.com/t/fehler-beim-upgrade-auf-6-4-1-2/88996>\
**Category:** Administration\
**Created:** [8. Juli 2021 um 15:44 UTC](https://forum.shopware.com/t/fehler-beim-upgrade-auf-6-4-1-2/88996 "2021-07-08T15:44:02Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![LarsFischu](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@LarsFischu](https://forum.shopware.com/u/LarsFischu)\
**Post date:** [28. Oktober 2021 um 16:10 UTC](https://forum.shopware.com/t/fehler-beim-upgrade-auf-6-4-1-2/88996/8 "2021-10-28T16:10:29Z")

</div>

Wir hatten ein ähnliches Problem von 6.4.4.1 auf 6.4.5.1 (siehe auch mein Kommentar unter [Update auf 6.4.1.1: Uncaught ArgumentCountError bei Cleanup](https://forum.shopware.com/t/update-auf-6-4-1-1-uncaught-argumentcounterror-bei-cleanup/88615))

Problem konnte nur mit Verwendung von PHP7.4 gelöst werden. Mit PHP8 hatten wir jedes Mal den Fehler:

```auto
Replace system files...
skipped...
Apply database migrations...
    0 [----->----------------------]
Apply database destructive migrations...
    0 [----->----------------------]
Cleanup old files, clearing caches...
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Shopware\Recovery\Update\Console\Application::Shopware\Recovery\Update\Console\{closure}(), 4 passed and exactly 5 expected in [sw-root]/vendor/shopware/recovery/Update/src/Console/Application.php:86
Stack trace:
#0 [internal function]: Shopware\Recovery\Update\Console\Application->Shopware\Recovery\Update\Console\{closure}()
#1 [sw-root]/vendor/shopware/recovery/Update/src/Cleanup.php(171): rmdir()
#2 [sw-root]/vendor/shopware/recovery/Update/src/Cleanup.php(67): Shopware\Recovery\Update\Cleanup->deleteTemporaryBackupDirectory()
#3 [sw-root]/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(184): Shopware\Recovery\Update\Cleanup->cleanup()
#4 [sw-root]/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(171): Shopware\Recovery\Update\Command\UpdateCommand->cleanupFiles()
#5 [sw-root]/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(77): Shopware\Recovery\Update\Command\UpdateCommand->cleanup()
#6 [sw-root]/vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php(256): Shopware\Recovery\Update\Command\UpdateCommand->execute()
#7 [sw-root]/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run()
#8 [sw-root]/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#9 [sw-root]/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(166): Symfony\Component\Console\Application->doRun()
#10 [sw-root]/vendor/shopware/recovery/Update/index.php(36): Symfony\Component\Console\Application->run()
#11 [sw-root]/public/recovery/update/index.php(6): require_once('...')
#12 {main}
  thrown in [sw-root]/vendor/shopware/recovery/Update/src/Console/Application.php on line 86

```

---

_[View the full topic](https://forum.shopware.com/t/fehler-beim-upgrade-auf-6-4-1-2/88996)._
