Remove warning about disk space needed for uploads to S3
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Security & setup warning with S3 configured as primary storage, then inspect the current upload and temporary-file behavior described in the issue and compare it with #27034 and #19414. Done means either removing the obsolete warning or documenting the current behavior clearly, with a regression check for the resulting setup-warning behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, php
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100