Nuhser / PfaKSys

PfaKSys is a server based inventory management and borrowing system using a Flask webapp for small to medium sized organizations.
https://github.com/Nuhser/PfaKSys/wiki
GNU General Public License v3.0
1 stars 0 forks source link

Uncaught error 413 when uploading large files #21

Closed Nuhser closed 2 years ago

Nuhser commented 2 years ago

Description

An uncaught error gets thrown when uploading big files (e.g. profile pictures).

This should at least result in an prettier error screen.

Screenshots

image

Nuhser commented 2 years ago

This wasn't a PfaKSys-specific bug. There was a problem with the nginx-config. This line needed to be added to /etc/nginx/nginx.conf under http:

client_max_body_size 8M;