Closed pisicabogdan closed 3 months ago
That needs to be corrected. You can't simply run setup:upgrade. Please check step 4 here https://developer.adobe.com/commerce/cloud-tools/docker/deploy/production-mode/
4. Run bin/magento setup:upgrade
That needs to be corrected. You can't simply run setup:upgrade. Please check step 4 here https://developer.adobe.com/commerce/cloud-tools/docker/deploy/production-mode/ Hello!
Thanks for the reply. I will try.
Question: even if magento is set to developer mode, do I need to rebuild the docker images?
4. Run bin/magento setup:upgrade
That needs to be corrected. You can't simply run setup:upgrade. Please check step 4 here https://developer.adobe.com/commerce/cloud-tools/docker/deploy/production-mode/
It seems that it doesn't work even with this solution.
@pisicabogdan Internal ticket was created MCLOUD-12387
@andriyShevtsov is there an update on this issue? We are currently exploring Adobe Live Search but cannot because this issue is a blocker.
Hello,
I solved the problem. The error appears when the Content Security Policy header is longer than the limit imposed in varnish. After I disabled the custom CSP, the website worked.
Preconditions
Steps to reproduce
First, I upgraded some existing packages:
Then:
composer require magento/live-search
bin/magento module:disable Magento_Elasticsearch Magento_Elasticsearch7 Magento_OpenSearch Magento_ElasticsearchCatalogPermissions Magento_InventoryElasticsearch Magento_ElasticsearchCatalogPermissionsGraphQl
bin/magento setup:upgrade
Expected result
The site should load correctly and Live Search should be functional.
Actual result
On a branch of Adobe Cloud, everything works as expected.
The specific issue I encounter happens only on my local DEV environments, the official docker containers:
I created a ticket on Adobe Commerce Support but their answer was that they don't deal with local environments, even if the official images are used.
Is there anyone who has installed Live Search on the local environment, in which they have Adobe Sensei activated at the same time?
Thanks in advance!