Nextcloud and download problem Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Reds
Posts: 14
Joined: Thu Feb 20, 2020 5:59 pm

Nextcloud and download problem

Post by Reds »

Hi everyone.

New DietPi user, bit of a Linux noob but I’m learning fast. DietPi has made so much accessible - really nice solution. Well done devs.

I have a 4GB Pi4 running DietPi 6.28 with NextCloud 18.03 on Nginx, SAMBA and some other utilities. Works really well out of the box, very pleased. I don’t store any files inside NextCloud per se, I use it an Internet facing Web portal for a QNAP NAS I have running on the same network. I’m using the External Storage feature in NextCloud to connect to an SMB share. That’s all connected and working fine. I can browse the share and see all its Files inside Nextcloud no problem. I regularly share files stored on this SMB share via NextCloud and this is where the problem lies.

I can share out any file for download without issue. The problem is with large files. Any file over 1GB in size literally only download the first 1GB and then stops. Any file under 1GB downloads fine, its just files over 1GB. The download stalls at exactly the 1GB mark. Its like I’m hitting a limit somewhere.

If I upload the same file into Nextcloud so that its stored in its Data directory the full file will download without issue so seems to be sharing files stored on an SMB source that’s the problem.

I can see someone else having exactly the same issue but without any resolution mentioned.
https://help.nextcloud.com/t/nextcloud- ... le/63745/2

Anyone here have any ideas?
User avatar
Joulinar
Posts: 2617
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and download problem

Post by Joulinar »

Hi,

I was testing your scenario within a VM (4GB mem) and was able to download a 3.4GB file without issues.

my setup:
  1. VM 4GB Mem
  2. latest DietPi
  3. latest NextCloud 18
  4. Synology SMB Share connected directly inside NextCloud using external storage app
  5. download 3.4GB iso file
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Reds
Posts: 14
Joined: Thu Feb 20, 2020 5:59 pm

Re: Nextcloud and download problem

Post by Reds »

Thank you for your feedback.

Did you try this internally on your LAN or externally over the Internet? (I have the latter problem).
User avatar
Joulinar
Posts: 2617
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud and download problem

Post by Joulinar »

yep it's working both ways. Internal within my home network as well as over the internet.

Code: Select all

https://my.dyndns.com/nextcloud/index.php/apps/files/ajax/download.php?dir=%2FSMB%2F%23install%2FMS%20Office%20365&files=O365HomePremRetail.img&downloadStartSecret=
1.606 KB/s - 1,4 GB of 3,4 GB, 22 Min. left
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Reds
Posts: 14
Joined: Thu Feb 20, 2020 5:59 pm

Re: Nextcloud and download problem

Post by Reds »

It’s good that it can work but doesn’t work for me.

Any suggestions on where to look to troubleshoot?
User avatar
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

Re: Nextcloud and download problem

Post by MichaIng »

I answered on the Nextcloud forum, let's go on there, where we have a better fitting community I think. Must have to do with the samba server.
Reds
Posts: 14
Joined: Thu Feb 20, 2020 5:59 pm

Re: Nextcloud and download problem

Post by Reds »

Thanks for your support @MichaIng. I’ll follow the topic there.
Post Reply