Closed zBeeble42 closed 1 year ago
Just saying that I chopped the bottom of the client log... and sanitized it. Feel free to ask for more, but I'd prefer that to be somewhat private.
to test that this wasn't a filesystem thing, I ran the following in L4W (Linux for windows) in the root of the nextcloud directory:
find . -type f -ls -exec cat "{}" >/dev/null \;
... which completed without error.
Similar with me, but Nextcloud goes completely unresponsive. I can’t open anything, and it just says “syncing” but without using bandwidth.
Some part of the Log:
2022-12-08 09:12:44:554 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\syncengine.cpp:689 ]: #### Reconcile (aboutToPropagate) #################################################### 547 ms
2022-12-08 09:12:44:554 [ debug nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\syncfilestatustracker.cpp:229 ] [ OCC::SyncFileStatusTracker::slotAboutToPropagate ]: Investigating "afolder/afolder_prakt6_afile.txt" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_SYNC OCC::SyncFileItem::Up
2022-12-08 09:12:44:554 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 -4722185707584817330
2022-12-08 09:12:44:554 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted, lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout FROM metadata LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-12-08 09:12:44:554 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:SYNC:C:\\Users\\name\\Nextcloud\\afolder" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:554 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:SYNC:C:\\Users\\name\\Nextcloud" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:554 [ debug nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\syncfilestatustracker.cpp:229 ] [ OCC::SyncFileStatusTracker::slotAboutToPropagate ]: Investigating "afolder/afolder_prakt7_afile.txt" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Up
2022-12-08 09:12:44:554 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:IGNORE:C:\\Users\\name\\Nextcloud\\.owncloudsync.log" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:554 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:IGNORE:C:\\Users\\name\\Nextcloud\\.sync_1b0a808c8923.db" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:554 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:IGNORE:C:\\Users\\name\\Nextcloud\\.sync_1b0a808c8923.db-shm" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:554 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:IGNORE:C:\\Users\\name\\Nextcloud\\.sync_1b0a808c8923.db-wal" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:555 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:IGNORE:C:\\Users\\name\\Nextcloud\\Desktop.ini" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:555 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\syncengine.cpp:696 ]: #### Reconcile (aboutToPropagate OK) #################################################### 548 ms
2022-12-08 09:12:44:555 [ debug nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\syncjournaldb.cpp:2418 ] [ OCC::SyncJournalDb::commitInternal ]: Transaction commit "post treewalk" and starting new transaction
2022-12-08 09:12:44:556 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\syncengine.cpp:803 ]: Network Limits (down/up) -75 0
2022-12-08 09:12:44:556 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT tmpfile, etag, errorcount, path FROM downloadinfo"
2022-12-08 09:12:44:556 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT path,transferid FROM uploadinfo"
2022-12-08 09:12:44:556 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT path FROM blacklist"
2022-12-08 09:12:44:556 [ debug nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\syncjournaldb.cpp:2418 ] [ OCC::SyncJournalDb::commitInternal ]: Transaction commit "post stale entry removal" and starting new transaction
2022-12-08 09:12:44:556 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ] [ OCC::SocketListener::sendMessage ]: Sending SocketAPI message --> "STATUS:SYNC:C:\\Users\\name\\Nextcloud" to QLocalSocket(0x1c805d0b9a0)
2022-12-08 09:12:44:556 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\syncengine.cpp:750 ]: #### Post-Reconcile end #################################################### 549 ms
2022-12-08 09:12:44:556 [ info nextcloud.sync.bandwidthmanager C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\bandwidthmanager.cpp:342 ]: Upload Bandwidth limit changed 0 -75
2022-12-08 09:12:44:556 [ info nextcloud.gui.folder C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\folder.cpp:950 ]: #### Propagation start ####################################################
2022-12-08 09:12:44:556 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:485 ] [ OCC::SocketApi::slotUpdateFolderView ]: Not sending UPDATE_VIEW for "1" because status() is OCC::SyncResult::SyncRunning
2022-12-08 09:12:44:559 [ info nextcloud.gui.application C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\owncloudgui.cpp:198 ]: Sync state changed for folder "https://www.example.de/remote.php/dav/files/NextCloudUser/" : "Sync running"
2022-12-08 09:12:44:559 [ info nextcloud.sync.propagator.root.directory C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\owncloudpropagator.cpp:1285 ]: scheduleSelfOrChild OCC::PropagatorJob::NotYetStarted pending uploads 0 subjobs state OCC::PropagatorJob::NotYetStarted
2022-12-08 09:12:44:559 [ warning nextcloud.sync.propagator.directory C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\owncloudpropagator.cpp:1049 ]: Useless task found for file "afolder/afolder_prakt6_afile.txt" instruction CSyncEnums::CSYNC_INSTRUCTION_SYNC
2022-12-08 09:12:44:559 [ warning nextcloud.sync.propagator.directory C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\owncloudpropagator.cpp:1049 ]: Useless task found for file "afolder/afolder_prakt7_afile.txt" instruction CSyncEnums::CSYNC_INSTRUCTION_NEW
2022-12-08 09:12:44:560 [ info nextcloud.sync.propagator.root.directory C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\owncloudpropagator.cpp:1309 ]: OCC::SyncFileItem::Success slotSubJobsFinished OCC::PropagatorJob::Running pending uploads 2 subjobs state OCC::PropagatorJob::Finished
2022-12-08 09:12:44:560 [ info nextcloud.sync.propagator C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\owncloudpropagator.cpp:1341 ]: PropagateRootDirectory::scheduleDelayedJobs
2022-12-08 09:12:44:561 [ info nextcloud.sync.checksums C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\checksums.cpp:230 ]: Computing "MD5" checksum of "C:/Users/name/Nextcloud/afolder/afolder_prakt6_afile.txt" in a thread
2022-12-08 09:12:44:561 [ info nextcloud.sync.checksums C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\checksums.cpp:230 ]: Computing "MD5" checksum of "C:/Users/name/Nextcloud/afolder/afolder_prakt7_afile.txt" in a thread
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 "afolder/afolder_prakt6_afile.txt"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 2 0
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 3 0
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 4 0
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 5 4030
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 6 1669835332
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:151 ] [ OCC::SqlQuery::bindValue ]: SQL bind 7 "MD5:a3af7b05f0c8ab1faa17381a05a24cd4"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "INSERT OR REPLACE INTO uploadinfo (path, chunk, transferid, errorcount, size, modtime, contentChecksum) VALUES ( ?1 , ?2, ?3 , ?4 , ?5, ?6 , ?7 )"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:328 ] [ OCC::SqlQuery::exec ]: Last exec affected 1 rows.
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\syncjournaldb.cpp:2418 ] [ OCC::SyncJournalDb::commitInternal ]: Transaction commit "Upload info" and starting new transaction
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:151 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 "afolder/afolder_prakt6_afile.txt"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT baseFileId, baseModtime, baseEtag, basePath FROM conflicts WHERE path=?1;"
2022-12-08 09:12:44:562 [ info nextcloud.sync.propagator.bulkupload C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:183 ]: "/afolder/afolder_prakt6_afile.txt" transmission checksum "a3af7b05f0c8ab1faa17381a05a24cd4" "C:/Users/name/Nextcloud/afolder/afolder_prakt6_afile.txt"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 "afolder/afolder_prakt7_afile.txt"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 2 0
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 3 0
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 4 0
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 5 1763
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 6 1670453986
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:151 ] [ OCC::SqlQuery::bindValue ]: SQL bind 7 "MD5:29d14ad8a4ab4c6e0771a6d33c38ca21"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "INSERT OR REPLACE INTO uploadinfo (path, chunk, transferid, errorcount, size, modtime, contentChecksum) VALUES ( ?1 , ?2, ?3 , ?4 , ?5, ?6 , ?7 )"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:328 ] [ OCC::SqlQuery::exec ]: Last exec affected 1 rows.
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\syncjournaldb.cpp:2418 ] [ OCC::SyncJournalDb::commitInternal ]: Transaction commit "Upload info" and starting new transaction
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:151 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 "afolder/afolder_prakt7_afile.txt"
2022-12-08 09:12:44:562 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT baseFileId, baseModtime, baseEtag, basePath FROM conflicts WHERE path=?1;"
2022-12-08 09:12:44:562 [ info nextcloud.sync.propagator.bulkupload C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:183 ]: "/afolder/afolder_prakt7_afile.txt" transmission checksum "29d14ad8a4ab4c6e0771a6d33c38ca21" "C:/Users/name/Nextcloud/afolder/afolder_prakt7_afile.txt"
2022-12-08 09:12:44:563 [ info nextcloud.sync.accessmanager C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\accessmanager.cpp:78 ]: 4 "" "https://www.example.de/remote.php/dav/bulk" has X-Request-ID "021479ec-fc80-4493-85ce-7d89eccd22fe"
2022-12-08 09:12:44:563 [ debug nextcloud.sync.cookiejar C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\cookiejar.cpp:90 ] [ OCC::CookieJar::cookiesForUrl ]: QUrl("https://www.example.de/remote.php/dav/bulk") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=www.example.de; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=www.example.de; path=/"), QNetworkCookie("oc_sessionPassphrase=MyPassPhrase; secure; HttpOnly; domain=www.example.de; path=/"), QNetworkCookie("MyCookie; secure; HttpOnly; domain=www.example.de; path=/"))
2022-12-08 09:12:44:563 [ info nextcloud.sync.networkjob C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\libsync\abstractnetworkjob.cpp:361 ]: OCC::PutMultiFileJob created for "https://www.example.de" + "" "OCC::BulkPropagatorJob"
EDIT: Updated to the 3.6.3 Client which released some minutes ago, same issue.
EDIT2: While the Nextcloud client is started i am not able to open the Windows Explorer. Only when I close nextcloud via the Task Manager does it open.
I also just started running into this issue. :( Same problem on both 3.6.2 and 3.6.4.
Edit: I updated my Nextcloud instance to the newest 24 version and my client version to 3.6.4. I then removed the sync, readded it, and resynced all the files. Seems to be working for now.
Same problem with different Nextcloud client versions and windows 11 on my laptop.
Edit: On my "old" Windows 10 Desktop with Version 3.6.4 and the same server everything is fine...
Hi, I found a workaround here : https://github.com/nextcloud/desktop/issues/4106 Removing speed limits has solved the problem in my case (windows 10, desktop 3.6.4, server 25.02). Then I put speed limits again and it seems it's working normally...
Edit : the bug comes back, so the only way for me to get it working normally is to keep no speed limits.
Yes deleting this block from the nextcloud.cfg indeed fixed the issue for me:
[BWLimit]
downloadLimit=80
uploadLimit=10
useDownloadLimit=0
useUploadLimit=-1
Yes, no speed limits fixed the issue for me too.
OP here ... so this is a workaround ... but not an acceptable one. Needs to be fixed.
I was able to start the client and just turn off the limit --- in my case, getting to the sync failure takes most of a minute. So I suppose doing it this way depends on your setup.
I got the problem with all computers of my company (30 persons), and with some others linked to my personal server. Seems to be related to the update to nextcloud 25, the bug appears with various versions of nextcloud desktop. It is systematic if speed limits has been set. The fact that it blocks windows explorer is really annoying, and it's hard to debug if you don't find this issue on github. People try unsuccessfully to re-install nextcloud, to restart synchronisation from scratch (with risk of data loss for non-synced files), etc... Even if there is a workaround, I think it's a major issue that should be quickly solved. I still see the "0. Needs triage" label, I think it's time to approve this bug and switch to "1. To develop".
Well looks like the issue has returned for me. Seems like it only worked for about a week and now I'm stuck on preparing for sync again.
Looks similar than my issue.
System & client version:
################## "Nextcloud" locale: "en_150" ui_lang: QVariant(Invalid) version: "3.6.4stable-Win64 (build 20221208)" os: "Windows 10 Version 2009"
Conditions:
So it seems to happen for files between 1 byte to 999,999 bytes.
I tried to trace the bug, using some debug tools:
Last log messages before it freezes:
[ OCC::CookieJar::cookiesForUrl ]: QUrl("[...]/remote.php/dav/bulk") requests: (QNetworkCookie [...] OCC::PutMultiFileJob created for "https://[...]" + "" "OCC::BulkPropagatorJob"
(libsync\abstractnetworkjob.cpp:361)
950 bytes data is sent through TCP to NextCloud server (seen by procmon. - Not my server - I don't have logs for it)
Now nextcloud.exe UI is frozen, eating 100% CPU of one core
explorer.exe UI also gets frozen!
Now, if I delete the previously added file, UI stays frozen and eating CPU, but 1 new line appears in log file:
[ debug nextcloud.gui.folderwatcher C:\Users\sysadmin\AppData\Local\Temp\2\windows-12824\client-building\desktop\src\gui\folderwatcher_win.cpp:160 ] [ OCC::WatcherThread::watchChanges ]: Skipping syncing of "C:/path_to_folder_where_is_the_tested_file
I want to have a closer look on what's going on in the main thread stack, using procexp.exe: After hitting "Refresh" several times, it looks like being stuck in this function: Qt5Network.dll!QHttpMultiPart::boundary+0x8b7
Here what happens in logs with 0 byte file creation: https://pastebin.com/GiKcqa4p
Which seems OK.
Using SHA1 checksum though, not MD5 as when it crashes.
This is called only here:
libsync\owncloudpropagator.cpp:963 ] [ OCC::OwncloudPropagator::removeFromBulkUploadBlackList ]: **black list for bulk upload** "Documents/New Text Document.txt"
\libsync\owncloudpropagator.h:212 ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "Documents/New Text Document.txt" by OCC::PropagateUploadFileV1(0x1d223a636e0)
propagateupload.cpp:284 ] [ OCC::PropagateUploadFileCommon::startUploadFile ]: Running the compute checksum
libsync\propagateuploadv1.cpp:130 ] [ OCC::PropagateUploadFileV1::startNextChunk ]: 0 true 0 0
libsync\propagateuploadv1.cpp:133 ]: "/Documents/New Text Document.txt" "SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709"
libsync\abstractnetworkjob.cpp:361 ]: OCC::PUTFileJob created for "https://host.tld" + "/Documents/New Text Document.txt" "OCC::PropagateUploadFileV1" libsync\propagateupload.cpp:87 ]: PUT of "https://host.tld/remote.php/dav/files/zeromini/Documents/New Text Document.txt" FINISHED WITH STATUS "OK" QVariant(int, 201) QVariant(QString, "Created")
With 1 byte file: https://pastebin.com/EshNZrKz
Stuck at libsync\abstractnetworkjob.cpp:361 ]: OCC::PutMultiFileJob
Using MD5 checksum.
This is called only here:
libsync\owncloudpropagator.cpp:1049 ]: Useless task found for file "Documents/1byte.txt" instruction CSyncEnums::CSYNC_INSTRUCTION_NEW libsync\bulkpropagatorjob.cpp:183 ]: "/Documents/1byte.txt" transmission checksum "cfcd208495d565ef66e7dff9f98764da" "C:/Users/User/Nextcloud/Documents/1byte.txt" libsync\abstractnetworkjob.cpp:361 ]: OCC::PutMultiFileJob created for "https://host.tld" + "" "OCC::BulkPropagatorJob"
Both do that before:
libsync\owncloudpropagator.cpp:1285 ]: scheduleSelfOrChild OCC::PropagatorJob::NotYetStarted pending uploads 0 subjobs state OCC::PropagatorJob::NotYetStarted
There might be some kind of condition to decide weather to use bulk upload mode or not. The bulk one seems to be broken for files < 1,000,000 bytes.
The issue seems to dissapear when disabling the Upload bandwidth limit. Download might be left be on. But might be a problem to retrieve small files. Can't test easily now.
I imagine something like the bandwidth limiting feature not working well in bulk mode - and/or with small files.
Steps need to be done if you are affected by the bug:
Kill running Nextcloud client (e.g. using taskmanager)
Edit %APPDATA%\Nextcloud\nextcloud.cfg - remove BWLimit section
Yes deleting this block from the nextcloud.cfg indeed fixed the issue for me:
[BWLimit] downloadLimit=80 uploadLimit=10 useDownloadLimit=0 useUploadLimit=-1
Start nextcloud client again
Dont touch your bandwidth settings until this bug has been fixed
@stesee a faster way on is actually just turning off Wifi so Nextcloud never gets to the "sync" part. Then you can still open the GUI and turn off throttling. (I needed a slightly simpler way for some of my users to understand)
You still need to kill the client in task manager first though to un-freeze it.
What an frustrating issue. I have throttling on so I don't over saturate my network every time a large file is uploaded.
Can't believe this isn't a higher priority.
had the same issue but updating the Windowsclient to 3.6.6 (from 3.4.0) had solved the problem for me.
Still happening on 3.7.3. Nextcloud clients uses a lot of cpu and the computer begins overheating. Left-clicking or right-clicking on the tray icon does nothing, and the tray icon is the 'sync in progress' one.
I had the same issue with the windows client after updating the server to v25 (more details here). Disabling the upload bandwidth limit worked for me too, but the update to client v3.7.4 alone wasn't enough either. As an additional workaround the sync can be disabled for folders containing specific files, for me .lnk
-files among others caused the crash.
I have the same exact problem on MacOS. Tried every possible fix until I remembered that I have recently set an upload limit. Removing it fixed the issue. Please, fix it. It's really important to me because I have a poor connection that can't keep up and is easily saturated whenever I upload a file unless I set an upload limit.
Still happening on 3.8.0. Tested on Windows 10. Besides being completely unresponsive, it also seems to add significant lag to using the windows explorer.
Still have this bug
client:
os: windows11
version: 3.8.1
server:
os: debian11
version: Nextcloud Hub 4 (26.0.1)
php version: 8.2.5
mysql version: 8.0.33
nginx version: 1.24.0
client log
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 "xx.jpg"
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 2 x
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 3 x
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 4 x
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 5 xxx
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:145 ] [ OCC::SqlQuery::bindValue ]: SQL bind 6 xx
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:151 ] [ OCC::SqlQuery::bindValue ]: SQL bind 7 "MD5:xxx"
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "INSERT OR REPLACE INTO uploadinfo (path, chunk, transferid, errorcount, size, modtime, contentChecksum) VALUES ( ?1 , ?2, ?3 , ?4 , ?5, ?6 , ?7 )"
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common\ownsql.cpp:328 ] [ OCC::SqlQuery::exec ]: Last exec affected 1 rows.
2023-04-28 15:06:32:960 [ debug nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common\syncjournaldb.cpp:2660 ] [ OCC::SyncJournalDb::commitInternal ]: Transaction commit "Upload info" and starting new transaction
2023-04-28 15:06:33:077 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common/ownsql.h:151 ] [ OCC::SqlQuery::bindValue ]: SQL bind 1 "xx.jpg"
2023-04-28 15:06:33:077 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\common\ownsql.cpp:295 ] [ OCC::SqlQuery::exec ]: SQL exec "SELECT baseFileId, baseModtime, baseEtag, basePath FROM conflicts WHERE path=?1;"
2023-04-28 15:06:33:077 [ info nextcloud.sync.propagator.bulkupload C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:183 ]: "/xx.jpg" transmission checksum "xx" "D:/nextcloud/xx.jpg"
2023-04-28 15:06:33:077 [ info nextcloud.sync.accessmanager C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\libsync\accessmanager.cpp:78 ]: 4 "" "https://xx.com/remote.php/dav/bulk" has X-Request-ID "xx"
2023-04-28 15:06:33:078 [ debug nextcloud.sync.cookiejar C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\libsync\cookiejar.cpp:90 ] [ OCC::CookieJar::cookiesForUrl ]: QUrl("https://xx.com/remote.php/dav/bulk") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=xx.com; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=xx.com; path=/"), QNetworkCookie("oc_sessionPassphrase=xx; secure; HttpOnly; domain=xx.com; path=/"), QNetworkCookie("xx=xx; secure; HttpOnly; domain=xx.com; path=/"))
2023-04-28 15:06:33:078 [ info nextcloud.sync.networkjob C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\libsync\abstractnetworkjob.cpp:358 ]: OCC::PutMultiFileJob created for "https://xx.com" + "" "OCC::BulkPropagatorJob"
2023-04-28 15:06:33:078 [ debug nextcloud.gui.folderwatcher C:\Users\sysadmin\AppData\Local\Temp\2\windows-14889\client-building\desktop\src\gui\folderwatcher.cpp:65 ] [ OCC::FolderWatcher::pathIsIgnored ]: * Ignoring file "D:/nextcloud/.sync_cd9dd2163980.db-wal"
server log
Error webdav Sabre\DAV\Exception: Unknown error while seeking content
Hi folks, this is now fixed with #5680
⚠️ Before submitting, please verify the following: ⚠️
Bug description
Briefly, the client is locking up, repeatably. Locking up includes not responding to an open from the dock, locking up context menus in the windows shell and only responding to a task-manager kill. If the window is open, it locks up showing with "0B of 4.1MB file 1 of 34" or "7B of 4.1MB file 1 of 34"
Pertinent points:
Extra diagnostic points (not my first bug report):
Steps to reproduce
Start nextcloud, wait. Obviously, not for you. This is 100% repeatable on my system. Nextcloud is effectively not working until fixed. I'm not sure what's causing it.
Expected behavior
Nextcloud doesn't lock up?
Which files are affected by this bug
langs.xml
Operating system
Windows
Which version of the operating system you are running.
Windows 10 workstation
Package
Appimage
Nextcloud Server version
25.0.1
Nextcloud Desktop Client version
3.6.50 (although also any others I tested)
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
Additional info
nextcloud-short.log