nextcloud / nextcloud/nextcloudpi

Support for large files for 32bit images

Open
#1,483 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

armbian build docker enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.