Git Product home page Git Product logo

Comments (6)

m2-assistant avatar m2-assistant commented on June 15, 2024

Hi @Nuranto. 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:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

from magento2.

m2-assistant avatar m2-assistant commented on June 15, 2024

Hi @engcom-Hotel. 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: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

from magento2.

engcom-Hotel avatar engcom-Hotel commented on June 15, 2024

Hello @Nuranto,

Thanks for the report and collaboration!

We have tried to reproduce this issue in Magento 2.4.7 and in the latest development branch but the issue is not reproducible for us.

We used MINIO, for issue reproduction as it has a default set use path-style. After setting up the MINIO in the Magento instance tried to upload an image in Product by editing it and the image is successfully uploaded on MINIO. We have verified it from the Web UI.

Please have a look into the below env.php entry for remote storage:

'remote_storage' => [
        'driver' => 'aws-s3',
        'config' => [
            'endpoint' => 'http://127.0.0.1:9000',
            'bucket' => 'magento247',
            'region' => 'us-east-1',
            'path_style' => true,
            'use_path_style_endpoint' => true,
            'credentials' => [
                'key' => 'KEY',
                'secret' => 'SECRET'
            ]
        ]
    ],

Let us know if we missed anything.

Thanks

from magento2.

Nuranto avatar Nuranto commented on June 15, 2024

Hello @engcom-Hotel,

The configuration you used would result with command line option : --remote-storage-path_style=1 which does not match what's expected :

private const OPTION_REMOTE_STORAGE_PATH_STYLE = 'remote-storage-path-style';

Note : The documentation (https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/storage/remote-storage/remote-storage) has not been updated with new options.

from magento2.

engcom-Hotel avatar engcom-Hotel commented on June 15, 2024

Hello @Nuranto,
Thanks for the reply!

Does adding the below configuration in env.php resolve your issues:

'remote_storage' => [
        'driver' => 'aws-s3',
        'config' => [
            'xxx' => 'xxx',
            'xxx' => 'xxx',
            'endpoint' => 'END-POINT',
            'use_path_style_endpoint' => true,
            'path_style' => true,
            'credentials' => [
                'key' => 'xxx',
                'secret' => 'xxx'
            ]
        ]
    ],

from magento2.

engcom-Hotel avatar engcom-Hotel commented on June 15, 2024

Dear @Nuranto,

We've observed that there haven't been any updates on this issue for quite some time. Therefore, we're assuming it's been resolved and will be closing it. Feel free to open a new ticket or reopen this one if you require further assistance.

Regards

from magento2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.