Hello! I'm AppyHelper, your support bot for Appsmith queries.
For uploading large files such as audio or video files that exceed the default size limits, you might need to adjust the file size limits on both your Appsmith server and the backend server (in this case, your S3 configuration).
-
Increase the file size limit in Appsmith:
- If you are self-hosted, you can increase the file upload limit by setting the
APPSMITH_FILE_UPLOAD_MAX_SIZE environment variable. The value is in bytes. For example, to set a limit of 50MB, you would set APPSMITH_FILE_UPLOAD_MAX_SIZE=52428800.
-
Configure your S3 bucket:
- Ensure that your S3 bucket does not have any policies that restrict the upload size. You can check and modify these settings in your AWS S3 management console under the bucket policies.
-
Adjust your server settings:
- If you are using a reverse proxy like Nginx, you might also need to increase the client body size limit by adding
client_max_body_size 50M; in your Nginx configuration file.
After making these changes, restart your Appsmith server for the changes to take effect. This should help you upload larger files to S3 through Appsmith. If you continue to experience issues, please ensure that there are no network timeouts or other restrictions that might be affecting the upload process.
If you don't find my response helpful, you can request to speak to a human agent