appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Epic]: Problems Uploading Large Files

Open felix-appsmith opened this issue 3 years ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

When we try to upload a file to a database that is larger than 20mb the file upload fails, this problem happens with different sizes for different users for some user the file upload fails when it is larger than 5mb but another when it is larger than 20mb this doesn't make much sense.

To get a better idea of this issue, create a repository with the tests that have been done.

appsmith-problems-uploading-large-files

Apart from this, here I attach issues that are related to the issue.

  1. Base64 files larger than 5 Mb fail to display in Appsmith
  2. Upload of files larger than 5mb fails when changing port
  3. Not able to upload files greater than 75 mb
  4. How to increase Filepicker upload size on self-hosted
  5. Issue with video uploads to S3 with files greater than 5MB
  6. Increase the filepicker supported size on cloud

Steps To Reproduce

  1. Enter this application: app
  2. Try to upload a video larger than 25mb

Public Sample App

https://app.appsmith.com/app/filesuploaderror/page1-636914a6b7d12f577aa56521

Issue video log

No response

Version

Cloud : Appsmith v1.8.7-SNAPSHOT

Front logo Front conversations

felix-appsmith avatar Nov 17 '22 20:11 felix-appsmith

Another user reported facing this error while trying to upload a file larger than 50mb.

tomjose92 avatar Nov 21 '22 05:11 tomjose92

I spoke to one more user who wants to upload large files( > 100mb ). Is there any workaround for this.

AnaghHegde avatar Nov 29 '22 06:11 AnaghHegde

Limitations

  • Spring in memory limit,
  • plugin specific limit
  • and a few more things

If we are going to allow >100MB, we'll need to test and verify that it actually works

More context -https://theappsmith.slack.com/archives/CGBPVEJ5C/p1669722874855689?thread_ts=1669700677.989409&cid=CGBPVEJ5C

dilippitchika avatar Nov 29 '22 12:11 dilippitchika

Just adding as another example, we have files that are upwards of 300mb that we need uploaded.

ereio avatar Nov 29 '22 19:11 ereio

@ereio can you also add your use-case on why these large files need to be uploaded in your app? How is appsmith going to help here?

dilippitchika avatar Nov 30 '22 04:11 dilippitchika

@dilippitchika For sure!

We have tool where management is going to upload large statement files instead of pulling them from where we normally do automatically. We don’t want to build a webpage outside appsmith that’s only for management to drag and drop large files to upload.

We have an API endpoint that can handling uploading very large files through multipart requests, and were hoping AppSmith could help us build out the UI part.

ereio avatar Dec 01 '22 20:12 ereio

If we are going to allow >100MB, we'll need to test and verify that it actually works

@dilippitchika Are you going to allow >100MB finally? We also need this for uploading video files in our admin panel

pfilatov92 avatar Dec 28 '22 15:12 pfilatov92

Hey @pfilatov92 if you can help me understand your use case better, it will help us prioritise. Can you let me know what your users are doing next after uploading video files? What is their flow like?

dilippitchika avatar Dec 29 '22 03:12 dilippitchika

@dilippitchika We choose video files via admin panel, attach some meta-information, then video is uploading to s3 through our backend and then becomes available on our website

pfilatov92 avatar Dec 31 '22 08:12 pfilatov92

@pfilatov92 we're working on this soon. Currently, it's a backend limitation with how we process these files. We're working on making it so that the system can upload larger files.

Nikhil-Nandagopal avatar Jan 02 '23 08:01 Nikhil-Nandagopal

@nidhi-nair wanted to see what PR will fix / has fixed this issue! This is still a big blocker for us!

ereio avatar Jun 26 '23 22:06 ereio

This is the main blocker stopping me from moving an app to appsmith.

My users need to upload PDF files that can be hundreds of megabytes. I'm uploading to Dropbox, which has a separate API flow for large uploads, so all the file input needs to do is allow the user to select files and I do the rest with javascript. I believe the Filepicker has all the functionality I need (based on https://docs.appsmith.com/connect-data/how-to-guides/how-to-integrate-dropbox), except I can't override the file size limit. It seems like the use case of "use appsmith to handle uploads" vs "use dropbox or some other host" are stuck in the same widget which is maybe causing issues -- maybe there should be 2 different ones?

What is the recommended escape hatch for this kind of situation? In the meantime I've embedded an iframe with some html and javascript which can handle the upload process, but I have to host that code outside of appsmith so it's not ideal.

devdoshi avatar Jul 06 '23 20:07 devdoshi

@devdoshi are you using Appsmith Cloud, or your own self-hosted instance? If self-hosted, what version are you running?

GreenFlux avatar Jul 07 '23 00:07 GreenFlux

@devdoshi are you using Appsmith Cloud, or your own self-hosted instance? If self-hosted, what version are you running?

Appsmith cloud

devdoshi avatar Jul 07 '23 01:07 devdoshi

@devdoshi there's no way to increase the 100 Mb limit on Appsmith cloud. I think you might be able to increase it on a self-hosted instance though. I think your approach using an iframe is the only way around the limit on Appsmith cloud.

GreenFlux avatar Jul 07 '23 11:07 GreenFlux

I too thave the same problem. I am developing an application for medical purposed and I need a functionality to upload large files like videos, ctct scans, 3d files ... I am using Firebase Storage as the backend.

leonlazic avatar May 18 '24 17:05 leonlazic