Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unwanted download (2-way sync) drains battery and occupies drive on Android phone #13772

Closed
4 tasks done
Chatter35 opened this issue Oct 11, 2024 · 8 comments
Closed
4 tasks done

Comments

@Chatter35
Copy link

⚠️ Before posting ⚠️

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

Steps to reproduce

Stable version 3.30.1
Unwanted download (2-way sync) drains battery and occupies drive on Android phone. I have discovered this as my phone got hot while downloading files from my managed Nexcloud server. No way to toggle 2-way sync off in the APK. I have now deinstalled the app (and I am absolutely not amused).

Expected behaviour

I can control 2-way sync myself.

Actual behaviour

Stable version 3.30.1
Unwanted download (2-way sync) drains battery and occupies drive on Android phone. I have discovered this as my phone got hot while downloading files from my managed Nexcloud server. No way to toggle 2-way sync off in the APK. I have now deinstalled the app (and I am absolutely not amused).

Android version

14

Device brand and model

Google Pixel 8 Pro

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

Stable version 3.30.1

Nextcloud server version

28.0.10

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

No response

Additional information

GrapheneOS

@Chatter35
Copy link
Author

Meanwhile App deinstalled and installed again. 2-way-sync has stopped.
However, Settings - Internal 2-Way-Sync: No internal folders can be selected.

@alxrdn
Copy link

alxrdn commented Oct 12, 2024

Same here.
Somehow the app started sending sync or auto-upload notifications infinitely.
I also noticed it because the smartphone became so hot !
I rebooted the phone, it started back again.
I had to uninstall this release and I reinstalled the previous 3.30.0, back to normal.
Complete fuss generated, lots of empty files created on the phone, I had to manually clean all the mess.
No fun

Server Nextcloud 29.0.8
Device Google Pixel 8A
Android version 15

@kaibagley
Copy link

I also had the same thing happen. Updated Nextcloud, GrapheneOS update today and NC started syncing stuff rapidly automatically. I don't want to keep any of my NC data on my phone, and the only way to prevent it was to uninstall NC. Where does the NC app download the files to? I can't find them on my phone, which may mean that they were removed when I uninstalled, but I'm not sure.

@spiritualcrab
Copy link

I maybe wrong, but all of this reported error is on GrapheneOS. Not sure if regular Android also has the same issue?

I too have the same issues.

Server Nextcloud: 29.0.7
Device: Google Pixel 6a
GrapheneOS

@alxrdn
Copy link

alxrdn commented Oct 14, 2024

I maybe wrong, but all of this reported error is on GrapheneOS. Not sure if regular Android also has the same issue?

I too have the same issues.

Server Nextcloud: 29.0.7
Device: Google Pixel 6a
GrapheneOS

Hello
Yes you are wrong: I'm running vanilla Google Android 15.

@RITFW
Copy link

RITFW commented Oct 14, 2024

I can confirm the behaviour after updating to the latest version. Randomly, the app started syncing everything to the device after I used the app for the first time after the update.

What I already tried:

  • To cancel the sync in the UI (Folder -> details -> uncheck sync) seems to have no affect.
  • When I try to change the settings in settings -> Internal two way sync I can only see a folder list, but can't change anything.
  • After the sync was complete, i've deleted all local files, but it did a full sync again.
  • Workaround that worked: Cleaning the cache and storage of the app and setting everything back up again seems to solve the problem. Like @Chatter35 reported Settings - Internal 2-Way-Sync: No internal folders can be selected.

App

  • F-Droid build
  • com.nextcloud.client, versionCode 30300151

Device

  • Pixel 6a with GrapheneOS 2024101200, (Google Play services, Google Play Store not installed)

Server

  • Nextcloud Hub 6 (27.1.11)

Beside Nextcloud I have Nextcloud Notes installed

  • F-Droid build
  • it.niedermann.owncloud.notes, versionCode 40030190

The behaviour is kind of annoying as it empties the battery and fills the device storage.

Please note: I basically have to experience when it comes to bug reports. In case I can provide you with more information or do anything else, please let me know. Thanks a lot for all your hard work and great infrastructure.

@RITFW
Copy link

RITFW commented Oct 15, 2024

I also had the same thing happen. Updated Nextcloud, GrapheneOS update today and NC started syncing stuff rapidly automatically. I don't want to keep any of my NC data on my phone, and the only way to prevent it was to uninstall NC. Where does the NC app download the files to? I can't find them on my phone, which may mean that they were removed when I uninstalled, but I'm not sure.

I found the synced data at /storage/emulated/0/Android/media/com.nextcloud.client

@joshtrichards
Copy link
Member

Duplicate of #13738

@joshtrichards joshtrichards marked this as a duplicate of #13738 Oct 15, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

6 participants