I managed to do this now, I hope it helps other people too. Here is what I put:
INSERT INTO oc_appconfig
( appid
, configkey
, configvalue
) VALUES (‘files’, ‘max_chunk_size’, ‘524288000’);
But I must say that it didn’t work and the error still occurs, even after server reboot