linuxserver / docker-bookstack

A Docker container for the BookStack documentation wiki
GNU General Public License v3.0
797 stars 109 forks source link

Can't upload a 18mb PDF file as an attachment #116

Closed ItsNoted closed 2 years ago

ItsNoted commented 2 years ago

I saw that the post max and max file size was bumped to 100mb a few releases ago yet I still cannot seem to upload a 18mb PDF file as an attachment to a page. Here is an image of the error shown on the uploader. https://snip.lol/JipE3/kiXuhAZe26.png

I checked the php-local.ini file in the php folder and it is set to 100mb for both values. I was able to upload a smaller file that was only 600kb so I know it's not a permission issue.

Is there something else I need to do to raise the file size limit? There are no settings within the admin panel that I could see. It's pretty basic so I wouldn't miss it if it was there.

ItsNoted commented 2 years ago

Solved this by making a copy of the php-local.ini and renaming it to php.ini

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!