Error when assembling chunks status code 504/UnRaid Docker using MariaDB

When attempting to upload rather large files to Nextcloud via my website I’m getting the 504 error. I know I need to edit some files to make this work correctly I just am not sure which ones and what exactly needs editing.

Any help would be greatly appreciated.

it’s always good to consult official docs Uploading big files > 512MB — Nextcloud latest Administration Manual latest documentation and use search