android icon indicating copy to clipboard operation
android copied to clipboard

Excessive file upload conflicts after update to 3.26.0 (not before)

Open istoppedcaringat30 opened this issue 3 years ago • 246 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar issues and didn't find a duplicate.
  • [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [X] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Opening android gallery to view pictures triggers the alert.

Take a picture triggers the alert.

Opening nextcloud app triggers alert.

Expected behaviour

Nextcloud wouldn't try to upload existing files.

Actual behaviour

Nectcloud is trying to re-upload some if not all of the pictures on my phone. I'll get 25 alerts at a time. The pictures exist in both phone and nextcloud already.

Android version

13

Device brand and model

Samsung Galaxy S23

Stock or custom OS?

Stock

Nextcloud android app version

3.26.0

Nextcloud server version

27.02

Using a reverse proxy?

Yes

Android logs

No response

Server error logs

No response

Additional information

No response

istoppedcaringat30 avatar Sep 17 '23 14:09 istoppedcaringat30

Same here on three (Android) phones that just upgraded the client app.

lckarssen avatar Sep 17 '23 14:09 lckarssen

Started receiving this behavior last night (I'm guessing am automated update). I suddenly began to get hundreds of upload conflicts from photos that were backed up months ago.

I can't dismiss notifications because as soon as I do, another 24 are generated.

Samsung galaxy s23 ultra Client version: 3.26.0

rclough avatar Sep 17 '23 17:09 rclough

I think the app settings got messed up after the update. I had to change this setting "What to do if the file already exists" back to skip uploading.

It didn't seem to help.

I uninstalled and reinstalled the app. Then set up the auto upload settings again. "What to do if file already exists? Skip uploading "Uploading existing files" Uncheck

So far it seems to be fixed.

istoppedcaringat30 avatar Sep 17 '23 18:09 istoppedcaringat30

Tried to take a look at the release to figure out what might have went wrong. Unfortunately the release notes appear to be poor/insufficient - even the ones on the app store is only a small fraction of what was put in the release

Looking through the closed milestone issues: https://github.com/nextcloud/android/milestone/84?closed=1

It seems there was some kind of change to auto upload to add support for other subfolder/dates or something. This seems to me to be the most likely to have cause an accidental regression in sync functionality. #11642 and #11852, tagging the author in case @dean36963 and approving reviewer @AndyScherzinger

Note: I am not a nextcloud developer, contributor, or even an android dev. Just trying to help move this issue along.

rclough avatar Sep 17 '23 18:09 rclough

Yep I'm stuck with this also, a few thousand files all from my instant upload folder became conflicted. Following this, if theres any info needed then happy to share

stevietv avatar Sep 17 '23 21:09 stevietv

Seeing the issue here as well...my solution for now was to turn off notifications w/in NextCloud in the hopes that a future (soon) release will correct the behavior.

w9hdg avatar Sep 17 '23 22:09 w9hdg

I'm getting multiple of these alerts too; but strangely all for one file uploaded over a week ago, one of a batch of 20 or so. All the alerts refer to this one file though. Odd.

If I click the alert, I get "Error creating conflict dialogue!" pop up over the files screen.

andrewmcguinness avatar Sep 18 '23 10:09 andrewmcguinness

Same issue here, the Android App floods my push messages with file upload conflicts

Schmidtjanroman avatar Sep 18 '23 10:09 Schmidtjanroman

Same issue here as well. This has happened before in the past. Unacceptable update, where are the Dev's with communication?

Wizzkidy avatar Sep 18 '23 13:09 Wizzkidy

just confirming I've got the same error too: nextcloud android app - 3.26.0 nextcloud server (via helm chart) - 27.0.2 reverse proxy - nginx ingress controller latest

k0eff avatar Sep 18 '23 14:09 k0eff

Same on Pixel7 with nextcloud android app - 3.26.0 and NC 27.0.2 with php8.1 and Apache Webserver. Get lot of conflicts that aren't there. I agree with you @Wizzkidy

stoamandl avatar Sep 19 '23 03:09 stoamandl

Same for me, some screenshots below.

All seem to be stuck between February(more than 1 day, I've seen 2 so far) 2023 and whatever the original date (to the right- server version) should be.

Screenshot_2023-09-19-21-58-57-93_06ea656a9ba653ff96746f477f32d0f9

Screenshot_2023-09-19-21-58-48-91_06ea656a9ba653ff96746f477f32d0f9

navennn avatar Sep 19 '23 20:09 navennn

Same here. Downgraded to 3.25.0 for now.

marukuru avatar Sep 19 '23 20:09 marukuru

Sorry if I'm being annoying, but with no developer acknowledgement that the current "stable" release is broken for a growing number of users, I'm tagging in the remaining approving reviewers of the likely problematic PR: @marcoambrosini @jancborchardt @tobiasKaminsky

The bug/regression of repeatedly finding upload conflicts is not only very frustrating, it seems nextcloud has bumped up to my top 3 battery draining apps, whereas before it was negligible.

rclough avatar Sep 20 '23 19:09 rclough

I've reached the point of removing the Android app from my phone & tablet.

I've copied all my files off my server.

I'll get back to NextCloud when I hear it's functional again.

cdntinker avatar Sep 21 '23 00:09 cdntinker

The bug/regression of repeatedly finding upload conflicts is not only very frustrating, it seems nextcloud has bumped up to my top 3 battery draining apps, whereas before it was negligible.

@rclough I noticed the same. I have opened #11983 for this specific problem. Not sure it is related.

lckarssen avatar Sep 21 '23 11:09 lckarssen

I have to confirm that the upload behaviour of 3.26.0 is related to enormous battery drain.

Screenshot_20230921-161716

Schmidtjanroman avatar Sep 21 '23 14:09 Schmidtjanroman

I noticed that I get also notifications for failed uploads on folder were I adjust upload only with wi-fi when I am outside of wi-fi. That makes no sense.

stoamandl avatar Sep 22 '23 12:09 stoamandl

Is anyone actually going to look at this issue? If not I am going to remove this from my infrastructure and go elsewhere.

Wizzkidy avatar Sep 22 '23 13:09 Wizzkidy

Seeing the same issue on my phone with the update to 3.26.0 as well. While I don't see an increase of battery drainage on my device (Samsung Galaxy S20 FE 5G), I find it very odd that I can't even resolve these conflicts. If I select to keep the server version, the same file will show up as a conflicting file upon the next check cycle of the Nextcloud app. Even more strange is the date Nextcloud reads from the file. Android itself reports the correct date.

Screenshot_20230922_171727_Nextcloud Screenshot_20230922_172008_Gallery

The screenshot of @navennn shows a date / time discrepancy as well between local (android) and the server file, although not as dramatic as on my device. Is Nextcloud comparing last changed and file size to detect changes?

tryallthethings avatar Sep 22 '23 15:09 tryallthethings