# שגיאה בבנייה מחדש באמצעות minio כאחסון אובייקטים

**URL:** <https://meta.discourse.org/t/error-in-rebuilding-using-minio-as-object-store/237776>\
**Category:** Product Support\
**Created:** [1 בספטמבר,‏ 2022,‏ 1:01am UTC](https://meta.discourse.org/t/error-in-rebuilding-using-minio-as-object-store/237776 "2022-09-01T01:01:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ShaoJie](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@ShaoJie](https://meta.discourse.org/u/ShaoJie)\
**Post date:** [1 בספטמבר,‏ 2022,‏ 1:01am UTC](https://meta.discourse.org/t/error-in-rebuilding-using-minio-as-object-store/237776/1 "2022-09-01T01:01:48Z")

</div>

**Rebuild display when using minio as object store**

```plaintext
I, [2022-09-01T00:37:48.192311 #1] INFO -- : > cd /var/www/discourse && sudo -E -u discourse bundle exec rake s3:upload_assets
rake aborted!
Aws::S3::Errors::BadRequest: An error occurred when parsing the HTTP request PUT at '/'

```

**I have configured multiple domains for minio**

[minio.example.com](http://minio.example.com) (as minio access console)  
[s3.example.com](http://s3.example.com) (as minio’s API)

Also added the bucket name  
[bucket.s3.example.com](http://bucket.s3.example.com) (as minio’s API)

All domains are properly credentialed and trying to connect to the account using Cyberduck using [s3.example.com](http://s3.example.com) or [bucket.s3.example.com](http://bucket.s3.example.com) is available for uploading and downloading files.

**My app.yml s3 settings**

```plaintext
  DISCOURSE_USE_S3: true
  DISCOURSE_S3_REGION: anything
  discourse_s3_endpoint: https://s3.example.com
  DISCOURSE_S3_ACCESS_KEY_ID: *****
  DISCOURSE_S3_SECRET_ACCESS_KEY: ********
  #Discourse_s3_cdn_url: 
  DISCOURSE_S3_BUCKET: bucket
  DISCOURSE_S3_BACKUP_BUCKET: bucket/backups
  DISCOURSE_BACKUP_LOCATION: S3

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

  after_assets_precompile:
    - exec:
        cd: $home
        cmd:
          - sudo -E -u discourse bundle exec rake s3:upload_assets

```

I searched related issues and haven’t solved it, it works fine if using vultr object storage. So, is it that minio and discourse don’t work well together, but I’ve seen people using minio successfully. Ask everyone, I believe this problem will be solved soon

---

_[View the full topic](https://meta.discourse.org/t/error-in-rebuilding-using-minio-as-object-store/237776)._
