Failed to upload a large file
System Info
- PHP Version: 8.1.16
- XBackBone Version: 3.6.1
- Webserver: Nginx
- Database backend: SQLite
Describe the bug Failed to upload a large file It's not a 413 error issue
To Reproduce
I installed xbackbone on oracle cloud Arm Instances (Free Tier)
Additionally, I set memory_limit = 1024M, upload_max_filesize = 16G, and post_max_size = 16G
I also set the client_max_body_size to 16G
I uploaded the 1GB file to xbackbone The 1GB file was successfully uploaded
But I'm having trouble uploading a 2GB file I kept waiting, but nothing changed
The file is uploaded to the server, but it seems to be deleting the file instead of keeping it
So I installed it on another x64 machine with all the same settings
I successfully uploaded a 2GB file But the 10GB file failed to upload
I want to troubleshoot an upload issue
Expected behavior Successful upload
Screenshots If applicable, add screenshots to help explain your problem.
Logs XBackBone and/or webserver logs.
Same issue here. Anything over 2GB says 100% instantly and doesn't upload. PHP is set correctly.
Despite php settings upload_max_filesize and post_max_size check your http server configs also for:
client_max_body_size for nginx or
LimitRequestBody for apache accordingly,
depending on which are you using.
I am also having the same issue. the client_max_body_size in nginx.conf is at 0.