nextcloud / nextcloud/nextcloudpi
Support for large files for 32bit images
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
Description
Maximum file size which can be uploaded is 4GB.
Error log
FATAL - webdav - Sabre\DAV\Exception: Error while copying file to target location (copied bytes: -1, expected filesize: -1 )
Solution suggestion
PHP should be compiled with the following additional flags:
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
Source: https://archlinuxarm.org/forum/viewtopic.php?t=14070&p=62441
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
No source file or test is named. Start by locating the 32-bit image build configuration and the PHP compilation settings, then reproduce an upload larger than 4GB to observe the WebDAV copy error. Done means large-file uploads work on 32-bit images without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100