[GH-ISSUE #787] upload of large files (1 GB+) #538

Closed
opened 2026-03-02 15:59:36 +03:00 by kerem · 3 comments
Owner

Originally created by @phifogg on GitHub (May 29, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/787

Hi,
i have some issues with uploading of larger files. Smaller files work flawless.
Large files (1 GB+) seem to work fine from a client side, the upload takes approx as long as I would expect it to take, but the files arriving on the server are either way too small (i.e. less than 5 MB) or not existent at all.
How can I help find the root cause of this?
Thanks

Originally created by @phifogg on GitHub (May 29, 2022). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/787 Hi, i have some issues with uploading of larger files. Smaller files work flawless. Large files (1 GB+) seem to work fine from a client side, the upload takes approx as long as I would expect it to take, but the files arriving on the server are either way too small (i.e. less than 5 MB) or not existent at all. How can I help find the root cause of this? Thanks
kerem closed this issue 2026-03-02 15:59:36 +03:00
Author
Owner

@phifogg commented on GitHub (May 29, 2022):

as some form of detail, I am running 2.4.7 of tinyfilemanager on a debian based linux host.

<!-- gh-comment-id:1140472240 --> @phifogg commented on GitHub (May 29, 2022): as some form of detail, I am running 2.4.7 of tinyfilemanager on a debian based linux host.
Author
Owner

@vyv2000 commented on GitHub (Jun 11, 2022):

uploading of larger files < 3M. use docker

<!-- gh-comment-id:1152975201 --> @vyv2000 commented on GitHub (Jun 11, 2022): uploading of larger files < 3M. use docker
Author
Owner

@Langlais115 commented on GitHub (Sep 25, 2022):

I can't reproduce the issue on 2.4.8...
If you are using Nginx, make sure to add client_max_body_size 2G; in the http section of your nginx.conf.
and in your php.ini
post_max_size = 2G
upload_max_size = 2G

Don't forget to reload the conf after that.

<!-- gh-comment-id:1257234396 --> @Langlais115 commented on GitHub (Sep 25, 2022): I can't reproduce the issue on 2.4.8... If you are using Nginx, make sure to add **client_max_body_size 2G;** in the **http** section of your **nginx.conf**. and in your **php.ini** **post_max_size = 2G upload_max_size = 2G** Don't forget to reload the conf after that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#538
No description provided.