Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Meap Posted June 27, 2021 Posted June 27, 2021 Sorry, an unknown server error occurred when uploading this file. (Error code: -200) I get this error when I try to upload some files. It doesn't happen to all files so I don't know it's exact origin. Nothing is popping up in the system logs and it doesn't seem to be a file type issue. Any help would by highly appreciated.
Adlago Posted June 27, 2021 Posted June 27, 2021 This topic has been discussed many times. Check these results and maybe you will find a solution for your case. https://invisioncommunity.com/search/?q="error -200"&quick=1
Solution Meap Posted June 27, 2021 Author Solution Posted June 27, 2021 Found a fix. If you are using nginx, go into your /etc/nginx config or the config of your specific website in the etc/nginx/sites-available folder. Edit the config using nano (or any other preffered editor) Add this line at the bottom of the http or server block and change it to the maximum upload file size you want to allow (I have it set to 200MB): Either: http { client_max_body_size 200M; } Or: server { client_max_body_size 200M; } save the config and then do: sudo service nginx restart You are now done and should be able to upload just fine.
Recommended Posts