You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the latest Nextcloud app from F-Droid (20220421), I recently (probably since I use android 12 but it might be unrelated) get a lot of conflict notifications where either the local file is 0 bytes (mostly from seedvault, I don't think this should happen) and from images where the local and server image are identical. This is really annoying as there isn't even a way to say that all conflicts should be resolved by taking the server version e.g.. When you have 50 conflicts, that's a lot of work.
So I'm filing that as a bug report, as I think that this behaviour is not intended to be this way, I hope it can be fixed.
Thanks in advance!
Alex
Reacted by A. Binzxxxxxx, Odd Stråbø, Łukasz Żarnowiecki, Peter, Herman van Rink and Narwhal
I also think this is a Bug. I activated auto upload and now the app creates a lot of notifications about conflicts. After 24 notification it stops uploading. I think the conflict are generated because some upload tasks crashed. After resolving some conflicts it starts uploading again, but stops shortly after. The more conflicts need to be resolved. The option to auto-resolve the conflicts seems not to work.
So I'm filing that as a bug report, as I think that this behaviour is not intended to be this way
Unfortunately that's now how bug reports work. This is clearly asking for an enhancement on conflict handling.
Part of the reason why I filed it as a bug was that this didn't happen before. I used to not have to worry about conflicts at all. But it the last two weeks, I have had this issue every couple of days.
It is very clearly a bug when a conflict is raised when the local and server file are identical. This is not a conflict, it's simply a duplicate that should be ignored. I.e. it's a sync NOOP.
@alexmo1997 are you still seeing this issue? If so, please either close it and open a bug report, or add the required fields from that link into this issue.
p.s: I originally didn't understand your report correctly and the title was misleading, hence I misclassified it as an enhancement. sorry about that.
That's hard to say. It didn't happen very recently but even before, this didn't really happen regularly and was rather unpredictable.
Was there any change to the conflict resolution logic or something related that might have fixed this issue?
I can say my current Nextcloud app version is 20221001 on f-droid (and the original app version was 20220421) and I have to ask where I can see my nextcloud server version (I'm not hosting it myself), but I think it has an apache reverse proxy
My phone is a Pixel 4 with GrapheneOS, but it also happened to a friend of mine on stock android (Pixel 5 I think).
I am seeing duplicate notifications both for upload failed (also does not clear when the upload is successfully completed after retries), and upload conflicts (presumably from when the file upload/move into place completed, but the app wasn't notified)
Version 3.21.2 on Fairphone 4
Seems to happen more often when switching networks (4G - WiFi), or on spotty WiFi (moving out of coverage)
I most definitely continually see conflicts being raised when identical files are on the server and local.
To be clear, this is not a case of nextcloud trying to re-upload previously uploaded files from the same device but a case where the remote file already exists, maybe because it was uploaded from a different device at a different time. But this really still should not cause a conflict to be raised for an identical file on the server and locally.
I tested a narrower end-to-end encrypted case while working on #18028. With two copies of the same file, an upload to an encrypted destination can be reported as a conflict even when the file contents match. The integrated QA fix on Android 17 with Server 35.0.2 was able to skip the identical upload after comparing the authenticated file contents.
For this case, the acceptance criterion is to complete an identical upload without prompting the user or replacing the remote file. Same-name files that differ, and files whose contents cannot be verified, should still follow the existing conflict flow. This is separate from displaying a thumbnail in an actual conflict, as discussed in #17242.
Activity
AlvaroBrey commentedon May 9, 2022
Unfortunately that's now how bug reports work. This is clearly asking for an enhancement on conflict handling.
gampam2000 commentedon May 10, 2022
I also think this is a Bug. I activated auto upload and now the app creates a lot of notifications about conflicts. After 24 notification it stops uploading. I think the conflict are generated because some upload tasks crashed. After resolving some conflicts it starts uploading again, but stops shortly after. The more conflicts need to be resolved. The option to auto-resolve the conflicts seems not to work.
alexmo1997 commentedon May 10, 2022
Part of the reason why I filed it as a bug was that this didn't happen before. I used to not have to worry about conflicts at all. But it the last two weeks, I have had this issue every couple of days.
brianjmurrell commentedon Oct 7, 2022
It is very clearly a bug when a conflict is raised when the local and server file are identical. This is not a conflict, it's simply a duplicate that should be ignored. I.e. it's a sync NOOP.
AlvaroBrey commentedon Oct 7, 2022
@alexmo1997 are you still seeing this issue? If so, please either close it and open a bug report, or add the required fields from that link into this issue.
p.s: I originally didn't understand your report correctly and the title was misleading, hence I misclassified it as an enhancement. sorry about that.
[-]handle conflicts in a better way[/-][+]Conflicts for identical files[/+]alexmo1997 commentedon Oct 8, 2022
That's hard to say. It didn't happen very recently but even before, this didn't really happen regularly and was rather unpredictable.
Was there any change to the conflict resolution logic or something related that might have fixed this issue?
I can say my current Nextcloud app version is 20221001 on f-droid (and the original app version was 20220421) and I have to ask where I can see my nextcloud server version (I'm not hosting it myself), but I think it has an apache reverse proxy
My phone is a Pixel 4 with GrapheneOS, but it also happened to a friend of mine on stock android (Pixel 5 I think).
oddstr13 commentedon Oct 13, 2022
I am seeing duplicate notifications both for upload failed (also does not clear when the upload is successfully completed after retries), and upload conflicts (presumably from when the file upload/move into place completed, but the app wasn't notified)
Version 3.21.2 on Fairphone 4
Seems to happen more often when switching networks (4G - WiFi), or on spotty WiFi (moving out of coverage)
brianjmurrell commentedon Oct 14, 2022
I most definitely continually see conflicts being raised when identical files are on the server and local.
To be clear, this is not a case of nextcloud trying to re-upload previously uploaded files from the same device but a case where the remote file already exists, maybe because it was uploaded from a different device at a different time. But this really still should not cause a conflict to be raised for an identical file on the server and locally.
Heistergand commentedon Oct 19, 2023
This might be a duplicate of issue #11974
ptandler commentedon Nov 9, 2023
#11974 talks about an issue in 3.26.0, this one here happened also on earlier versions.
I think it would be very helpful if the server sends some hash the client can use to compare if both files are identical.
Nrwh1 commentedon Oct 12, 2026
Still having this issue to this day. Drives me crazy.
xO-ox-ai commentedon Nov 26, 2026
I tested a narrower end-to-end encrypted case while working on #18028. With two copies of the same file, an upload to an encrypted destination can be reported as a conflict even when the file contents match. The integrated QA fix on Android 17 with Server 35.0.2 was able to skip the identical upload after comparing the authenticated file contents.
For this case, the acceptance criterion is to complete an identical upload without prompting the user or replacing the remote file. Same-name files that differ, and files whose contents cannot be verified, should still follow the existing conflict flow. This is separate from displaying a thumbnail in an actual conflict, as discussed in #17242.