nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.97k stars 784 forks source link

[Bug]: Sync process is triggered every second on version 3.13.0 #6701

Open muchachagrande opened 4 months ago

muchachagrande commented 4 months ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

The sync process is triggered on each second and it immediately shows "All synced!" producing the logs folder to flood of sync logs.

Steps to reproduce

  1. Open the main dialog
  2. Observe the sync icon on the top flash between syncing and synced states
  3. Observe de ~/.config/nextcloud/logs directory flooding of sync logs ...

Expected behavior

Once all files are synced the sync icon should stay quiet. ...

Which files are affected by this bug

No files affected

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 22.04

Package

Appimage

Nextcloud Server version

28.0.4

Nextcloud Desktop Client version

3.13.0

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 3.3.6 to 3.4.0)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

No server logs

Additional info

I had to revert to 3.12.3 client. The logs folder has flooded very fast.

weinbrenner commented 4 months ago

Seems to be the same for me here. Nextcloud Desktop 3.13.0, Linux AppImage, Ubuntu 22.04 Process(es) is running a lot of the time at 100%, Laptop is getting loud and battery is draining fast!

Was never the case in Versions 3.12.x and older.

weinbrenner commented 4 months ago
$ ls -l .config/Nextcloud/logs/ | wc -l
12183

less than a minute later:

$ ls -l .config/Nextcloud/logs/ | wc -l
12198

each logfile is round about 2MB and all the 12 thousend files are from within 2 days ....

floss4good commented 4 months ago

I'm also on Ubuntu 22.04.4 but I don't use the AppImage; I use the app provided through ppa:nextcloud-devs/client repository. As for the server, the most recent version is 27.1.5 (I have multiple accounts added in the desktop client). I updated earlier to 3.13.0 and it seems I'm not affected by this issue. Therefore, as an alternative workaround you can try to install the app through the mentioned PPA.

weinbrenner commented 4 months ago

I'm also on Ubuntu 22.04.4 but I don't use the AppImage; I use the app provided through ppa:nextcloud-devs/client repository. As for the server, the most recent version is 27.1.5 (I have multiple accounts added in the desktop client). I updated earlier to 3.13.0 and it seems I'm not affected by this issue. Therefore, as an alternative workaround you can try to install the app through the mentioned PPA.

Good idea, thanks - but it didn't help, behavior is still the same. My server version is 27.1.8. Maybe it depends on how many files you are syncing - in my case the total is around 50GB. (But almost all files should already be in sync, probably only a few files which I worked on since upgrading to 3.13.0

muchachagrande commented 4 months ago

I'm syncing a few text files to keep my notes app in sync with the NC server.

dom6770 commented 3 months ago

I have the same issue on Windows 11 with 3.13.0 and NC 29.0.1:

https://github.com/nextcloud/desktop/assets/11932291/cdf48d19-baeb-4a3f-8755-c1502e8910d9

After two hours now I have 2.729 items with a size of 676 MiB.

The logs are primarly just sync progress, I cannot find any error or warnings at all.

muchachagrande commented 2 months ago

I've just tested 3.13.1 and this problem is still present.

weinbrenner commented 2 months ago

I've just tested 3.13.2 and this problem is still present.

jaymerts commented 2 months ago

Here I have this running forever: image