Crash after update to Windows Desktop 3.7.3
I just updated to Windows Desktop Client versoin 3.7.3.45121. I think I was on 3.5.something before this.
I rebooted after the update, and now the client fails to start. More precisely, it starts up, apparently starts to sync, then crashes.
Nextcloud version (eg, 20.0.5): Desktop Client 3.7.3.45121
Operating system and version (eg, Ubuntu 20.04): Windows 11 22H2 Build 22621.1194
I just updated to Windows Desktop Client versoin 3.7.3.45121. I think I was on 3.5.something before this.
I rebooted after the update, and now the client fails to start. More precisely, it starts up, apparently starts to sync, then crashes.
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Update to Nextcloud Desktop Client 3.7.3
- Reboot
- Start Nextcloud Desktop Client
The output of your Nextcloud log in Admin > Logging:
Nextcloud crashes before I can access the menus
I found a log file in %APPDATA%\Roaming\Nextcloud\logs, but it is 52 megabytes in size. I have pasted in the last few lines of the file below. I should note that the file it’s complaining about is related to a conflict resolution that was acting bizarrely previously. The conflict resolution dialog appeared to work but actually had no effect.
I was only able to resolve the conflict by actually deleting the original (older) file and replacing it with the newer (conflict) file. Further, that wasn’t easy to do that - the original older file was marked readonly and I had to remove the readonly flag in order to actually kill it off.
I see from the log file that the file is marked readonly on the server. How did this happen? Is there some easy way to clear this flag?
2023-02-13 16:58:01:278 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\gui\tray\usermodel.cpp:743 ]: Item "Documents/_TMT/AM6442/Arago/AM6442_AragoBuild_AM64x_SK.docx" retrieved resulted in "Not allowed to upload this file because it is read-only on the server, restoring; Restoration Failed: Cannot remove source file"
2023-02-13 16:58:01:278 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\gui\tray\usermodel.cpp:710 ]: Item "Documents/_TMT/AM6442/Arago/AM6442_AragoBuild_AM64x_SK.docx" retrieved resulted in error "Not allowed to upload this file because it is read-only on the server, restoring; Restoration Failed: Cannot remove source file"
2023-02-13 16:58:01:278 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\gui\tray\activitylistmodel.cpp:555 ]: Error successfully added to the notification list: "Documents/_TMT/AM6442/Arago/AM6442_AragoBuild_AM64x_SK.docx" "Not allowed to upload this file because it is read-only on the server, restoring; Restoration Failed: Cannot remove source file" OCC::SyncResult::Undefined OCC::SyncFileItem::SoftError
2023-02-13 16:58:01:280 [ warning nextcloud.sync.filesystem C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\common\filesystembase.cpp:209 ]: Renaming temp file to final failed: "WindowsError: 5: Access is denied."
2023-02-13 16:58:01:280 [ warning nextcloud.sync.propagator.download C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\libsync\propagatedownload.cpp:1252 ]: "Rename failed: C:/Users/brad/Nextcloud/Documents/_TMT/AM6442/Arago/.AM6442_AragoBuild_AM64x_SK.docx.~6b60 => C:/Users/brad/Nextcloud/Documents/_TMT/AM6442/Arago/AM6442_AragoBuild_AM64x_SK.docx"
2023-02-13 16:58:01:280 [ info nextcloud.gui.lockwatcher C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\gui\lockwatcher.cpp:37 ]: Watching for lock of "C:/Users/brad/Nextcloud/Documents/_TMT/AM6442/Arago/AM6442_AragoBuild_AM64x_SK.docx" being released
2023-02-13 16:58:01:280 [ fatal default C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\libsync\owncloudpropagator.cpp:226 ]: ENFORCE: "_state != Finished" in file C:\Users\sysadmin\AppData\Local\Temp\windows-13808\client-building\desktop\src\libsync\owncloudpropagator.cpp, line 226
I found this content in Windows Event Viewer:
Faulting application name: nextcloud.exe, version: 3.7.3.45121, time stamp: 0x63e56468
Faulting module name: nextcloud_csync.dll, version: 0.0.0.0, time stamp: 0x63e55ff8
Exception code: 0xc0000005
Fault offset: 0x000000000001be80
Faulting process id: 0x0xAA0
Faulting application start time: 0x0x1D9400F5D5E8B4F
Faulting application path: C:\Program Files\Nextcloud\nextcloud.exe
Faulting module path: C:\Program Files\Nextcloud\nextcloud_csync.dll
Report Id: b3d8a952-2a71-4a56-a1ab-7299573f774d
Faulting package full name:
Faulting package-relative application ID: