-
Notifications
You must be signed in to change notification settings - Fork 824
[Bug]: Version 3.15.n seems to be stuck in an infinite loop during "Checking folder changes". HDD is running hot. #7613
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
Comments
I have the same issue on arch linux also with gnome. My nextcloud folder is located on a ntfs drive (windows dual boot) and mounted using ntfs-3g. I've reverted to 3.14.3 and everything worked again |
Im also running on a NTFS drive! Funny, didn't think of that! Thanks for the input!
|
Same issue with NTFS partition on Arch Linux when using 3.15.0 |
Same Problem on Linux Mint 22 Cinnamon with 3.15 Flatpak Hope this will fixed fast. |
Desktop Client version 3.15.1 still has same issue. |
Desktop Client version 3.15.2 still has same issue. |
Can confirm I experience the same issues running 3.15.2 on Arch using KDE, ext4 formatted drives. I tried downgrading to 3.14.3 but the problem still persists. If I restart nextcloud it will sync fine until I change a file - then it hangs. |
I am also experiencing the same hanging issue on Arch Linux with only ext4 formatted drives. Downgrading to 3.14.1 seems to resolve the issue, but every version after that one leads to UI hangs and seemingly indefinite CPU usage for me. It sounds like the issue only cropped up after 3.14.3 for some users, but I definitely see the same issue with that build, and it sounds like some others here also still saw issues with 3.14.3. If others here could confirm whether 3.14.1 does or doesn't show the same issue, that might help bisect the issue. |
3.13.4 Appimage is running on my Linux Mint 22 the last, that runs normal. |
Just updated on arch... Same result. CPU 100%, flooding logs. I already deleted package cache. How I can download previous version at arch linux? On mirror is already new version. |
Check the arch linux archive for prior versions: https://archive.archlinux.org/ |
I tried to compile it from sources, but after hour it seg faulted in some test |
This did not resolve the issue for me. I did some testing. I find that if I create an empty file ( |
I can confirm the problem (on Debian sid using 3.15.0). |
@mgallien ^ can you please have a look |
I've rebuilt 3.15.2 with 5b2af16 reverted and nextcloud-desktop is working properly again. |
Very nice! Now let's hope that someone from Nextcloud ever sees this and puts this to work. Thanks a lot.
I'd love to put a thumbs up or sth, but github won't let me in anymore since I stupidly activated 2 factor auth. Microsoft is very actively involved in locking people out...
Anyway! Good work! And thanks!
|
For completeness sake, the NTFS partition is mounted like this:
|
I have the same issues using the same account in two different systems having the latest nextcloud client. htop reports 100% CPU while the UI is unresponsive. I have had this behavior in debian and arch linux. My account has around 150000 files This causes disk IO on my desktop to run Debian, as I can hear the drive needle of my HDD working. In Debian, the system is NTFS. In my laptop running arch I am using ext4 storage and get the same behavior. This drains the battery of my laptop and causes it to run hot. To make things worse, the service was auto spawned from the bus service, and I could not even kill the client without it restarting. Can you please tell us what information we need to upload to get help with this issue? |
I've filed a downstream bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091614 and the Debian maintainer was so kind to revert the problematic commit in the Debian package until a proper fix is found. |
3.15.50 version from daily channel still has this bug. (OS: Linux Mint 22) |
Is possible do that same for other distros too? Everytime when I update arch I have to downgrade afterwards nextcloud client, mostly I remember right after 100% cpu and battery drain after 1 hour instead 6h. |
As @grossardt pointed out, 3.14.1 is the correct one to downgrade, at least for my case. 3.14.3 is not getting stuck like 3.15.x but eventually after a |
Yeah, I'm guessing that we're dealing with 2 different issues here. I'm not sure though. But the fact, that there is 2 versions making a difference, points towards it. Yet, guessing doesn't help here anyway. Just my 2 pennies... |
I do not have high CPU usage, but I do have the filesystem problem. If I sync to the ext4 partition, where the OS is stored as well, no problems. If I sync to an NTFS partition on a different drive, (that can also be accessed by Windows Dual Boot) - it keeps saying: "Looking for folder changes" or "preparing to sync" or "beginning sync" - or it is offline altogether even though I have internet. Although, sometimes it works briefly and even syncs some files that I added. But then it stops recognizing new files, even after hours of waiting. OS: Linux Mint 21.3 Cinnamon The fact that it does not work since a few months now painfully highlights how important Nextcloud sync has become in my daily life. Maybe you can take it as a compliment. Keep up the good work. |
Can anyone confirm if v3.16 fixed anything regarding disk trashing & endless "sync"? Based on my tests, it didn't. Oh well... back to v3.14.3. |
@affe42 no, it does not fix the bug, that is why this bug is still open. They put it on the list for 3.16.1 if I remember correctly. You can track the progress here 💻 Desktop Clients team |
Indeed, the problem persists! Too bad! Anyway here's my log, if it helps... Back to 3.14.3... |
3.16.1 still has same issue... Getting tired of cleaning up logs, so github's upload limit doesn't explode... Additionally, since 3.16.0 the client messes up the sync_*.db's so everytime I try the new version, the old 3.14.3 version has to resync everything from scratch! That's quite a mess! Please don't fuck up my DBs people! |
Any plan when this is going to be fixed? Will this fix be backported to previous versions? Users are getting their laptop batteries drained because of this behavior. Also, several linux distros have the client nextcloud client spawned by the dbus so even if it is killed by the user, it manually it autostarts. I hope the nextcloud team understands the impact of this behaviour in their user base and can provide a guideline of how users should deal with this issue. |
I already asked arch linux if they will downgrade package, but they said problem is not on their side, so they will not do anything and there are not so many user with ntfs https://gitlab.archlinux.org/archlinux/packaging/packages/nextcloud-client/-/issues/10 |
I just wanted to reiterate that this bug is not exclusively an issue with NTFS partitions. I have no NTFS partition involved but experience the same problem. My nextcloud files are in an ext4 on LVM on LUKS partition. [Edit rather than new comment to not add to the cluttering:] [Edit 2] |
same symptoms, but different root cause. Thus should be handled via a separate bug report. @mgallien can you please lock this issue? |
Yes, lock it, do not solve it, make it as 'not planed' we will forever use 3.14.3 version. |
That's not fair! There is a fix in progress, which just haven't been finished yet. I too am getting restless, since it's been quite a while, but no reason to be that sarcastic! Seems like the dev's need more personnel! |
For the record: 3.16.2 still has same issue... |
I can second that. Every time when I put the MacBook to sleep I still have this issue. I need to completely quit the client and restart for it to resolve. |
I am experiencing this too on mac OS. |
In my case, it seems to be stuck uploading a big file. |
Can confirm that the issue still persists on 3.16.2 on Arch Linux stuck on high cpu consumption and being unresponsive. This is still a huge problem since it drains my laptop battery in no time. Normally I would get 10-11 hours with 100%-10%, with Nextcloud active in the unresponsive state, it reduces the battery to around 4 hours. |
As a workaround I have paused sync for all instances and only activate it on demand. |
On MacOS Apple Silicon the client is also stuck at "preparing to sync" or "checking folder changes" |
chiming in: My NTFS drive is mounted: All is fine up to client 3.14.3. My OS is latest LMDE. |
Same issues here with 3.16.3 but server storage is ZFS in my case. Running the 3.14.1 appimage without issue. |
I, too, am experiencing this. No NTFS is involved in my setup either. Happy to troubleshoot/help however I can. This is not an issue with VFS disabled/the non-VFS client in use. |
@chris-blues I'm not a nextcloud developer, i.e. I can't foresee when a fix will be ready and as long as the issue is open it is clear that the issue is not fixed and posting an update or another me-too is imho not really helping the developers. What you can do (and what I did) is to contact the maintainer of my downstream distribution (Debian) to temporarily revert the problematic commit and thankfully he agreed, so Debian and Ubuntu packages (as shipped in the distro) are not affected. |
same issue with nextcloud-client 3.16.4-1 on arch linux with kde plasma. |
Bug description
Debian 12 Linux, Gnome DE, Nextcloud Desktop client 3.15.0
Version 3.15.0 seems to be stuck in an infinite loop during "Checking folder changes". HDD is running hot. I've let it run for 30 minutes and more, just to see if it eventually stops at some point. It doesn't.
General startup of the client seems fine. File sync runs through fine. After that it goes into "Checking folder changes" - that's where it gets stuck in the loop. Reaction times get very slow on every action I take in the client. Gnome offers generic "App not responding, should I kill it or wait" warning. With every older Client (e.g. 3.14.3) it works just fine. So there seems to be some regression introduced in 3.15.0...
Edit: seems to be related to the fact, that there is a NTFS partition involved...
If there's any more info I can provide, please let me know.
Steps to reproduce
Startup Nextcloud-3.15.0-x86_64.AppImage
Wait for the app to start up...
Expected behavior
normal startup without trashing my HDD...
Which files are affected by this bug
folder
Operating system
Linux
Which version of the operating system you are running.
Debian 12
Package
Official Linux AppImage
Nextcloud Server version
30.0.3
Nextcloud Desktop Client version
3.15.0
Is this bug present after an update or on a fresh install?
Updated to a major version (3.14.3 to 3.15.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
Additional info
No response
The text was updated successfully, but these errors were encountered: