Installing dev-b-6.4-ce with composer yields your php version (8.1.5) does not satisfy that requirement

Hello OXID experts

I am installing the 6.4 CE version as stated on the installation guide. Self-hosted, still a sandbox. I have used php 8.0 that is mentioned as supported version but during installation, it just creates an error:

composer create-project --no-dev OXID-esales/oxideshop-project oxideshop dev-b-6.4-ce

nstalling OXID-esales/oxideshop-project (dev-b-6.4-ce af559b316aae92f6580642d1a4572887ac526a5a)

  • Installing OXID-esales/oxideshop-project (dev-b-6.4-ce af559b3): Extracting archive
    Created project in /var/www/html/oxideshop
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

Problem 1
- php-webdriver/webdriver[1.6.0, …, 1.8.3] require php ^5.6 || ~7.0 → your php version (8.1.5) does not satisfy that requirement.
- php-webdriver/webdriver[1.9.0, …, 1.12.0] require ext-zip * → it is missing from your system. Install or enable PHP’s zip extension.
- codeception/module-webdriver[1.1.0, …, 1.1.2] require php >=5.6.0 <8.0 → your php version (8.1.5) does not satisfy that requirement.
- OXID-esales/testing-library v8.1.0 requires codeception/module-webdriver ^1.1 → satisfiable by codeception/module-webdriver[1.1.0, …, 1.4.0].
- codeception/module-webdriver[1.2.0, …, 1.4.0] require php-webdriver/webdriver ^1.8.0 → satisfiable by php-webdriver/webdriver[1.8.0, …, 1.12.0].
- codeception/module-webdriver[1.1.3, …, 1.1.4] require php-webdriver/webdriver ^1.6.0 → satisfiable by php-webdriver/webdriver[1.6.0, …, 1.12.0].
- Root composer.json requires OXID-esales/testing-library ^v8.1.0 → satisfiable by OXID-esales/testing-library[v8.1.0].

Looks like the PHP version is not supported. Is there anything that I am missing?

Thanks for all your help!

b.

Moin @Baron1 :slight_smile:

this is not an OXID Framework Core packages…

Your problem is the module webdriver.

Best
Tim

you could try installing OXID without dev-dependencies

I have forced everything to run under php 7.4, even tough documentation states 8.0 should be supported. I am now past that error and I get a new one:

Generating OXID eShop unified namespace classes ... Done
oxid-esales/oxideshop-composer-plugin: Updating theme package oxid-esales/azure-theme
Copying files ...
Done
Installing module topconcepts/oxid-klarna-6 package.
Installing module oxid-professional-services/usercentrics package.
Installing module oxid-esales/paypal-module package.
Installing module payone-gmbh/oxid-6 package.
oxid-esales/oxideshop-composer-plugin: Updating theme package oxid-esales/wave-theme
Copying files ...
Done
oxid-esales/oxideshop-composer-plugin: Updating theme package oxid-esales/flow-theme
Copying files ...
Done
Installing module oxid-esales/gdpr-optin-module package.
Installing module ddoe/wysiwyg-editor-module package.
Installing module bestit/amazonpay4oxid package.
oxid-esales/oxideshop-composer-plugin: Updating component oxid-esales/developer-tools
oxid-esales/oxideshop-composer-plugin: Updating OXID eShop package oxid-esales/oxideshop-ce
Copying files ...

In Filesystem.php line 37:
                                                                                                                                       
  [TypeError]                                                                                                                          
  Argument 3 passed to Symfony\Component\Filesystem\Filesystem::copy() must be of the type bool, array given, called in /home/alex/do  
  wnloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php   
  on line 147                                                                                                                          
                                                                                                                                       

Exception trace:
  at phar:///usr/local/bin/composer/vendor/symfony/filesystem/Filesystem.php:37
 Symfony\Component\Filesystem\Filesystem->copy() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php:147
 OxidEsales\ComposerPlugin\Utilities\CopyFileManager\CopyGlobFilteredFileManager::copyFile() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php:59
 OxidEsales\ComposerPlugin\Utilities\CopyFileManager\CopyGlobFilteredFileManager::copy() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Installer/Package/ShopPackageInstaller.php:294
 OxidEsales\ComposerPlugin\Installer\Package\ShopPackageInstaller->copyFileIfIsMissing() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Installer/Package/ShopPackageInstaller.php:133
 OxidEsales\ComposerPlugin\Installer\Package\ShopPackageInstaller->copyConfigurationDistFileWithinTarget() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Installer/Package/ShopPackageInstaller.php:94
 OxidEsales\ComposerPlugin\Installer\Package\ShopPackageInstaller->copyPackage() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Installer/Package/ShopPackageInstaller.php:72
 OxidEsales\ComposerPlugin\Installer\Package\ShopPackageInstaller->update() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Installer/PackageInstallerTrigger.php:81
 OxidEsales\ComposerPlugin\Installer\PackageInstallerTrigger->updatePackage() at /home/alex/downloads/trash/oxideshop/vendor/oxid-esales/oxideshop-composer-plugin/src/Plugin.php:108
 OxidEsales\ComposerPlugin\Plugin->updatePackages() at n/a:n/a
 call_user_func() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:202
 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:125
 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/bin/composer/src/Composer/Installer.php:372
 Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/CreateProjectCommand.php:270
 Composer\Command\CreateProjectCommand->installProject() at phar:///usr/local/bin/composer/src/Composer/Command/CreateProjectCommand.php:167
 Composer\Command\CreateProjectCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:1015
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:299
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:334
 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:130
 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:88
 require() at /usr/local/bin/composer:29

I am confident that this is related to a mismatch between libraries. It has happened to me before: the library that is being called has changed the API and now functions don’t have matching parameters.

Is there a way to install other OXID version, besides 6.4 CE?

Thanks for your support!
B.

I have solved this issue. I was using composer 2.3.5
I downgraded to composer 2.2.9 and it worked ok.

Thanks!

B.

1 Like

Wurde bereits reported:
https://bugs.oxid-esales.com/view.php?id=7320

1 Like