I have been experiencing this issue in 2.5.2 and earlier: https://github.com/owncloud/core/issues/33119
Could I suggest you backport the fix ?
https://github.com/owncloud/client/pull/6834
Thanks
This happens for me after upgrading the client to _2.6.0stable-Win64 (build 20190927)_ and upgrading server to _16.0.5_. Only happens with files larger than 10MB, which require being uploaded in chunks.
Most likely related to https://github.com/nextcloud/desktop/issues/1171
nginx logs:
172.22.0.3 - dvdgsng [16/Oct/2019:18:41:26 +0200] "PUT /remote.php/dav/uploads/dvdgsng/956637671/00000009 HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.6.0stable-Win64 (build 20190927) (Nextcloud)"
172.22.0.3 - dvdgsng [16/Oct/2019:18:41:28 +0200] "PUT /remote.php/dav/uploads/dvdgsng/956637671/00000010 HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.6.0stable-Win64 (build 20190927) (Nextcloud)"
172.22.0.3 - dvdgsng [16/Oct/2019:18:41:29 +0200] "MOVE /remote.php/dav/uploads/dvdgsng/956637671/.file HTTP/1.1" 403 5 "-" "Mozilla/5.0 (Windows) mirall/2.6.0stable-Win64 (build 20190927) (Nextcloud)"
update:
can confirm that uploading of big files with owncloud client version _2.5.4 (build 11415)_ works:
172.22.0.3 - dvdgsng [16/Oct/2019:19:22:04 +0200] "MKCOL /remote.php/dav/uploads/dvdgsng/690453980 HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.5.4 (build 11415)"
172.22.0.3 - dvdgsng [16/Oct/2019:19:22:05 +0200] "PUT /remote.php/dav/uploads/dvdgsng/690453980/00000000 HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.5.4 (build 11415)"
172.22.0.3 - dvdgsng [16/Oct/2019:19:22:12 +0200] "PUT /remote.php/dav/uploads/dvdgsng/690453980/00000001 HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.5.4 (build 11415)"
172.22.0.3 - dvdgsng [16/Oct/2019:19:22:13 +0200] "PUT /remote.php/dav/uploads/dvdgsng/690453980/00000002 HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.5.4 (build 11415)"
172.22.0.3 - dvdgsng [16/Oct/2019:19:22:15 +0200] "MOVE /remote.php/dav/uploads/dvdgsng/690453980/.file HTTP/1.1" 201 0 "-" "Mozilla/5.0 (Windows) mirall/2.5.4 (build 11415)"
Hi,
I got the very same error on my Nextcloud installation and although in my case it has not been related to a bug in Nextcloud, I'm leaving a note just in case someone with the same issue arrives here looking for a piece of advice (as I did).
I had the webserver (Nginx) configured to block access to hidden files and since the MOVE requests operate on a hidden file, they had been blocked. As simple as that, but took me hours to figure it out...
Apologies for creating noise here, but...
@chesio That was it! I had a config that blocked hidden files and I was so frustrated after hours of debugging! Thank you so much for having it recorded here! :) After dozens of pages I found this!
Most helpful comment
Hi,
I got the very same error on my Nextcloud installation and although in my case it has not been related to a bug in Nextcloud, I'm leaving a note just in case someone with the same issue arrives here looking for a piece of advice (as I did).
I had the webserver (Nginx) configured to block access to hidden files and since the MOVE requests operate on a hidden file, they had been blocked. As simple as that, but took me hours to figure it out...