nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.16k stars 1.75k forks source link

Cannot get rid of file upload conflict notification #7905

Open jdaviescoates opened 3 years ago

jdaviescoates commented 3 years ago

Steps to reproduce

  1. Get a notification like this

Screenshot_20210128-155456

  1. Click it and end up at a dialog like this:

Screenshot_20210128-120617

  1. Whatever I do (choose original file, choose the new file, or cancel) doesn't make any difference, within a minutes or so (or even less) I get the exact same notification about the exact same conflict again. Again, and again, and again

Expected behaviour

Actual behaviour

Environment data

Android version:

8.1.0

Device model:

Wileyfox Swift 2 Plus

Stock or customized system:

Stock

Nextcloud app version:

3.14.3

Nextcloud server version:

20.0.6

Reverse proxy:

?

Knusper commented 2 years ago

I get the same error now on Android 11 Go. I get the error on a file that does not even exist on the remote server - and the notification basically pops up 20 times a minute. Trying to open the dialogue I get "Error opening conflict dialogue". To me this looks like a race condition...

On Wed, 22 Jun 2022, 11:35 djripcord, @.***> wrote:

Leaving a comment to say that this issue is also happening to me and I am running a Samsung Galaxy Note 9 and Nextcloud android version 3.20.3. Using Nextcloud server 24.0.1. At this moment, it is even impossible to choose what to do with the notifications since I am getting a "Error creating conflict dialog!" message.

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/android/issues/7905#issuecomment-1163271034, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD4RFRELLB5NICRWO6NT4TVQMXEFANCNFSM4WXK33JA . You are receiving this because you commented.Message ID: @.***>

Knusper commented 2 years ago

What is even worse, I set the option "overwrite remote version" - so I should not get this dialogue at all?

Basically I am getting a conflict warning for every file that does not even exist on my server in the first place. This renders the backup function now completely unusable to me.

Happy to help and to provide additional information.

bnavigator commented 2 years ago

@Knuser, @djripcord I got the same for new files.

You can get rid of the repeated conflict messages by removing the failed upload task in the App: left menu "Uploads" and them remove the failed uploads. But what we actually want is a successful upload, eh?

Removing the 404 redirection as suggested in #10423 did fix it for me.

Knusper commented 2 years ago

OK - this fixed it for me.

gjedeer commented 2 years ago

Maybe the app could check if remote and local checksums match, before bothering user? More work for phone is better than more work for user.

I too get these notifications all the time and learned to live with them.

joelbrock commented 2 years ago

Same issue here. Android 13 Nextcloud app 3.21.1 NextCloud Hub II 23.0.3

My twist is the conflicts seem to appear only for images that I've EDITED locally. Usually in Google Photos on the phone. These create upload conflicts which will return day after day.

tinwasp commented 1 year ago

After changing my phone to a Pixel 7 Pro (running GrapheneOS) I have suddenly been getting pounded with upload conflicts as well over the last few months. Never been a problem before in this way. What I noticed, though, is that the checksums of the uploaded files are all off. They open and look ok, the size is the same as well, but the checksum is consistently different, affecting all, i.e. thousands of files. Wonder if something gets messed up here in the upload process.

Edit: Nevermind. Upon further inspection I realized, the only difference between the two files is the missing GPS info, as detailed in https://github.com/nextcloud/android/issues/6248, which has a workaround (https://github.com/nextcloud/android/issues/6248#issuecomment-1207315271). After fixing that, everything syncs fine again. Please excuse the noise.

dodancs commented 1 year ago

Nextcloud app 3.26.0 RC1 (beta) Nextcloud server 26.0.3 Android 13 Oneplus 8 Pro (Oxygen OS 13.1)

I have the same issue on Nextcloud v3.26.0 RC1, Android 13, after I make some new photos and Nextcloud decides to upload them, after a while I get the conflicting file notifications. This also happens for photos I took many months ago, and then the notifications stack up as I make more and more photos and then the Instant upload is very slow to add new photos, because there is a backlog of thousands of notifications in the app to resolve conflicts (which are the exact same files on phone vs. server). Screenshot_2023-09-02-22-56-39-07_06ea656a9ba653ff96746f477f32d0f9

Screenshot_2023-09-02-23-13-11-15_06ea656a9ba653ff96746f477f32d0f9

Dante1349 commented 11 months ago

also with this issue right now, if anyone could help i'd be glad

noyez commented 11 months ago

I have not seen this error for quite sometime, but the latest update to Android v3.26.0 today brought back this error. When i tap on the "File Upload conflict" notification, i get the "error creating conflict dialog".

Dulanic commented 11 months ago

It happens quite often after updates etc... I finally gave up on this app and switched to something else because it was always problems. Try a webdav app instead.

luisfcorreia commented 11 months ago

This also happened to me recently, got a huge number of notifications that I can't fix.

Nextcloud Android - 3.26.0 Oneplus 8T - Android 13 Server - 27.1.0

UllisHellfireeXperiments commented 11 months ago

Same issue here, coinciding with the update to Android App 3.26.0. As someone said above the conflict affects random pictures mostly taken months ago. The issue affects all users (various smartphone brands, various Android versions) who use the auto upload feature, mainly for pictures.

Server: Nextcloud 27.0, meanwhile updated to 27.1

prechberger commented 11 months ago

I also have the same problem, I disabled the auto upload function but the notification still appears. I also updated the Nextcloud server from 26 to 27.1, maybe there is a connection with the Nextcloud version and the logging? I don't have this problem on the IOS system, only on the Android version of the Nextcloud client app.

stratus-ss commented 11 months ago

sadly this started to recur after going away for a while

T-Mike commented 10 months ago

I also have the same problem, I disabled the auto upload function but the notification still appears. I also updated the Nextcloud server from 26 to 27.1, maybe there is a connection with the Nextcloud version and the logging? I don't have this problem on the IOS system, only on the Android version of the Nextcloud client app.

Exactly the same thing happens to me, it is very annoying because I have to force quit the app to stop these notifications.

Glasairmell commented 10 months ago

I am getting the file the conflict error on my pixel 8pro. Smaller jpg files make it to the server with conflict, however larger RAW files do not. The server I want to use is located in Germany and is producing this issue. The one in Nederland is not and working perfectly. That tells me it is not my cell phone Nextcloud install.

One could say it is a server issue. I can only guess at that though. Perhaps packets are moving much slower on one then the other or some kind of timestamp issue.

Perhaps the problem is with server set up or speed.

Cheers!

Glasairmell commented 10 months ago

Well nix the separate server ideal. Now BOTH of my servers have the file conflict issue. At this point I can find no solution to resolve this. I do not want to go back to OneDrive to sync my photos.

Fruchuxs commented 10 months ago

Same Problem, no possibility to kill all messages or to stop the uploads. Without a fix, the app is useless - sorry.

hfr-hfr commented 10 months ago

...did you try the manual fix as described in #10423 or here or here? It seems to work for many.

Apflkuacha commented 10 months ago

I've got two phones here running on different NC accounts - both show hundreds of these conflicts where the server and phone files are equal and have to be clicked one by one..

please fix such (several year old) bugs before implementing new features - more people leave NC because of such annoyances than you get from new fancy (but not necessary) features

svenb1234 commented 9 months ago

Maybe related: https://github.com/nextcloud/android/issues/11974

MafiaInc commented 9 months ago

I got the same notification which is bothering me since there days now. In my case I tried to upload a file from my Android phone via Nextcloud app from F-droid in directory where I forgot its read only for Nextcloud. Later I uploaded this file from a different place in the same directory, because my Nextcloud instance is configures to automatically scan the tree for new files in the file system it appears to find this file and shows it in the interface. Since then I can get rid of this notification. This was a temporary file anyway. I will try to remove it hoping this will remove that notification.

MafiaInc commented 9 months ago

After I deleted the file from the read only directory. I am now flooded with notifications of type : "You are not permitted to upload to this folder". Attaching screenshot: c462b41e-ef30-4cbf-b569-361459337a45

joshtrichards commented 9 months ago

@MafiaInc Check your Uploads tab in the app for the problematic file. It sounds like it's still in the queue so the app keeps re-attempting. You can remove it from the queue there.