You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to upload image files using the upload function in the GUI. There seems to be a limit of 1Mb, before there's a "Payload too large" error. Can I increase that limit?
To Reproduce
Steps to reproduce the behavior:
Go to 'Import'
Click on 'Upload files'
Select files with a total of more than 1Mb.
See error
Expected behavior
Posibillity to upload more/larger files.
Screenshots
Environment (please complete the following information):
OS: Kubernetes
Label Studio Version [e.g. 1.14.0]
The text was updated successfully, but these errors were encountered:
To resolve this issue and increase the maximum upload size, please try the following steps:
Adjust Nginx Configuration (If applicable):
If you're using Nginx as a reverse proxy in your Kubernetes deployment, you may need to adjust the client_max_body_size directive to allow larger file uploads.
Add or modify the following in your Nginx configuration:
http { ... client_max_body_size 100M; ... }
This sets the maximum allowed size of client request bodies to 100 MB. Adjust the value as needed.
Adjust Django Settings in Label Studio:
Label Studio uses Django, which has settings controlling the maximum upload size. You can increase the upload limit by setting the DATA_UPLOAD_MAX_MEMORY_SIZE environment variable. This variable specifies the maximum size (in bytes) that a request body may be before it's streamed to the file system.
Set the environment variable to a higher value (e.g., 100 MB):
Describe the bug
I'm trying to upload image files using the upload function in the GUI. There seems to be a limit of 1Mb, before there's a "Payload too large" error. Can I increase that limit?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Posibillity to upload more/larger files.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: