Windows Client 3.4.1 - Sync not working

Same for me ! I downgrade the version to 3.3.5 and it’s OK

Would be great to provide logfiles to the developers with some more details about the setup (used OS version, use of VFS etc.) on github.com/nextcloud/desktop/issues

There is already a topic:

Seems to be an issue on the server side. I created a ticket.

If you have the same issue you might give a +1 or further information, if you found some.

Tried to start with “nextcloud.exe --logwindow”, it crashes before you can activate the logging.

In most cases - so my experiences - the might be something wrong in nextcloud.cfg, if the desktop-software crashes after starting.

Same to me, I installed the 3.3.6 version from here https://download.nextcloud.com/desktop/releases/Windows/ and the sync works again. Seems it has something to do with the new way of syncing the devices.

Interesting, you can also log to a file directly:
nextcloud.exe --logfile <file>

Tried --logfile several times but it writes nothing.
Perhaps interesting: When network is disconnected it is not crashing, after reconnection it crashes immediately. The crashed app has a continuing cpu-load of 30%.

So you can start the client without network and with logging enabled and the you can reconnect and let the client crash. If that still doesn’t work, I’d create a bug report on github.com/nextcloud/desktop/issues

Tried it this way, but it writes no logfile, don’t know why it is not logging.

Changed back to 3.3.6 without problems.

I tried installing today’s nightly built 3.4.50 20220107. No improvement either, switched back to 3.3.5 as I had this one locally available. However it would not start. Then downloaded and installed 3.3.6. Now works fine again.

Can confirm that reverting to 3.3.5 (haven’t tested 3.3.6) solves the sync problem for me with Truenas 12.0-U6.1.

For those of you replying with problems, are you using Windows 10 or 11? I’m on 11, and in my research, this might be a (if not the) cause.

1 Like

I’ve just tried 3.3.5 and 3.3.6, and both do the same thing. I log in, create the sync, and 2 seconds later, Nextcloud just fails with nothing in the logs. Furthermore, there is literally NOTHING in my Nextcloud folder because I reinstalled EVERYTHING. So I really don’t know where else to look.

Did you try to rename/remove nextcloud.cfg before you install annother desktop client version?
C:\Users< username >\AppData\Local\Nextcloud

If there are wrong information in the cfg-file, the desktop client always will fail at startup.

just to add 3 x windows 11 machines with 3.4.1 rock solid no sync issues

I actually found Nextcloud.cfg in C:\Users<username>\AppData*Roaming*\Nextcloud. I don’t know what to look for in the cfg-file, but …

That said, I’ve uninstalled Nextcloud, removed C:\Users<username>\AppData*Roaming*\Nextcloud and C:\Users<username>\AppData*Local*\Nextcloud and restarted everything. It still keeps crashing.

Also, each time I delete, I reinitiatize everything, so I don’t think that the nextcloud.cfg is the problem, but what do I know? I’m the one having the problem! :slight_smile:

Thanks for the update.

I’ve also completely reinstalled Nextcloud. I also copied everything back in my directory, and then did a occ files:scan and occ files:scan --all. No difference.

So, I looked at the logs inside %APPDATA%/Roaming/Nextcloud/logs, and for each time I tried to run the Nextcloud client, it creates a log, and here’s one of them. Don’t really understand what’s going on here, but it might help. One thing I noticed is C:\Users*sysadmin*…

There is no sysadmin user. Please also look at the progressive movement up the file tree.

2022-01-12 15:18:46:217 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:151 ]       [ OCC::SqlQuery::bindValue ]:   SQL bind 1 "00002276oc8amzbb5ac6"
2022-01-12 15:18:46:217 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\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  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE fileid=?1"
2022-01-12 15:18:46:217 [ info sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\discovery.cpp:1368 ]:     Discovered "Shared Files/[folder]/[subfolder]/[sub-subfolder]/[file]" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeVirtualFile
2022-01-12 15:18:46:217 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:145 ]       [ OCC::SqlQuery::bindValue ]:   SQL bind 1 "Shared Files/[folder]/[subfolder]/[sub-subfolder]/[file]"
2022-01-12 15:18:46:217 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common\ownsql.cpp:295 ]     [ OCC::SqlQuery::exec ]:        SQL exec "SELECT lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget, errorCategory, requestId FROM blacklist WHERE path=?1 COLLATE NOCASE"
2022-01-12 15:18:46:217 [ debug nextcloud.sync.networkjob C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\abstractnetworkjob.cpp:298 ]  [ OCC::AbstractNetworkJob::slotFinished ]:      Network job OCC::LsColJob finished for "/Shared Files/[folder]/[subfolder]/[sub-subfolder]"
2022-01-12 15:18:46:217 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:145 ]       [ OCC::SqlQuery::bindValue ]:   SQL bind 1 "Shared Files/[folder]/[subfolder]/[sub-subfolder]"
2022-01-12 15:18:46:217 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common\ownsql.cpp:295 ]     [ OCC::SqlQuery::exec ]:        SQL exec "SELECT lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget, errorCategory, requestId FROM blacklist WHERE path=?1 COLLATE NOCASE"
2022-01-12 15:18:46:218 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:145 ]       [ OCC::SqlQuery::bindValue ]:   SQL bind 1 "Shared Files/[folder]/[subfolder]"
2022-01-12 15:18:46:218 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common\ownsql.cpp:295 ]     [ OCC::SqlQuery::exec ]:        SQL exec "SELECT lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget, errorCategory, requestId FROM blacklist WHERE path=?1 COLLATE NOCASE"

Update: I was successful at syncing but by downloading, and not doing virtual file support. Not sure what other’s experiences are. As soon as I converted to virtual file support, it crashed. Tried it twice!

Perhaps that is the problem…

I’ve also synced it on 3 other (total 4 PCs) and same result - no virt file support, but everything else worked.

1 Like