Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/
Steps to reproduce
1. Upload from UI large file (3.5GB)
2. Wait it gets fully uploaded
3. File is uploading in my set external drive tmp directory
4. Get the error
Expected behaviour
File should be uploaded in his directory
Actual behaviour
File uploads until 100% in /home/cloud/tmp (mount point of an external drive), than when it should be moved to the directory where I decided to upload I get the error 3: Gateway Time-Out
Server configuration
Operating system: Raspbian jessie kernel: 4.4.38-v7+
Web server: Nginx
Database: MariaDB
PHP version: 5.6.29
ownCloud version (see ownCloud admin page): 9.1.3.1
Updated from an older ownCloud or fresh install: fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): external storage on RAID 1 using mdadm
ownCloud log (data/owncloud.log)
Error files Upload error: 3 - The uploaded file was only partially uploaded
Integrity status for oC9+
No errors have been found.