Servus,
ich wollte vor kurzem ein paar Plugins sowie mein Shop Aktualisieren. Leider bekomme ich immer die Folgende Fehlermeldung im Shopware Update Backend:
Run Update preparations
pre-update-cmd: Symfony\Flex\Flex->configureInstaller
Loading composer repositories with package informationIn CurlDownloader.php line 623:
[Composer\Downloader\TransportException (400)]
The „https://packages.shopware.com/packages.json“ file could not be downloa
ded (HTTP/2 400 ):
„Token invalid.“Exception trace:
at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php:623
Composer\Util\Http\CurlDownloader->failResponse() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php:435
Composer\Util\Http\CurlDownloader->tick() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Util/HttpDownloader.php:386
Composer\Util\HttpDownloader->countActiveJobs() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Util/HttpDownloader.php:357
Composer\Util\HttpDownloader->wait() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Util/HttpDownloader.php:111
Composer\Util\HttpDownloader->get() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php:1454
Composer\Repository\ComposerRepository->fetchFile() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php:1169
Composer\Repository\ComposerRepository->loadRootServerFile() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php:800
Composer\Repository\ComposerRepository->hasProviders() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php:479
Composer\Repository\ComposerRepository->loadPackages() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/DependencyResolver/PoolBuilder.php:385
Composer\DependencyResolver\PoolBuilder->loadPackagesMarkedForLoading() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/DependencyResolver/PoolBuilder.php:239
Composer\DependencyResolver\PoolBuilder->buildPool() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Repository/RepositorySet.php:319
Composer\Repository\RepositorySet->createPool() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Installer.php:468
Composer\Installer->doUpdate() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Installer.php:287
Composer\Installer->run() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Command/UpdateCommand.php:247
Composer\Command\UpdateCommand->execute() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/symfony/console/Application.php:1063
Symfony\Component\Console\Application->doRunCommand() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/symfony/console/Application.php:320
Symfony\Component\Console\Application->doRun() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Console/Application.php:378
Composer\Console\Application->doRun() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/symfony/console/Application.php:174
Symfony\Component\Console\Application->run() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/src/Composer/Console/Application.php:141
Composer\Console\Application->run() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/composer/composer/bin/composer:89
include() at phar:///var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php/vendor/bin/composer:119
require() at /var/www/vhosts/imkereibedarf-ww.de/httpdocs/public/shopware-installer.phar.php:37update [–with WITH] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–dry-run] [–dev] [–no-dev] [–lock] [–no-install] [–no-audit] [–audit-format AUDIT-FORMAT] [–no-autoloader] [–no-suggest] [–no-progress] [-w|–with-dependencies] [-W|–with-all-dependencies] [-v|vv|vvv|–verbose] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [-i|–interactive] [–root-reqs] [–] […]
Ich hatte schon den Composer neu installiert, und folgende Befehle bereits ausgeführt, siehe Screenshot.
Ich vermute, ich müsste nur ein Token aktualisieren, bin mir aber nicht sicher, woher ich den herzaubern soll, da die verlinkte Seite „https://packages.shopware.com/packages.json“ selber anzeigt, dass kein Token da ist.
Beim öffnen der Auth.json steht folgendes drin, habe mal die letzten 15 Stellen mit X ersetzt.
{
„bearer“: {
„packages.shopware.com“: „3bbd49dcc6f5645b7e08b2dc38e27851fcf9394d031cbcea8XXXXXXXXXXXXXXX“
}
}
Jemand eine Idee? Oder den Composer nochmal neu installieren?