镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Remove warning about disk space needed for uploads to S3 #40539

Description

@brainchild0

I am running Nextcloud 27.1.0, using an S3 bucket for primary storage.

As follows is one of the messages given under Security & setup warnings:

This instance uses an S3 based object store as primary storage. The uploaded files are stored temporarily on the server and thus it is recommended to have 50 GB of free space available in the temp directory of PHP. Check the logs for full details about the path and the available space. To improve this please change the temporary directory in the php.ini or make more space available in that path.

I have monitored the size and contents of directories for temporary files, as well as the application data directory, and the overall system disk usage, during uploads of large files. I have found no evidence of uploaded files being stored as temporary files.

Similarly, #27034 suggests that the message is obsolete (even though #19414 remains open).

If the message is obsolete, please remove it.

Otherwise, please clarify the current behavior.

Activity

  1. joshtrichards commented on Sep 21, 2023

    @joshtrichards
    Member

    It depends on client support. The messaging can probably be adjusted "soon" so that it clarifies that it impacts some clients (i.e. older client versions and others like third-party WebDAV clients) that don't implement v2 chunking API.

    It wasn't until a few weeks ago it was fully implemented across Desktop (nextcloud/desktop#5554, Android (nextcloud/android-library#1173), iOS (nextcloud/ios#2541), and Files/Web (nextcloud-libraries/nextcloud-upload#925).

  2. joshtrichards commented on Sep 21, 2023

    @joshtrichards
    Member

    Further clarification:

    It also currently still impacts public/anonymous uploads AFAIK.

  3. brainchild0 commented on Sep 21, 2023

    @brainchild0
    Author

    Will third-party WebDAV clients always require temporary files?

    Is it possible to create logic that chunks a file for multiple write operations to S3 within the same WebDAV request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions