nextcloud / android

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

Generating thousands of conflict notifications each day #8591

Open vKnmnn opened 3 years ago

vKnmnn commented 3 years ago

Steps to reproduce

Expected behaviour

Actual behaviour

Environment data

Android version: 10

Device model: Xiaomi Mi9

Stock or customized system:

Nextcloud app version: 3.16.0

Nextcloud server version: 20.0.8

Reverse proxy: nginx

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

tobiasKaminsky commented 3 years ago
* the underlying issue is the inability to display the conflict dialogues for files

What does happen there?

Can you provide us additional infos via logcat? https://github.com/nextcloud/android/blob/master/README.md#getting-debug-info-via-logcat

vKnmnn commented 3 years ago

i think it’s the same stuff happening as in #7000 . sadly (or less so) i resolved my conflicts now, so i'm not able to provide a logcat.

github-actions[bot] commented 3 years ago

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

ffflorian commented 3 years ago

I am experiencing the same problem. Clicking on the notification opens the nextCloud app but not the duplicate file dialog.

Screenshot

github-actions[bot] commented 3 years ago

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

ffflorian commented 2 years ago

This issue is not fixed. Please reopen.

bllngr commented 2 years ago

I keep having the same issue on (at least) 3.20. I noticed that if I try to open one of the notifications, a toast message "Error creating conflict dialog" appears.

Screenshot_20220608-070504_Boost Screenshot_20220608-070445_Boost

@tobiasKaminsky, since the issue has been confirmed by multiple people, could you tell the bot to not close it? I will try to get a logcat log the next time it appears. But I suspect it might have something to do with the server not being accessible due to network issues or so.

tobiasKaminsky commented 2 years ago

Working steps to reproduce are really needed here. 🤞🤞🤞 that you can narrow them down

bllngr commented 2 years ago

@tobiasKaminsky, I don't know whether it's reproducible everywhere, but for me it always happens in this scenario:

  1. Make sure auto upload is enabled for photos and screenshots
  2. Take a photo or screenshot
  3. Immediately edit the photo/screenshot (crop it, apply filters or so). On my device, I can do that from the notification.
  4. Save the edited picture.
  5. Observe a conflict notification being generated, and a second, third, fourth ... around every three to six minutes.

Edit: I've also extracted a logcat after a reboot, with around five or six messages being created within 80 minutes: nextcloud-android#8591-logcat-output.txt

bllngr commented 2 years ago

@tobiasKaminsky have you been able to narrow it down? The NC app is is still generating masses of notifications everytime I edit a freshly taken picture or screenshot. Is there anything else you need?

tobiasKaminsky commented 2 years ago

Can you show us your auto upload settings? I assume that you do not have "overwrite" enabled as conflict resolution?

bllngr commented 2 years ago

Yes, "Ask me every time" is selected for conflict resolution.

Screenshot_20220823-091225_Nextcloud