New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Paid Feature] Crash when uploading large files #3935
Comments
Please give me estimate of how much it will cost and how long it will take to add this feature to frappe. |
@mhbu50 we might have to use socket.io for such uploads https://www.npmjs.com/package/socket.io-file Its a bit experimental, so might take time. Can your client sponsor $500? |
@mhbu50 assuming there is nothing inherently built into Frappe that makes large uploads impossible, you would also need to play with your nginx and gunicorn configurations to allow file uploads of this size. For nginx, you would need to look at the following variables in particular. For gunicorn, you would most likely need to increase the timeout. Do this in supervisor with the following flags There are a lot of threads on google about this, but most of them involve django. The advice and steps will be the same for frappe though. |
@felixvarghese I think the key is timeout, which depends on bandwidth. Today you want 100MB tomorrow you may want 1GB. uploading in chunks via socketio is the best solution IMO. As a bonus you also get a progress indicator 😄 |
@rmehta Thanks for your respond, my client is ready to sponsor $500 for this. |
@mhbu50 Thanks for your interest in sponsoring. Will reply you via Opportunity. |
@rmehta Checked and Approved 👍 |
Thanksl Let me write a couple of test cases and wrap it up. |
I am trying to upload 100 mb file as attachment in ERPNext but webpage get crach while uploading!!!
I set "max_file_size": 500000000 in site_config just in case .
see what happen:
The text was updated successfully, but these errors were encountered: