"Error while copying file to target location (copied bytes: 0, expected filesize: 10485760"

Hello! I’m still very new to NextCloud but I’m currently running into an issue where if I try to transfer a file bigger than 0.5 GB will result in a failure or it won’t. It’s very inconsistent. However bigger files like 4 GB will ALWAYS fail.

https://pastebin.com/Ekm2btWM First log
https://pastebin.com/HCD7ZCm4 Second log
https://pastebin.com/rBCTpEir Third log

Some or all of the below information will be requested if it isn't supplied; for fastest response please provide as much as you can :heart:


Nextcloud version _18.0.1_:
Operating system and version _Ubuntu Server 18.04.4 LTS_:
Apache or nginx version _Apache 2.4.29_: 
PHP version _7.4_:

This happens everytime for sure when I try transferring a 4 GB file, it'll go normally and then fail at the end or mid-way through, anything higher than 0.5 GB is hit or miss.

Steps to replicate it:

1. Attempt to transfer 0.5 GB+ file
2. Errors out

Still persists if anyone could help?