June 27, 2021 in Technical Problems
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.
This topic has been discussed many times. Check these results and maybe you will find a solution for your case.
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):
save the config and then do: sudo service nginx restart
You are now done and should be able to upload just fine.
Started 9 hours ago
Started November 17, 2023
Started 5 hours ago