-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unwanted syncing of all files w/ 3.30.1 #13738
Comments
By synced do you mean green icon appears on the files? What other files are you seeing being synced? Files in other folders? Files in the same folder? etc. |
Yes. I decide to sync (green icon) only two files at the root of my Nextcloud (/Passwords.kdbx and /Notes.md). If I try to delete locally all these folders, they aren't removed from this list (internal two way sync) and keep being synced. |
Confirming this behaviour... unwanted syncing of all files
|
Here too,
|
Here, too
Updated Nextcloud dev from F-droid yesterday - then it started downloading everything from my Nextcloud. |
This is a major issue to the point where pulling the update should be considered. Not sure what the policies for blocker bugs are, but this certainly is a good candidate. Since @joshtrichards is involved nextcloud is aware. But I am astonished that no further reaction happened so far. I had to downgrade the android app and this has caused more than a small disruption. |
This is indeed a very significant disruption: filling up local storage, draining battery, over consuming network bandwidth, over loading server, ... |
Hi @foss- out of interest, which version did you downgrade to? Will have to to the same! |
3.30.0 worked for me. |
3.30.0 indeed works. Make sure, if you are using F-Droid, to disable automatic updates. I just got updated to the broken version again 🤦 There is a two week old PR which reads as if it would address this problem. So far review is pending: #13683 |
I have the same issue. Downgrading to 3.30.0 solved the issue for me as well.
|
Thanks for the tip on getting older version @DerDreschner For anyone who is interested, I had a bit of an interesting time purging all the downloaded files (some of which I don't want on my device). The nextcloud files were not stored in a directory, they are stored in the media storage (which is a referenced object store from what I can work out). Files there can only be deleted by the app which created them (so I had not access after removing nextcloud app). Anyway, it can be done via USB debugging...
get the connected devices adb devices get root adb root
adb shell
then run this command to clear storage: pm clear com.android.providers.media.module reset the phone after this command and all the files in the media store will be nuked.
|
Same issue - after an upgrade to Nextcloud 3.30.1 it started to download all files from my account.
After downgrading to Nextcloud 3.30.0 it seems I can click the three dots on a folder and "stop sync". Though I had to do it for a lot of subfolders. In 3.30.1 it was not even possible to "stop" syncing any folder in the 3-dot-menu. |
I'm experiencing the same issue. I cannot cancel the sync by any means. this is a serious issue, as it is attempting to sync nearly a hundred gigs of photos and video for me, and I haven't even been using nextcloud that long. I'm sure there are others who have hundreds of gigs stored in nextcloud. |
Same here, Android 14 stock, v3.30.1 F-Droid I have uninstalled the app now - which is a pity. |
I can also confirm it was working fine on 3.30.0. I just upgraded to 3.30.1 and discovered this was happenning because my phone got unusually hot. I tried unticking the "Sync" checkbox in details, but even after deleting the files locally, it began to download again. For now, I'll just leave the network permission disabled. Android 13, /e/OS 2.4.1-t |
disabled 3.30.1 in https://gitlab.com/fdroid/fdroiddata/-/commit/1f73fe95c6b6e405d962e0d525aa1fa2f2d4a854 (it will go away in 2 cycle though) regarding the Dev version, what's its status? is latest |
Pixel 9 Pro XL with GrapheneOS and Nextcloud 3.30.1 through F-Droid. Same problem. I just noticed that I got a bunch of notifications, and now my phone is trying to sync 2 TiB of data. Downgraded to 3.30.0 and everything is fine again. |
I just installed version 20241016 of dev. I haven't encountered the bug with it. I even forced synced a folder to see if it would trigger it. I also installed 3.30.1 on a work profile on my phone (to avoid deleting my current install) and set it up. I also haven't had that start downloading everything. Could this be an issue only with client upgrades? |
@xlash123 do test upgrades too then :) |
I guess that would improve the situation as is, but preferably i would like to disbale 2 way sync completely with a simple setting. I think i will dig up my arduino and adapt this code : https://www.hackster.io/nick-engmann/swiper-auto-tinder-bumble-swiper-d0ebf6 to press 'x' for half a day. |
@Alifoss You could just use https://github.com/Genymobile/scrcpy and any auto-clicker. |
After upgrade in F-droid tonight I did manually removed one by one all the list in two-way sync (took me half an hour). |
;D But at least to tell something productive: For me it seems it does not sync over and over again. But I had to use the X many times to remove everythig from the 2 way sync. Obviosuly not very efficient this way. Just wondering where would I TURN OFF the 2 way sync? Especially since I NEVER enabled it?! |
For myself to add to the collective data: I'd fixed it while it was 3.30.1 by clearing app cache and data, then re-logging in and re-setting up my auto-upload folders. I've just upgraded to 3.30.2 from F-Droid and the bug has not re-appeared, so it does really seem like whatever was done to fix this does not help users who have gone from a pre-3.30.1 version to 3.30.2. EDIT: Slightly more to this story, I was mistaken. See comment by @ltguillaume below: #13738 (comment)
Not sure what this means? I stand by my earlier comments, we should still attempt to keep comments focused on the issue (if the only problem you have is with my use of the word "resolved", that was based on this issue having had an attempted fix pushed and this issue closed. None of my comments were me saying "that'll definitely be all and we should stop monitoring this"). We were (almost) all waiting for the next release to come out before we could test it again, and people continuing to send repetitive notifications to around 100 participants about unrelated stuff didn't make anything better or move faster. |
The comments are getting me more and more confused. What should a not neerdy user do? First, thank you devs for your work developing this app, which always worked perfect till 3.30.1 for me. I'm shure you are trying to do the best. But second, we need a little tutorial, for users upgrading from 3.30.0 and from the buggy version 3.30.1. What should be done before and after getting to 3.30.2 from f-droid. And why doesn't exist a turning off of the 2-way-sync? |
@RikkiBC That's not the case. After the v3.30.1 fiasco, I downgraded to v3.29.3 F-Droid (available here) and set everything up. Now I updated to v3.30.2 directly (skipping v3.30.1) and no two-way sync issues have occurred. So, the issue is only instigated if you had installed the app before v3.30.0 and updated to v3.30.1 at any point, because that would cause all |
Ah thanks for that! I've updated my comment to point to this clarification. Just so it's clear in my head though: If a user hasn't updated to 3.30.1, but now skips ahead to later versions, they won't encounter this? I.e, it's resolved for people who don't ever see 3.30.1, but still as yet unresolved for anyone who has gone to 3.30.1 and hasn't yet either downgraded then upgraded to later versions, or otherwise cleared app cache and data on 3.30.1 (both options being imperfect of course)? Thanks in advance for this response. |
@RikkiBC Yeah that's correct. |
Have you checked that Synchronise for the folders is disabled in the details view? It seems to work fine for me. |
Hello everyone, I’m truly sorry for the negative experience many of you have had. We know that an apology alone won’t fix things, but I want you to know we’re committed to making it right. After reviewing the latest release, I’ve noticed some issues and areas where we can make improvements, so I’ve opened a pull request to address these. With this update, you’ll be able to disable two-way sync if you choose, or set it to run on your preferred schedule. You’ll also no longer need to manually cancel syncing for each unwanted file. Upon launch only one time, the app will automatically set the internalFolderSyncTimestamp to -1 for all files, giving us a fresh start. I’ll work to release these improvements as soon as possible. Of course, our team will need time to review, test and approve this PR, which may take a little while. During this time, I’ll try to write automated tests to ensure everything runs smoothly. Once again, I apologize and appreciate your patience and support as we work through this. |
@alperozturk96 What about automatically removing all those local copies with this update to actually solve all the problems caused by 3.30.1? Many people will still have no idea that, or why their phone's storage is suddenly (almost) full. Or are the two-way synced files not distinguishable from local copies the user has synced manually? |
Hi all Hope it would help to solve things without uninstall and lose config. Regards |
This works for me! There was an attempt to "download" whatever was already downloaded in the phone for an hour with anoying notifications but after that everything seems back to normal. |
I would love to do that, but it takes 1 min 30 sec to register one tap on a cross in the two way sync settings, and I have a crazy amount of folder listed there (my entire nextcloud data tree) |
@Tonus1 Thanks, unfortunately I'm already offline, going into the settings -> two way sync and removing one item in that list take roughly 1 minute each. I'm using a Galaxy S10. I tried on an other user's phone Galaxy S21 and the process is still really long (please add a button to remove everything in one tap, I have to use an autoclicker and I might have to wait for days) but there the app doesn't go unresponsive See my detailed explanation here for more info: #13872 (comment) |
People, just call it a loss and reset the app. Long-press Nextcloud, go into |
@ltguillaume the updates here are annoying me too… I'll just unsubscribe from the ticket now and just let this play out, and in a week or two I might retry. |
@kwisatz As far as I understand the problem, it is absolutely impossible to have the problem reappear after that (clearing storage or reinstalling): the issue occurs when updating to v3.30.1 only, not when installing v3.30.0 or any newer version. |
@ltguillaume we may be talking about a different issue… my issue is that the settings screen is simply black for me with 3.30.2. And the last time I checked, the app was happily continuing to shuffle data over my data connection. I just don't the have time to test and debug this. |
@kwisatz The
Makes total sense. |
Or we could have a button to remove all two way syncs, and a button to diable two way syncs altogether |
See PR #13884, already in review and mentioned above in comment above |
@kwisatz @ltguillaume |
Dear Nextcloud Community, As per my last message, we are currently investigating this issue and have released a new version that addresses the most critical problems present in version 3.30.1. We understand that these changes do not address all of the issues that our users have been experiencing. However, we will continue to work hard with our limited resources to find an appropriate solution for all users and are planning to release a new version later this week. We take this incident very seriously and, in the interests of transparency and clarity, have published a report explaining what happened and how users can resolve these issues: Many users are being directed to this thread via various search engines and trackers and are unaware of possible solutions and updates from us. In order to increase the visibility of our report and further raise awareness of the workarounds available to users, we have decided to lock this conversation until further notice. Please feel free to continue the discussion on the new ticket as well. Finally, I would like to express my sincere gratitude to all the users and developers who have provided vital information and suggestions on this matter. Thank you for your understanding and continued support. |
Steps to reproduce
Expected behaviour
It should not sync files that were not explicitly synced previously
Actual behaviour
It syncs all files every time
Android version
14
Device brand and model
Pixel 7a
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
3.30.1 RC1
Nextcloud server version
29.0.0
Using a reverse proxy?
I don't know
Android logs
No response
Server error logs
No response
Additional information
GrapheneOS
Logs contain personal informations that I don't want to share publicly (file names etc), hence no logs are attached
The text was updated successfully, but these errors were encountered: