Issue with uploading any file over 10 MB with Desktop App

Hi,
I have seen this raised somewhere earlier but have not been able to find that topic. The reason I am creating a new post is since the solution provided there was not really a solution.

These failures started only post upgrading to Nextcloud 12. Even with the latest Nextcloud version it has not been resolved. The weird part is that the failure occurs only when uploading through the desktop client. If I perform the same action by dragging the same file into the browser the upload takes place seamlessly and the file is within minutes visible in my local machine too.

Nextcloud version: Nextcloud 12.0.3
Operating system and version: Windows 10 Pro v1709
Apache Version 2.2.34
PHP Version 5.4.44
Is this the first time you’ve seen this error?: No

Can you reliably replicate it? (If so, please outline steps):
Add any 10+ MB file to my nextcloud folder on my local machine. It syncs for some time and then fails.

The issue you are facing:
Client Log->
2017-11-30 12:18:27, _Saves/MLO Tasks.ml.bak, T:\schizovivekcloud,The item is not synced because of previous errors: Error transferring http://schizovivek.in/schizovivekcloud/remote.php/dav/files/schizovivek/_Saves/MLO Tasks.ml.bak - server replied: Not Acceptable
2017-11-30 12:18:27,_Saves/Configurations/MusicBee/MyMusic/MusicBeeLibrarySettings.bak, T:\schizovivekcloud,The item is not synced because of previous errors: Error transferring
2017-11-30 12:18:27, _Saves/Configurations/MusicBee/MyMusic/MusicBeeLibrary.bak, T:\schizovivekcloud,The item is not synced because of previous errors: Error transferring http://.in/schizovivekcloud/remote.php/dav/files/schizovivek/_Saves/Configurations/MusicBee/MyMusic/MusicBeeLibrary.bak - server replied: Not Acceptable
2017-11-30 12:18:27, _Saves/Configurations/MusicBee/AppData/MusicBee3Settings.bak, T:\schizovivekcloud,The item is not synced because of previous errors: Error transferring http://
.in/schizovivekcloud/remote.php/dav/files/schizovivek/_Saves/Configurations/MusicBee/AppData/MusicBee3Settings.bak - server replied: Not Acceptable
2017-11-30 12:18:27, WSAppBak.rar, T:\schizovivekcloud,The item is not synced because of previous errors: Error transferring
2017-11-30 12:18:27,Share/South trip/Day4 - Sep 19 - Kozhikode to Beypore to Thrissur/20170919_093452_Pano.jpg, T:\schizovivekcloud,The item is not synced because of previous errors: Error transferring

The output of your Nextcloud log in Admin > Logging:
Error internet_connection_check GuzzleHttp\Exception\RequestException: cURL error 18: transfer closed with 26773 bytes remaining to read 2017-11-30T12:09:56+0530

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

  • Not sure how to get this

The output of your Apache/nginx/system log in /var/log/____:

  • Not sure how to get this

For the server, Windows is not supported. Also php 5.4 is not supported, you need at least 5.6.

Can you upload large files via browser?

What changes with large files is that the client splits these files into chunks, they are uploaded separately. Perhaps the server has some problems with its temp-folder (where the chunks are saved). Monitor the server logfile for errors.

I’m able to upload any file size when doing it directly via the browser. The issue occurs only when doing it via the client.
Also the server is hosted externally and not on my local. The server is a linux based server and not Windows. The client is running on Windows 10.

Would setting PHP version to 5.6 help?

Normally it shouldn’t run with php 5.4, so it is possible that you already run a newer version.

The server logfiles would probably the most interesting thing at the moment. This is the nextcloud.log in the data-folder and the logfile of your webserver (e.g. /var/log/nginx or /var/log/apache or /var/log/http(d)). It depends a bit on the distribution you are using.

I’ll have a look at the version. In the meanwhile I’m attaching the server log from the hosting folder.
https://drive.google.com/file/d/1df-FAWzT9kjjtte-rKmLLc18PDChBR59/view?usp=sharing

This other post could be helpful for those who are running v. 13
It solved my problem