1.
Install Sync Client, connect with Cloudserver and
2.
select a dynamically shared drive to be synced with the cloud.
3.
Until we changed from static shares to dynamic shares there was no problem with syncing.
Client crashes with an Visual C++ Runtime Error in nextcloud.exe on most clients. On some it started working again spontanously some days later.
On clients throwing the error it can be reproduced on version 2.3.2.1 2.3.3.1 and 2.5.0.0.Debug
Nextcloud version: (see Nextcloud admin page)
13.0.2 to 13.0.4
Operating system:
Windows 10 1709
Nextcloud Sync Client logs the following:
07-04 15:43:42:604 11448 OCC::FolderMan::addFolderInternal: Adding folder to Folder Map OCC::Folder(0x8ca6e58) "1"
07-04 15:43:42:634 11448 OCC::Folder::saveToSettings: Saved folder "1" to settings, status 0
07-04 15:43:42:635 11448 OCC::SocketApi::slotUpdateFolderView: Not sending UPDATE_VIEW for "1" because status() is 1
07-04 15:43:42:646 11448 OCC::ownCloudGui::slotSyncStateChange: Sync state changed for folder "https://cloudtest.itk-rheinland.de/remote.php/webdav/" : "Not yet Started"
07-04 15:43:42:665 11448 OCC::SyncJournalDb::checkConnect: sqlite3 version "3.16.1"
07-04 15:43:42:665 11448 OCC::defaultJournalMode: Detected filesystem "NTFS" for "P:/._sync_a164b3061d23.db"
07-04 15:43:42:674 11448 OCC::SyncJournalDb::checkConnect: sqlite3 journal_mode= "wal"
07-04 15:43:42:699 11448 OCC::SqlQuery::exec: Sqlite exec statement error: 10 "disk I/O error" in "CREATE TABLE IF NOT EXISTS metadata(phash INTEGER(8),pathlen INTEGER,path VARCHAR(4096),inode INTEGER,uid INTEGER,gid INTEGER,mode INTEGER,modtime INTEGER(8),type INTEGER,md5 VARCHAR(32),PRIMARY KEY(phash));"
07-04 15:43:42:699 11448 OCC::SyncJournalDb::commitTransaction: ERROR committing to the database: "cannot commit - no transaction is active"
07-04 15:43:42:699 11448 OCC::SyncJournalDb::sqlFail: SQL Error "Create table metadata" "disk I/O error"
07-04 15:43:42:699 11448 OCC::SyncJournalDb::sqlFail: ASSERT: "false" in file /home/user/client/src/libsync/syncjournaldb.cpp, line 182
07-04 15:43:42:700 11448 OCC::SqlDatabase::close: ENFORCE: "_errId == 0" in file /home/user/client/src/libsync/ownsql.cpp, line 154 with message: Error when closing DB

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/1352 (Widnows client cannot add files by sync to shared folder), https://github.com/nextcloud/server/issues/8571 (The icon in Security about sync client is missing like linux,mac and windows.), https://github.com/nextcloud/server/issues/2879 (Department Share (Cifs) files not synced to client), https://github.com/nextcloud/server/issues/7869 (Nextcloud Windows-Client does not sync folders with a space " " in the end), and https://github.com/nextcloud/server/issues/2559 (Desktop Client - Shared Folder does not sync deletes across machines).
This is an issue within the desktop app. Thus please report it to the maintainers of the desktop client in its repository: https://github.com/nextcloud/desktop