New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.4.2 conflicts on every edit #4243
Comments
|
Hello. I have the same problem. I hope it is resolved quickly, it is not comfortable to work with this error. Greetings. |
|
As a temporary solution I have installed the client version 3.4.0-RC1 (3.3.81) and it does not have this bug. All versions higher than this have the bug. Greetings. |
|
I can reproduce this, but only in a folder that is shared with other people. It might simply not happen on a file that is not shared? Steps were similar:
Debug archive created, accessible to the engineers: https://cloud.nextcloud.com/f/5575442 |
|
so this is a bug of bulk upload |
|
At this moment I can't send the debug file, but I confirm that it happens in shared and unshared folders. Greetings. |
|
I have a situation here as mentioned in: Went back to 3.3.6 in order to wait for the "storm"to pass. After seeing 3.4.2 available I was lured to update the client. |
|
I see that @jospoortvliet has posted a debug archive. Is there anything else you need from me as the original reporter? |
|
@ColinFinck that should be fine, thanks and sorry for the troubles |
|
Hello @mgallien, I could test the specific version you mention. If you want you can send it to me. Greetings. |
|
@ColinFinck @jospoortvliet @sagitariozod applying this pull request to my server v23 nextcloud/server#30999 is enough to fix the issue for me |
|
sorry for the delay analyzing this issue |
|
@mgallien I have just applied nextcloud/server#30999 to my Nextcloud 23.0.1 instance, but unfortunately it doesn't fix the problem for me. |
|
@ColinFinck I will need your logs |
|
I have replaced on server the file OC_Helper.php but the problem still persist. |
@sagitariozod I am not sure what you did but in any case I cannot dig further without logs of the desktop client |
|
@mgallien en teoría estaba aplicando el parche
@mgallien in theory I was applying the patch that you indicated, not if what I have done is correct. I'll send you the desktop client logs as soon as I can find time to sanitize them and remove sensitive information. Apologies for my English, I use the google translator. Greetings. |
I created a new user for that on my Nextcloud server and installed Nextcloud Desktop 3.4.2 on a Windows 10 machine that didn't have any exposure to Nextcloud before. I could again reproduce the problem. |
What I was trying to say is that I really need the logs because without them I am afraid I cannot fix the bug. no problem for the communication and please apologize any troubles I am also not an English native speaker |
|
@mgallien can you please confirm that https://gist.githubusercontent.com/ColinFinck/c0dca5d36bf83d5ae90558adf47c9f1f/raw/499c8269083e268ca35361290f84251afaa4f47b/nextcloud-desktop-4243-logs-redacted-combined.txt has enough information to debug this? |
|
I can report the same issue on linux as well, with the latest release |
|
I'm on 3.4.2 (openSUSE Tumbleweed) with NC 23.0.1 since today and the text files I edit often (local notes) are now having many conflicts. I'll try and provide logs as well. |
|
I can confirm I'm having the same issue and could reproduce the case in the issue description. My client hasn't been updated for two months so that probably can't be it. For me this started happening after upgrading server from 23.0.0 to 23.0.1 about two weeks ago. The folder I'm syncing into is not a shared folder. Server: 23.0.1 (Gentoo) with redis |
|
I have just updated from version 22.something to 23.0.1 and installed windows client for the first time. |
|
The patch in nextcloud/server#30999 does not fix this, this patch only seems to deal with shared storage. The bug happens on normal non-shared folders on a standard installation (nextcloud/docker image on a Debian host, recent macOS client). I hope I'll find the time to create debug logs on the weekend. |
|
With that latest information, this sounds more like a bug in Nextcloud Server 23.0.1 than the sync clients, and should be escalated to that team. @nickvergessen @PVince81 @skjnldsv Are you aware that latest Nextcloud 23.0.1 is apparently seriously broken with regard to basic file synchronization? |
I am working on this and I can reproduce it also with non shared folders |
as far as I can tell the returned etag from bulk upload post request is not the one stored in oc_filecache table |
|
Honestly, every client over 3.3.6 is extremely suspect. I'm glad I'm the only user on my Nextcloud - Nextcloud needs a setting to hard set what users can install, client-wise, so one can prevent third parties from upgrading to these busted variants. I'm not budging off 3.3.6 until these error posts stop flooding in for 3.4.0, 3.4.1 and now 3.4.2. Try downgrading the client, that may let you work with some peace of mind. |
If it's a bad etag from the server for file batching, not sure what a client can really do about it apart from completely avoiding that feature. |
|
if it's the bulk upload plugin, one can disable it by commenting out https://github.com/nextcloud/server/blob/v23.0.0/apps/dav/lib/Capabilities.php#L32 I'll test this on my instance |
|
(also need to restart the client perhaps) |
I have exact the same problem in multiple instances. This worked for me in my test instance. Since this only deactivates a feature, it is save to also implement the workaround in productive instances? |
@DominikWA yes. the bulk upload was a new feature to improve upload performance. when disabled it falls back to the old approach |
|
I can also confirm this has fixed the problem for me. |
|
Yes, disabling bulk upload on the server also fixes the problem for me. Thanks for the quick workaround! |
|
I confirm that disabling bulk upload on the server and restarting the clients fixes the problem. Thank you very much for this solution. |
That seems to work for me on the Client 3.4.2 and 3.4.1 on two different Windows Machines. Running NC on Docker in Version 23.0.1. But it does not look like this Bug does occur for Everybody, since this Thread is not very active for that kind of Error. |
Well, there's this issue flagged as accepted. I for one currently don't have enough time to debug much further and have a workaround (downgrading client to 3.3.6). So actually not much reason to spam 'me too'. But it's true, not everyone on my instance has problems even though i do. For what it's worth i'll try to provide some more info anyway: I have a huge tree of markdown files like: After moving notes/big/tree to notes/archive locally and syncing it without issues, i started seeing the described behavior when editing any file under notes/. |
|
23.0.2 has been released with bulk upload disabled by default, so the problem will disappear for everyone for now until the underlying issue is debugged and fixed |
|
For me NC 23.0.1 still worked with https://github.com/nextcloud/desktop/releases/tag/v3.4.0-rc2 and broke with 3.4.1. |
I was affected by #4016, and as a result of that, I've updated all clients on all machines to 3.4.2, updated the server from 22.0.0 -> 22.1.1 -> 22.2.3 -> 23.0.0 -> 23.0.1, and followed https://github.com/nextcloud/desktop/wiki/Fix-bug-invalid-modification-date to fix the invalid modification dates on the server.
Unfortunately, I'm now affected by an even more severe bug:
Steps to reproduce
Even worse, Nextcloud first overwrites my just edited version of the file by the server copy (which only contains "a"). My editor notices that and asks me whether to reload the file. If I hit "Yes", my latest edit is gone.
This is perfectly reproducible on two Windows 10.0.19044 systems (connected to the same Nextcloud account).
I'm using a traditional setup with a single Nextcloud folder that is locally synchronized (no virtual folders).
Expected behaviour
Nextcloud uploads the newly edited file without a notice, as it did for years.
Actual behaviour
Nextcloud replaces my edits with the last copy from the server and asks for conflict resolution, making work inside the Nextcloud folder impossible.
Client configuration
Client version: 3.4.2
Operating system: Windows 10 (10.0.19044)
OS language: German
Installation path of client: C:\Program Files\Nextcloud
Server configuration
Nextcloud version: 23.0.1
Storage backend (external storage): local
The text was updated successfully, but these errors were encountered: