nextcloud / desktop

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

[Bug]: Client 3.14.2 syncs forever a large folder on Windows 11 24H2 #7448

Open AndyFx12 opened 2 weeks ago

AndyFx12 commented 2 weeks ago

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

Bug description

I've got a big folder on my NC-Server V30.0.2RC

Nextcloud Client 3.10.1 worked/works fine on this big folder, too.

Desktop-Logfile-extract on the end of one sync-run: 2024-11-03 05:40:40:031 [ info nextcloud.sync.engine C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\syncengine.cpp:786 ]: #### Discovery end #################################################### 699217 ms 2024-11-03 05:40:40:031 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\gui\folder.cpp:1680 ]: will delete invalid read-only folders: "Laptop-Programme/DOM/Cloud - Verknüpfung.lnk" 2024-11-03 05:40:40:047 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\gui\folder.cpp:887 ]: Saved folder "1" to settings, status QSettings::NoError 2024-11-03 05:40:40:047 [ info nextcloud.gui.application C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\gui\owncloudgui.cpp:251 ]: Sync state changed for folder "https://cloud.s-t-franz.de/remote.php/dav/files/1xxxxxxxxxxxxx/" : "Sync paused" 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/.nextcloudsync.log" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/.sync_06dd02e5bf2d.db" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/.sync_06dd02e5bf2d.db-wal" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Desktop.ini" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Documents" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/DSGVO" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/EDV-Tools" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Formulare" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Gemeinsamer Ordner" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Laptop-Programme" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Photos" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Protokolle Besprechungen" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Talk" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Technik" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Telefon" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/Toolbox" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\filesystem.cpp:291 ]: Error removing "D:/Cloud/Laptop-Programme/DOM/Cloud - Verknüpfung.lnk/VeraCrypt-Notfallzip" : "Das System kann den angegebenen Pfad nicht finden." 2024-11-03 05:40:40:111 [ info nextcloud.sync.engine C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\syncengine.cpp:993 ]: User aborted sync 2024-11-03 05:40:40:111 [ info nextcloud.sync.engine C:\Users\User\AppData\Local\Temp\windows-26420\client-building\desktop\src\libsync\syncengine.cpp:905 ]: Sync run took 699297 ms

Maybe an error-handling issue? 3.10 shows affected files, but starts to download - so I can cleanup my local folder until there are no errors. After cleaning up my local and synced folder, 3.14.2 syncs fine, too.

regards, Andy

Steps to reproduce

I don't know - because on some systems, 3.14.2 works fine. Even on same shared folder ...

Expected behavior

Inital sync should work as expected.

Which files are affected by this bug

no one - because, nothing will be downloaded ...

Operating system

Windows

Which version of the operating system you are running.

Windows 11 24H2

Package

Official Windows MSI

Nextcloud Server version

30.0.2 RC1

Nextcloud Desktop Client version

3.14.1

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

There are no logs related to this bug.

Additional info

No response

nodiaque commented 2 days ago

Had the same problem on Windows 10 22H2. Just installed a fresh install of nextcloud. Wanted to move my pc documents and photos. I installed nextcloud desktop and put all my files in the nextcloud documents and photos folder. Systray says 2 hours for 3.3gb (server on 10gb, pc on 2.5gb). 9 hours later, no file are uploaded beside some of the first one.

It seems if there's too much file, it won't sync and the agent get very very very slow (like the tray icon is badly responsive and something just freeze explorer.exe altogether). Also saw speed going from gbps tp bps for a single jpg and sit there.

I had to upload in small batch through the webui instead of using the agent and then open the agent on my computer.

server 30.0.2 client 3.14.3