You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opened GnuCash for the first time since installing Nextcloud Desktop Client 3.9.0 (Windows) on Windows 10. The GnuCash program was unaffected, but when it created its .LCK file in the Nextcloud sync folder, the desktop client threw an error notification that quickly vanished. File "could not be synced due to an error." I grabbed the debug log and a screenshot. In the meantime, the .LCK file appeared in the nextcloud Files system and there were no errors when closing GnuCash.
Also, the server is throwing "Unknown error while seeking content".
This error message is repeatable and occurred again when I reopened GnuCash.
To make matters worse, simply changing and saving my .gnucash file causes the same error. That means I can't work around this problem by ignoring .LCK files.
I was able to reproduce the same error by simply right-clicking the sync folder in Explorer and creating a new text file. The client threw an error about the new text file before I even finished renaming it.
The only thing I tried that did not cause any error was copying a file from one folder to another using Explorer.
Virtual file support was not enabled.
Here is the relevant client log from the first error:
2023-07-13 22:44:37:432 [ info nextcloud.sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\discovery.cpp:424 ]: Processing "mydata.gnucash.LCK" | (db/local/remote) | valid: false/true/false | mtime: 0/1689302673/0 | size: 0/0/0 | etag: ""//"" | checksum: ""//"" | perm: ""//"" | fileid: ""//"" | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//
2023-07-13 22:44:37:433 [ warning nextcloud.sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\discovery.cpp:442 ]: File "mydata.gnucash.LCK" was modified before the last sync run and is not in the sync journal and server
2023-07-13 22:44:37:433 [ info nextcloud.sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\discovery.cpp:1245 ]: Not a move, no item in db with inode 3380
2023-07-13 22:44:37:433 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\syncengine.cpp:758 ]: #### Discovery end #################################################### 57 ms
2023-07-13 22:44:37:433 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\gui\tray\activitylistmodel.cpp:617 ]: Activity/Notification/Error successfully dismissed: "Network error: 99"
2023-07-13 22:44:37:434 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\gui\tray\activitylistmodel.cpp:618 ]: Trying to remove Activity/Notification/Error from view...
2023-07-13 22:44:37:434 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\gui\tray\activitylistmodel.cpp:622 ]: Activity/Notification/Error successfully removed from the list.
2023-07-13 22:44:37:434 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\gui\tray\activitylistmodel.cpp:623 ]: Updating Activity/Notification/Error view.
2023-07-13 22:44:37:434 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\syncengine.cpp:799 ]: #### Reconcile (aboutToPropagate) #################################################### 58 ms
2023-07-13 22:44:37:434 [ info nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\syncfilestatustracker.cpp:229 ]: Investigating "mydata.gnucash.LCK" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Up
2023-07-13 22:44:37:435 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\syncengine.cpp:806 ]: #### Reconcile (aboutToPropagate OK) #################################################### 59 ms
2023-07-13 22:44:37:436 [ info nextcloud.sync.engine C:\Users\sysadmin\AppData\Local\Temp\2\windows-16015\client-building\desktop\src\libsync\syncengine.cpp:860 ]: #### Post-Reconcile end #################################################### 60 ms
Steps to reproduce
Place a .gnucash file in the sync folder.
Open the file with GnuCash. (Last open file automatically loads on start)
After the first error clears, trying editing and saving the file.
After that error clears, try creating a new text file in the sync folder using Explorer.
...
Workaround
Close all open files and clear all errors.
Modify nextcloud/config/config.php by adding 'bulkupload.enabled' => false,
Exit the Nextcloud Desktop Client
After restarting the Desktop Client, there were no more errors.
I don't know what gnucash is, however i experience a similar behavior.
With virtual files, each time i create a file within the desktop client, a notif msg appear :
activity sync
could not be synced due to an error.
Quickly after the msg disappear and the file gets synced
Bug description
Opened GnuCash for the first time since installing Nextcloud Desktop Client 3.9.0 (Windows) on Windows 10. The GnuCash program was unaffected, but when it created its .LCK file in the Nextcloud sync folder, the desktop client threw an error notification that quickly vanished. File "could not be synced due to an error." I grabbed the debug log and a screenshot. In the meantime, the .LCK file appeared in the nextcloud Files system and there were no errors when closing GnuCash.
Also, the server is throwing "Unknown error while seeking content".
This error message is repeatable and occurred again when I reopened GnuCash.
To make matters worse, simply changing and saving my .gnucash file causes the same error. That means I can't work around this problem by ignoring .LCK files.
I was able to reproduce the same error by simply right-clicking the sync folder in Explorer and creating a new text file. The client threw an error about the new text file before I even finished renaming it.
The only thing I tried that did not cause any error was copying a file from one folder to another using Explorer.
Virtual file support was not enabled.
Here is the relevant client log from the first error:
Steps to reproduce
...
Workaround
'bulkupload.enabled' => false,
Reference #4106 (comment)
Expected behavior
This routine file activity should not cause errors.
...
Which files are affected by this bug
mydata.gnucash.LCK
Operating system
Windows
Which version of the operating system you are running.
Windows 10
Package
Appimage
Nextcloud Server version
27.0.0
Nextcloud Desktop Client version
5.9.0
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
No response
The text was updated successfully, but these errors were encountered: