nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

Support for large files for 32bit images

Open judgetom opened this issue 3 years ago • 5 comments

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

judgetom avatar May 23 '22 08:05 judgetom

would be great

r4lix avatar May 31 '22 07:05 r4lix

Which image are you using? I assume a 32bit image?

If it works on the 64bit images, I think compiling our own PHP just for the (2?) 32bit boards we're supporting might be out of scope...

theCalcaholic avatar Jul 28 '22 06:07 theCalcaholic

Hi,

I'm using a Raspberry pi with this OS: Linux raspberrypi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

And this is the image I'm using for Nextcloud: ownyourbits/nextcloudpi-armhf:latest

If you have any other question, please get back to me.

Thanks in advance!

judgetom avatar Jul 28 '22 07:07 judgetom

Ah so you're using the docker image. Thanks for providing the information. I'll keep this issue open as a suggestion but I don't think, I'll have time for it in the near future

theCalcaholic avatar Jul 28 '22 07:07 theCalcaholic

No problem, I could upload the files directly to the Raspberry and synchronized the folder, so it works as workaround. Thanks for the program, respect for it ;)

judgetom avatar Jul 28 '22 07:07 judgetom