Hey community,
since I am new to owncloud I dunno how I can provide more information you might need. So this is all I got:
Problem:
I am able to upload files to my raspberryPi running owncloud. I mean its not giving any errors and I see their proper filesize. But when I want to download them via the WebInterface the download starts and finishes in like 0.5 seconds. The actual file size of the downloaded file is 0 Bytes.
Information:
I am running owncloud 10.4 version on a raspberryPi 3B
Everything is running fine except the downloading of large files.
Files bigger than around 2 GB fail to download. It doesnt matter which file type.
Hey dmitry, thank you for your post. I already tried this fix before.
I finally got into the owncloud thing and had a look at the logs.
Logs say that a php file had a bad line.
Maybe I am not the only one so let me explain it:
The log said:
āmessageā:āstream_copy_to_stream() expects parameter 3 to be integer , string given at /var/www/html/owncloud/lib/composer/sabre/http/lib/Sapi.php#78ā
I found the following code not doing what it should:
i did a short research based on https://github.com/sabre-io/http/pull/79 and it seems the upcoming ownCloud 10.3.0 release is now using the version 5.0.0 of this 3rdparty library which includes this fix.
I have 152GB folder on owncoud website. When I want to download (by clicking on ⦠then Download), it keeping spinning and then does nothing. Smaller files download ok. How can I download huge folders pls?
The actual reason for downloading is the search facility on Top right of webpage doesnot work well. So, if I searched for a word āPhaseā, then Iāll have 30 hits. If I click on one hit, then the website will take me there, and Iāll lose all others, and I need to search again and click 2nd hit, and so on! Shocking⦠If this problem can be solved, then I donot need to download the huge 152GB folder.
Have you ever thought about what needs to happen on the server for this to work properly?
When you click on this button this is creating zip or tar archive with the contents of the folder.
How long would it take to generate a tar/zip of this size? Hint: timeouts
Where is it being saved during and after creation, for you to download it? Hint: check your PHP temp folder configuration
I agree this workflow could be a little better, however, have you ever thought about opening your search results in a new tab? (middle mouse click or shift click or right click āopen in a new tabā)