Hello,
I am trying to install the latest version of Shopware on a new VPS, Almalinux 9.3, PHP 8.2.13 en MariaDB 10.11.6, SELINUX is disabled. The installation stops in the „Download“ screen with this error:
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See Basic usage - Composer for more information.
Loading composer repositories with package information
Updating dependencies
Dependency resolution completed in 0.000 seconds
In Problem.php line 652:
[TypeError]
substr(): Argument #1 ($string) must be of type string, null given
Exception trace:
at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php:652
substr() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php:652
Composer\DependencyResolver\Problem::Composer\DependencyResolver{closure}() at n/a:n/a
array_map() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php:651
Composer\DependencyResolver\Problem::getProvidersList() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php:281
Composer\DependencyResolver\Problem::getMissingPackageReason() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Rule.php:324
Composer\DependencyResolver\Rule->getPrettyString() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php:168
Composer\DependencyResolver\Problem::formatDeduplicatedRules() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php:111
Composer\DependencyResolver\Problem->getPrettyString() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php:52
Composer\DependencyResolver\SolverProblemsException->getPrettyString() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/Installer.php:513
Composer\Installer->doUpdate() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/Installer.php:298
Composer\Installer->run() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/Command/InstallCommand.php:147
Composer\Command\InstallCommand->execute() at phar:///var/www/html/shopware-installer-phar.php/vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at phar:///var/www/html/shopware-installer-phar.php/vendor/symfony/console/Application.php:1078
Symfony\Component\Console\Application->doRunCommand() at phar:///var/www/html/shopware-installer-phar.php/vendor/symfony/console/Application.php:324
Symfony\Component\Console\Application->doRun() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/Console/Application.php:407
Composer\Console\Application->doRun() at phar:///var/www/html/shopware-installer-phar.php/vendor/symfony/console/Application.php:175
Symfony\Component\Console\Application->run() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/src/Composer/Console/Application.php:147
Composer\Console\Application->run() at phar:///var/www/html/shopware-installer-phar.php/vendor/composer/composer/bin/composer:94
include() at phar:///var/www/html/shopware-installer-phar.php/vendor/bin/composer:119
require() at /var/www/html/shopware-installer-phar.php:37
install [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–dry-run] [–download-only] [–dev] [–no-suggest] [–no-dev] [–no-autoloader] [–no-progress] [–no-install] [–audit] [–audit-format AUDIT-FORMAT] [-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] [–] […]
What can possibly be wrong?
Thanks for your time,
Roland