Project

General

Profile

Actions

Bug #8632

closed

Error uploading 90MB file to closed Commons Group

Added by Michael Mandiberg about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Group Files
Target version:
Start date:
2017-08-30
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

I tried to upload a 90MB .wav file to the close Core 1 Commons Group (https://commons.gc.cuny.edu/groups/itp-core-1-fall-2017/documents/). The progress percentage went from 0 to 100%, and then the page reloaded, but the the file wasn't there. I tried refreshing the page, and it didn't make a difference. I have tried three times, and each time the same error. Using Chrome on MacOS. File is located here, if that matters: https://www.dropbox.com/s/tovcdgjrlfa843p/workshop-on-workshops.wav?dl=0


Files

Screenshot_2017-08-30_15-26-19.png (26.6 KB) Screenshot_2017-08-30_15-26-19.png Boone Gorges, 2017-08-30 04:29 PM
Actions #1

Updated by Michael Mandiberg about 7 years ago

Maybe there is a file limit...? If so, it wasn't stated. And is confusing that it would proceed with the upload, only to reject b/c too large.

Actions #2

Updated by Matt Gold about 7 years ago

  • Category name set to Group Files
  • Status changed from New to Assigned
  • Assignee set to Boone Gorges

Hi Michael -- Boone will likely comment soon, but until he does, I wanted to point you to this recent ticket -- https://redmine.gc.cuny.edu/issues/7972

Actions #3

Updated by Boone Gorges about 7 years ago

  • Target version set to 1.11.11

Our server is configured to forbid uploads larger than 64MB. It might be possible to work with IT to increase this, but doing so will likely introduce other problems (both security issues and performance issues). So, in the absence of a regular need to upload files like this, I'd recommend against it.

I agree it's weird behavior to allow the file to be uploaded, only to be rejected without error. At the very least, we should show an error after failure. Better: show a notice when we detect that the file is too large, before attempting to upload. I'll take a look at this.

Actions #4

Updated by Boone Gorges about 7 years ago

Here's a first pass https://github.com/cuny-academic-commons/cac/commit/d6e83e74e7d3e46596c5e4fd721722569a0062cb See screenshot.

When the file is larger than 50MB, the form is disabled, and the notice shown. It's reenabled and the notice is hidden when the file is small enough. Does this seem OK?

Actions #5

Updated by Matt Gold about 7 years ago

that looks good to me. thanks, Boone.

Actions #6

Updated by Boone Gorges about 7 years ago

  • Status changed from Reporter Feedback to Resolved

Thanks!

Actions

Also available in: Atom PDF