Skip to content

[Bug]: S3 storage quota error message displayed incorrectly #58801

@elzody

Description

@elzody

⚠️ This issue respects the following points: ⚠️

Bug description

When there is a storage quota set on an S3 storage that is connected to Nextcloud, and you try to move/copy some files there that would cause it to meet or exceed the quota, the error message that is displayed to the user does not indicate what the error is. When checking the request response, you can see the error about the quota. It looks like there should be a function to parse that and display it, but I don't think it works right.

Steps to reproduce

  1. Set up an S3 storage
  2. Connect it to Nextcloud via the files_external app
  3. Set a quota on the S3 storage
  4. Try to move or copy some files on Nextcloud to the S3 storage
  5. See the error

Expected behavior

The expected behavior is that the user would be correctly informed why the move/copy operation failed, instead of an unclear, all-purpose error message.

Nextcloud Server version

34 (master)

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions