magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.46k stars 9.28k forks source link

Synchronization for media gallery with CLI failed (*.webp and *.svg) in production mode #39009

Closed bonanzadigger closed 1 week ago

bonanzadigger commented 1 month ago

Preconditions and environment

Installed Magento v2.4.7-p1 with all media gallery modules activated and also all adobe stock modules Set deploy-mode to production (./bin/magento deploy:mode:set production)

Steps to reproduce

Upload a new .webp image or .svg image per ftp somewhere in pub/media directory Set deploy-mode to production (./bin/magento deploy:mode:set production) Perform php bin/magento media-gallery:sync

Expected result

Synchronization pass successfully

Actual result

Following error occurred: In Synchronize.php line 83: Failed to execute the following synchronizers: media_gallery_asset_synchronizer media-gallery:sync

Additional information

In developer mode, tha above mentioned exception will not be thrown. AREA: Backend

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 month ago

Hi @bonanzadigger. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 month ago

Hi @engcom-Delta. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Delta commented 1 month ago

Hi @bonanzadigger ,

Thanks for your reporting and collaboration. We have verified the issue in latest 2.4-develop instance, but we are unable to reproduce the issue. Kindly refer the screenshots.

Steps to reproduce

  1. Upload a .svg image somewhere in pub/media directory image
  2. Enable production mode - ./bin/magento deploy:mode:set production image
  3. Run php bin/magento media-gallery:sync image

Observe synchronization is successful. Please let us know if any other steps are needed to be performed.

Thanks.

engcom-Delta commented 1 week ago

Hi @bonanzadigger ,

We have noticed that this issue has not been updated since long time. Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.

Thanks.