1GB Upload - Gateway Timeout

CMS Version: 3.0.3

Installation Method: Docker

Operating System: Ubuntu

Issue

I currently I have this problem from 2017…

But running docker compose, I don’t see any PHP.ini file to update. Does docker compose put it somewhere weird?

Or has it changed since moving to docker? I normally only upload small files so it’s not been an issue but I have 2 files that are 800MB and 1.2GB that seem to have uploaded but it threw the gateway error which is a bit annoying so be nice to fix it properly so it doesn’t throw an error.

Not sure what the current server version is. I tried to update but seems to be the same version so not sure if it’s been a long day and just tired!

https://www.php.net/manual/en/info.configuration.php#ini.max-execution-time

Could be this

If you use docker-compose.yml correctly you should have included the file config.env
Within config.env you can uncomment the lines which you want to change. It is standard 2GB

## Xibo comes with a 2GB limit for individual file uploads
## If you require larger files, uncomment the following and adjust as
## required
# CMS_PHP_POST_MAX_SIZE=4G
# CMS_PHP_UPLOAD_MAX_FILESIZE=4G
# CMS_PHP_MAX_EXECUTION_TIME=600

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.