Opened 3 weeks ago

Last modified 6 days ago

#16675 assigned Question/How do I...?

Request to remove cap on video file uploading to a shared folder

Reported by: David Ferris Owned by: JaimeV
Priority: High Component: Tech
Keywords: file-size, shared-folder Cc: Jamie McClelland
Sensitive: no

Description

Hi. I am managing a video editing project and want to create a shared folder that our videographers can use to share files. We get an error message each time we try to upload a file larger than 500 MB. We would like to remove this cap altogether. Is that something you can do?

Attachments (2)

Screen Shot 2021-09-10 at 10.55.51 AM.png (361.3 KB) - added by David Ferris 3 weeks ago.
Screenshot
error.png (101.6 KB) - added by David Ferris 3 weeks ago.
screenshot

Download all attachments as: .zip

Change History (17)

Changed 3 weeks ago by David Ferris

Screenshot

Changed 3 weeks ago by David Ferris

Attachment: error.png added

screenshot

comment:1 Changed 3 weeks ago by David Ferris

Here's the folder link we're trying to use with large files: https://share.mayfirst.org/s/LPa5Qi4xGyiiAoR

comment:2 Changed 3 weeks ago by JaimeV

Cc: Jamie McClelland added
Owner: set to JaimeV
Status: newassigned

Hi David,

Copying jamie here. I think this has been either been set intentionally to 512MB in the nginx configuration or is the Nextcoud default.

    # set max upload size
    client_max_body_size 512M;

comment:3 Changed 3 weeks ago by David Ferris

Sensitive: unset

comment:4 Changed 3 weeks ago by JaimeV

What size is the file you want to upload David?

comment:5 Changed 3 weeks ago by David Ferris

We will be uploading HD video files up to 3 GB. Thank you!

comment:6 Changed 3 weeks ago by JaimeV

Your current disk allotment is set to 5GB. How much total space to you expect to use and under which user will you be uploading?

comment:7 Changed 3 weeks ago by Jamie McClelland

Yes, that limit does seem to have been set intentionally and strikes me as quite low.

On the other hard 3GB is really big.

I think the purpose of the limit is to stop people from trying to upload a file that is likely to time out or be unsuccessful. I'm not sure what the experience is for a user to upload a 3GB file, even on a relatively good connection. I'm open to experimenting here.

comment:8 Changed 3 weeks ago by Jamie McClelland

For the record - the limit is set here - it probably should be set via a variable stored in the inventory file.

comment:9 Changed 2 weeks ago by David Ferris

Hi Jamie. Thanks. We'd love to try 3GB, and we would be happy to let you know how it goes. Is that something you can change for us or do I need to change it for this folder myself? Folks uploading are not necessarily NextCloud users as it's a shared folder set to "allow upload and downloads" in terms of permissions.

comment:10 Changed 2 weeks ago by JaimeV

Hi David, I mentioned earlier a default total disk usage quota of 5GB set for your accounts and asked about the total disk usage you expect to be needed for this folder. I'm not sure allowing such large file uploads >3Gb for a publicly shared folder is the best fit for our inteneded use of Nextcloud for members.

Likewise if you expect a large public to be downloading these large video files form this shared folder this might have a dramatic impact on our Nextcloud server's performance. I think we need a better sense of the parameters and your ultimate intentions to ensure there is adequate capacity for what you are trying to do here..

comment:11 Changed 2 weeks ago by David Ferris

We're working with a team of 6 videographers, not nextcloud users, who will be uploading, then downloading, then deleting from NextCloud so I don't expect to go over the 5GB quota. We'll be doing this with maybe a total of 40 files max over the next month or so - uploading, downloading, deleting. We can use another service like wesendit or wetransfer, I just always try to start with using nextcloud.

comment:12 Changed 2 weeks ago by JaimeV

Thanks David, that sounds a lot more manageable given that it is a for a limited group and the goal is to transfer files temporarily rather han long term archiving or wider distribution. We can expand the quota beyond 5GB if needed. I will work on expanding the current 512MB upload limit.

comment:13 Changed 2 weeks ago by JaimeV

Hi David, Can you try uploading again now?

comment:14 Changed 6 days ago by Jamila Khan

Hi Jaime,

I'm working with other Highlander folks on the video uploading I mentioned in #16629 and they are also running in to this issue. They have folks who are trying to upload the 3GB videos and it's failing. Is it possible to set the limit higher still?

comment:15 Changed 6 days ago by JaimeV

I discovered another limit at our nginx proxy that wasn't being changed. I've increased the upload size to 4096MB now. I don't think we are applying any limits through php yet. Would you mind trying again?

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.