Sorry for the late reply, I have tried the steps above. However I might get this one wrong
Changed default upload size in test example via editing
server:maxFileSize with value 4073741821 and restarting it via
supervisorctl restart all
Which file should I change? I tried to add it on
default.json as folows :
and proceed to do all the steps, unfortunately this is as far as I can get :
I checked the log file
var/log/onlyoffice/documentserver/nginx.error.log, it does show an error albeit a little different than yours :
2020/11/23 03:45:51 [error] 5626#5626: *49 client intended to send too large body: 221587270 bytes, client: 192.168.1.201, server: , request: "POST /example/upload? HTTP/1.1", host: "192.168.1.204:1380", referrer: "http://192.168.1.204:1380/example/"
The error appeared before I try the steps though, after that no error logged on that file but I still get the error on browser. I checked the browser console when uploading too but nothing written there.