mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
File upload fails if larger than 100MB #420
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kalkoen31 on GitHub (Sep 5, 2025).
Current Behavior
I am trying to upload a file and I get this error:
The mountedActionsData.0.files.980093dc-506a-49db-99a1-df0b0cc9eced failed to upload.When I open the files tab in the panel I get these 2 errors in the console. Don't know if they are related.

This is the console error I get when uploading the file.

I am using Ubuntu 24.04.3 LTS, no reverse proxy, no cf tunnels.
Panel, wings and OS are up to date.
changes made in an attempt to fix the issue:
In the panel max upload size is set to 1024MiB.
In
/etc/nginx/sites-enabled/pelican.confclient_max_body_sizeis set to1024m;In php.ini
upload_max_filesizeis set to 1024M andpost_max_sizeto 2048M andmemory_limitto -1Restarted the VM multiple times.
Expected Behavior
Upload succeeds
Steps to Reproduce
Upload a file larger than 100MiB.
Panel Version
1.0.0-beta25
Wings Version
1.0.0-beta17
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@Kalkoen31 commented on GitHub (Sep 5, 2025):
Solved.
change the following 3 values in
/etc/nginx/sites-enabled/pelican.conf:client_max_body_size 100m;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
@rmartinoscar commented on GitHub (Sep 5, 2025):
Just to clarify we don't recommend editing those values but if you want bigger then 100MB file upload then yes you need to edit them.
You may also need
client_body_timeout 120s