shopwareshopware6

Shopware 6.5 Update "string:OPENSEARCH_URL" are never used


I am trying to Update to Shopware 6.5 from 6.4 and I am getting the following error message when running composer require symfony/flex:~2 symfony/runtime:~6.2:

!! PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\EnvParameterException: Environment variables "string:OPENSEARCH_URL" are never used.

The error occurs while composer is running assets:install and the error is caused on cache:clear aswell.

Why does that occur and how do I fix that?


Solution

  • In case you don't use elasticsearch I believe this problem also might disappear by not just requiring the shopware/elasticsearch module.