Hallo, Ich habe gerade versucht meinen 6.4.1.2 Testshop auf die neuste Version zu upgraden (6.4.2.1). Leider treffe ich immer Probleme mit den Berechtigungen und jetzt stecke ich komplett fest… Beim Update aus dem UI stoppt es auf „Unpacking update file“ mit der folgenden Meldung in den Logs:
[2021-07-08T15:41:43.638840+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Filesystem\Exception\IOException: „Cannot rename „/opt/bitnami/apache/htdocs/files/update/files/vendor/shopware/recovery/Common/vendor/composer/autoload_psr4.php“ to „/opt/bitnami/apache/htdocs//vendor/shopware/recovery/Common/vendor/composer/autoload_psr4.php“.“ at /opt/bitnami/apache/htdocs/vendor/symfony/filesystem/Filesystem.php line 281 {„exception“:„[object] (Symfony\Component\Filesystem\Exception\IOException(code: 0): Cannot rename "/opt/bitnami/apache/htdocs/files/update/files/vendor/shopware/recovery/Common/vendor/composer/autoload_psr4.php" to "/opt/bitnami/apache/htdocs//vendor/shopware/recovery/Common/vendor/composer/autoload_psr4.php". at /opt/bitnami/apache/htdocs/vendor/symfony/filesystem/Filesystem.php:281)“}
Ich habe sogar direkt in der Konsole mit „php public/recovery/update/index.php“ versucht und dort sehe ich noch:
Replace system files…
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 /opt/bitnami/apache/htdocs/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 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/knplabs/gaufrette/src/Gaufrette/Adapter/Local.php(85): rename()
#2 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/knplabs/gaufrette/src/Gaufrette/Filesystem.php(66): Gaufrette\Adapter\Local->rename()
#3 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Steps/UnpackStep.php(111): Gaufrette\Filesystem->rename()
#4 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(113): Shopware\Recovery\Update\Steps\UnpackStep->run()
#5 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(74): Shopware\Recovery\Update\Command\UpdateCommand->unpackFiles()
#6 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php(256): Shopware\Recovery\Update\Command\UpdateCommand->execute()
#7 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run()
#8 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#9 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(166): Symfony\Component\Console\Application->doRun()
#10 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/index.php(36): Symfony\Component\Console\Application->run()
#11 /opt/bitnami/apache/htdocs/public/recovery/update/index.php(6): require_once(‚…‘)
#12 {main}
thrown in /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Console/Application.php on line 86Fatal 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 /opt/bitnami/apache/htdocs/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 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/knplabs/gaufrette/src/Gaufrette/Adapter/Local.php(85): rename()
#2 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/knplabs/gaufrette/src/Gaufrette/Filesystem.php(66): Gaufrette\Adapter\Local->rename()
#3 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Steps/UnpackStep.php(111): Gaufrette\Filesystem->rename()
#4 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(113): Shopware\Recovery\Update\Steps\UnpackStep->run()
#5 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Command/UpdateCommand.php(74): Shopware\Recovery\Update\Command\UpdateCommand->unpackFiles()
#6 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php(256): Shopware\Recovery\Update\Command\UpdateCommand->execute()
#7 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run()
#8 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#9 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(166): Symfony\Component\Console\Application->doRun()
#10 /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/index.php(36): Symfony\Component\Console\Application->run()
#11 /opt/bitnami/apache/htdocs/public/recovery/update/index.php(6): require_once(‚…‘)
#12 {main}
thrown in /opt/bitnami/apache/htdocs/vendor/shopware/recovery/Update/src/Console/Application.php on line 86
Hat jemand eine Idee wie ich es lösen kann?
Vielen Dank!
Mateusz