Server: Mounting a Minio S3 bucket in External Storages fails

Created on 31 Jan 2018  路  2Comments  路  Source: nextcloud/server

Steps to reproduce

  1. Attempt to add a Minio S3 bucket in External Storages.

Expected behaviour

Nextcloud should mount the Minio S3 bucket.

Actual behaviour

Mounting fails when Nextcloud tries to read the bucket ACL.
It looks like this is because Minio doesn't use S3 ACLs.
Could inheriting ACLs be made optional?

Server configuration

Operating system: Debian Streatch

Web server: Apache 2.4.25

Database: MariaDB 10.1

PHP version: 7.0

Nextcloud version: 13 RC 2

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install

Where did you install Nextcloud from: nextcloud.com

Signing status:


Signing status

No errors have been found.

List of activated apps:


App list

  - activity: 2.6.1
  - admin_notifications: 1.0.1
  - announcementcenter: 3.1.1
  - apporder: 0.4.1
  - audioplayer: 2.2.4
  - bookmarks: 0.10.1
  - bruteforcesettings: 1.0.3
  - cms_pico: 0.9.7
  - comments: 1.3.0
  - dav: 1.4.6
  - drop_account: 0.0.6
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_downloadactivity: 1.2.0
  - files_external: 1.4.1
  - files_markdown: 2.0.1
  - files_pdfviewer: 1.2.0
  - files_reader: 1.1.5
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - flowupload: 0.0.6
  - gallery: 18.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - metadata: 0.6.0
  - music: 0.5.5
  - news: 12.0.1
  - nextcloud_announcements: 1.2.0
  - notes: 2.3.2
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - ocdownloader: 1.5.5
  - password_policy: 1.3.0
  - polls: 0.8.1
  - previewgenerator: 1.0.9
  - provisioning_api: 1.3.0
  - quota_warning: 1.2.0
  - ransomware_protection: 1.1.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - socialsharing_email: 1.0.3
  - survey_client: 1.1.0
  - theming: 1.4.1
  - theming_customcss: 1.0.0
  - twofactor_backupcodes: 1.2.3
  - twofactor_totp: 1.4.1
  - twofactor_u2f: 1.5.1
  - updatenotification: 1.3.0
  - user_external: 0.4
  - w2g2: 0.9.9
  - workflowengine: 1.3.0

Nextcloud configuration:


Config report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "localhost"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "remember_login_cookie_lifetime": 2592000,
        "session_lifetime": 259200,
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "trashbin_retention_obligation": "auto, 60",
        "enable_previews": true,
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_scale_factor": 2,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Movie"
        ],
        "mysql.utf8mb4": true,
        "filesystem_check_changes": 0,
        "mail_smtpsecure": "ssl",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "beta",
        "log_rotate_size": 512000,
        "version": "13.0.0.12",
        "instanceid": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: S3

Are you using encryption: no

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Chrome 64.0

Operating system: Windows 10

Logs

Nextcloud log


Nextcloud log (files_external)

Aws\S3\Exception\S3Exception: Error executing "GetBucketAcl" on "https://***REMOVED SENSITIVE VALUE***/bucket?acl";
AWS HTTP error: Server error response
[url] https://***REMOVED SENSITIVE VALUE***/bucket?acl
[status code] 501
[reason phrase] Not Implemented
NotImplemented (server): A header you provided implies functionality that is not implemented -

<?xml version="1.0" encoding="UTF-8"?>
<Error>
    <Code>NotImplemented</Code>
    <Message>A header you provided implies functionality that is not implemented</Message>
    <Key></Key>
    <BucketName></BucketName>
    <Resource>/bucket</Resource>
    <RequestId>3L137</RequestId>
    <HostId>3L137</HostId>
</Error>

Most helpful comment

All 2 comments

@icewind1991

Was this page helpful?
0 / 5 - 0 ratings