I'm not able to download big files from OwnCloud

Having issues with your DietPi installation or found a bug? Post it here.
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

I'm not able to download big files from OwnCloud

Post by Fabio »

The title catch perfectly my issue...
I've uploaded to OwnCloud different files, of various dimensions.
I've problem just largre files, that are not downloaded. If i try to downloiad via the IOs App, i'm getting back error 0 ( :? ) , if i do the same on a computer, with the Windows app installed, it doesn't even start.
Maily i'm talking about movies and videos ( from 100 Mb up to 10Gb )

Someone have any suggestion?
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: I'm not able to download big files from OwnCloud

Post by Joulinar »

Hi,

many thanks for your message. Did you tried to download using a normal web browser and not an app? Does it behave same?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: I'm not able to download big files from OwnCloud

Post by Fabio »

Hello @Joulinar , thx for yr reply!
Yes always the same story...
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: I'm not able to download big files from OwnCloud

Post by Joulinar »

ok I installed ownCloud for testing purposes to try out your case. I used a file of around 580MB and was able to download it using a browser. Once I pushed the download button, I got a running circle on the file. It took a minute or two before the download start. Which web server you are using?

picture.PNG
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: I'm not able to download big files from OwnCloud

Post by Fabio »

What do you mean exactly?
Sorry but I’m not understanding... I’ve it running on a Raspberry Pi 2B and I’ve done de default installation with mariadb lighttpd and so on...

How I can check what are you asking?
User avatar
ravenclaw900
Posts: 25
Joined: Sat Jan 09, 2021 4:05 pm

Re: I'm not able to download big files from OwnCloud

Post by ravenclaw900 »

In that case, lighttpd is your web server. It would be whatever you have selected for Webserver Preference in dietpi-software.
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: I'm not able to download big files from OwnCloud

Post by Fabio »

Maybe this can help...
Attachments
EB7E87D4-C8D0-48F4-BF6E-B5EBFBF0D962.jpeg
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: I'm not able to download big files from OwnCloud

Post by Fabio »

Reading around could be a timeout time problem, because of the size of the file...
You that are more expert, seems a possible thing? Where i can find the time out time to adjust it?
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: I'm not able to download big files from OwnCloud

Post by Joulinar »

for me owncloud/lighttpd is working fine to download large files. However it takes up to 10 minutes before it start to actually download a 3.4GB files. The web server is trying to cache the file upfront. Until now I did not find a working solution how to avoid the caching. On my RPi3B+ it's eating up whole 1GB ram and it starts swapping as well.

It's similar to what is described on this NextCloud forum post https://help.nextcloud.com/t/download-t ... t/62501/42

picture.png
picture.png (11.01 KiB) Viewed 1122 times
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
GreenGentleman
Posts: 53
Joined: Mon Nov 09, 2020 4:10 pm

Re: I'm not able to download big files from OwnCloud

Post by GreenGentleman »

Sorry for necroing, but I'm having a similar problem. Downloading large files (500mb+) takes a while, memory usage goes up (which is not a problem in itself), but the processor gets used heavily. I'm running a pihole on the same Pi, and if I start a download, my internet crashes (as far as I can tell, no new DNS requests get through, as videostreams just keep playing). During this, the connection to my owncloud gets lost, and since the internet is down, the client errors out, until it can try again a few minutes later (once the internet works again).

I assume that due to the high load, the pihole stops sending requests forward, leading to the errors, so I'm looking for a way to reduce the load for the Pi if I download large files.
Post Reply