XBackBone icon indicating copy to clipboard operation
XBackBone copied to clipboard

Failed to upload a large file

Open pppaapp opened this issue 2 years ago • 5 comments

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

CleanShot 2023-03-16 at 11 44 43

I uploaded the 1GB file to xbackbone The 1GB file was successfully uploaded

CleanShot 2023-03-16 at 11 47 50

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.

pppaapp avatar Mar 16 '23 03:03 pppaapp

Same issue here. Anything over 2GB says 100% instantly and doesn't upload. PHP is set correctly.

Bortus-AI avatar Mar 05 '24 01:03 Bortus-AI

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.

Manriel avatar May 16 '24 20:05 Manriel

I am also having the same issue. the client_max_body_size in nginx.conf is at 0.

Reapuh-UwU avatar Jun 26 '24 03:06 Reapuh-UwU