Skip to content

S3 external storage broken for buckets without versioning support #29949

Description

@bernhara

Im using a Minio S3 server in NAS mode (=> no replication, no version, ...).

The upgrade from 22.2.0 to 22.0.3 has broken my configuration.

The S3 API responds to the GetBucketVersionning request (ie. /?versioning" with a code 501: Not implemented.

This case is no more handled by the AmazonS3.php file of NextCloud. A global exception is raised and the file browsing from NextCloud GUI becomes impossible.

As a temporary workaround, I changed locally the code of apps/files_external/lib/Lib/Storage/AmazonS3.php that way

    /** !!!!!!!private $versioningEnabled = null; **/
    private $versioningEnabled = false;

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions