(selfhosted 4.5.19) Cannot upload documents to Quotes/Inv etc

I have IN installed on ubuntu 18. PHP7.2 and nginx.

Everything is working flawlessly, besides one feature.

I have created 2 quotes and wanted to attach a document. Its a pdf file and its 2.3MB in size. When I upload the file, I get an error message “An error occurred - please reload the page”. I uploaded a small image as a test, and it worked. I uploaded a 250k pdf file and it worked as well.

I adjusted the php.ini (and php-fpm.ini) to allow for larger file sizes, but no joy.

Any ideas?

Are there any details about the error in storage/logs/laravel-error.log or the web server error logs?

error message that is relevant is this:

2020/08/25 18:33:31 [error] 928#928: *10013 client intended to send too large body: 2287185 bytes, client:, server: REMOVED HOST FQDN, request: "POST /documents HTTP/1.1", host: "REMOVED HOST FQDN"

Thanks, this may help:


This did the trick, thank you!

1 Like