solidnerd/docker-bookstack

Max upload size

VGzsysadm opened this issue · 1 comments

Hello.

I'm trying to increase the max upload for the bookstack instance, (upload videos around 200-500mb)

I'm sending the following volumes through docker-compose

volumes:
  - ./.env:/var/www/bookstack/.env
  - ./php.ini:/usr/local/etc/php/php.ini
  - uploads:/var/www/bookstack/public/uploads
  - storage-uploads:/var/www/bookstack/storage/uploads
container_name: bookstack-front

Content of .env
...................
# URL used for social login redirects, NO TRAILING SLASH
FILE_UPLOAD_SIZE_LIMIT=500

Content of php.ini

[PHP]

post_max_size = 500M
upload_max_filesize = 500M

If i try to upload a file less than 100M, the file can be uploaded.
If i try to upload a file higher than 100M but less than 500MB an error received "The server does not allow uploads of this size. Please try a smaller file size"
If i try to upload a file higher than 500M an error received "File is too big (675MiB) Max filesize: 505MiB"

By the way, the instance is behind an haproxy but i guess this is not affecting

Anyone tried to reach or increase the upload limit?

Thanks

Kind regards.

stale commented

This issue has been automatically marked as stale because it has not had any activity for the last 30 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.