Desktop: Client 2.5.0. crashes on conflicted files

Created on 16 Nov 2018  路  15Comments  路  Source: nextcloud/desktop

I recently upgraded from Nextcloud Client 2.3.3 to 2.5.0. The new Version started to complain about unsolved conflicts on one of my synced Folders and crashes shortly after, every time.

The folder that causes the Problem holds data that is constantly changing (surveillance cams). I had no problems with Client 2.3.3 syncing it. As soon as I disable the Sync for this Folder, 2,5,0 runs just fine.

Btw.: Current daily build has the same problem.

Client:

Client version: 2.5.0v2.5.0 (build 20181112)
Operating system: Windows Server 2016
OS language: German
Installation path of client: C:Program Files (x86)Nextcloud

Server:

Operating system: Debian 8 fully patched
Web server: Apache 2.4.10
Database: MySQL 5.5.62
PHP version: 5.6.38
Nextcloud version: 13.0.7

Logs

Client log: https://gist.github.com/cyablo/b14bd417cb3c522be8fdda8449e030ef

4. to test

Most helpful comment

2.5.1 is still crashing. This is really annoying because I can't sync my surveillance Videos!

All 15 comments

Mine also seems to have a very similiar issue. My client also crashes after updating 2.3.3->2.5 while syncing a directory with a ton of little files in it.

If was thinking about deleting the share and letting it upload all the files fresh from the start to prevent conflicts and maybe solve the crash, but we are talking about > 300 GB of data. This would take ages.

FYI: Deleting the Share from the Client and Folder on the Server and reconfigure them to let the Client resync from scratch does not help either. Still crashing.

Upgraded my Debian to Version 9 to get Nextcloud up to Version 14. Still no luck :(

It really seems to be the big files that also get bigger while syncing which causes the crash. All other folders are working perfectly fine.

Thats what Windows Event Log says:

Name der fehlerhaften Anwendung: nextcloud.exe, Version: 2.5.1.61653, Zeitstempel: 0x5c08c4d5
Name des fehlerhaften Moduls: nextcloudsync.dll, Version: 0.0.0.0, Zeitstempel: 0x5c0893b5
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000035aad
ID des fehlerhaften Prozesses: 0x43c
Startzeit der fehlerhaften Anwendung: 0x01d48d42adfd2d10
Pfad der fehlerhaften Anwendung: C:Program Files (x86)Nextcloudnextcloud.exe
Pfad des fehlerhaften Moduls: C:Program Files (x86)Nextcloudnextcloudsync.dll
Berichtskennung: f3c2fd8e-b708-4cd3-93a6-5146db69a0c3
Vollst盲ndiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

2.5.1 is still crashing. This is really annoying because I can't sync my surveillance Videos!

Also crashing with latest daily:

[OCC::ActivityListModel::addErrorToActivityList Error successfully added to the notification list: "Lokale Datei hat sich w盲hrend der Synchronisation ge盲ndert. Die Synchronisation wird wiederaufgenommen." [OCC::PropagatorCompositeJob::slotSubJobFinished ASSERT: "i >= 0" in file c:\nextcloud\desktop\src\libsync\owncloudpropagator.cpp, line 834 [OCC::PropagateItemJob::scheduleSelfOrChild Starting INSTRUCTION_IGNORE propagation of "db/index (conflicted copy 2018-11-15 232545).dat" by OCC::PropagateIgnoreJob(0x20c2f55c950) [OCC::PropagateItemJob::done Could not complete propagation of "db/index (conflicted copy 2018-11-15 232545).dat" by OCC::PropagateIgnoreJob(0x20c2f55c950) with status 5 and error: "Konflikt: Serverversion heruntergeladen, lokale Kopie umbenannt und nicht hochgeladen." [OCC::ActivityWidget::slotItemCompleted Item "db/index (conflicted copy 2018-11-15 232545).dat" retrieved resulted in "Konflikt: Serverversion heruntergeladen, lokale Kopie umbenannt und nicht hochgeladen." [OCC::ActivityWidget::slotItemCompleted Item "db/index (conflicted copy 2018-11-15 232545).dat" retrieved resulted in error "Konflikt: Serverversion heruntergeladen, lokale Kopie umbenannt und nicht hochgeladen." [OCC::ActivityListModel::addErrorToActivityList Error successfully added to the notification list: "Konflikt: Serverversion heruntergeladen, lokale Kopie umbenannt und nicht hochgeladen." [OCC::PropagatorCompositeJob::slotSubJobFinished ASSERT: "i >= 0" in file c:\nextcloud\desktop\src\libsync\owncloudpropagator.cpp, line 834

I'm having the same issue syncing files that are being modified. This is the log, just before the application segfaults:

[OCC::PropagateItemJob::done    Could not complete propagation of "%MY_FILE%.mkv" by OCC::PropagateUploadFileNG(0x55872905a4c0) with status 3 and error: "Local file changed during syncing. It will be resumed."
[OCC::ActivityWidget::slotItemCompleted         Item  "%MY_FILE%.mkv"  retrieved resulted in  "Local file changed during syncing. It will be resumed."                                
[OCC::ActivityWidget::slotItemCompleted         Item  "%MY_FILE%.mkv"  retrieved resulted in error  "Local file changed during syncing. It will be resumed."                          
[OCC::ActivityListModel::addErrorToActivityList         Error successfully added to the notification list:  "Local file changed during syncing. It will be resumed."                                                                
[OCC::PropagatorCompositeJob::slotSubJobFinished        ASSERT: "i >= 0" in file /build/nextcloud-client-EoHczf/nextcloud-client-2.5.2/src/libsync/owncloudpropagator.cpp, line 834

I'm using the latest beta 2.5.2 to see if that would fix it, but it still happens on the latest stable 2.5.1.

Details:

  • Ubuntu 18.10, fully patched
  • Nextcloud server 15.0.5 running Docker latest tag
  • MariaDB backend, Docker latest tag
  • Traefik 1.7 reverse proxy also running in Docker, compression enabled if in Accept-Encoding

2.5.3 daily still crashing on changing files...

The log files indicate that the issue discussed here was resolved by #1427

In case you're still struggling with this issue feel free to try the daily build (fix is merged in master, not yet in a stable release - following soon)

Whit latest WIndows-Client nightlies, the bug seems to be back (or a similar one). Client crashes when trying to sync a directory with changing files.

Same here, some of my customers experience a crash on 2.6.x clients with the following log lines last:

[OCC::PropagateItemJob::done    Could not complete propagation of "Familie foto's/2020/DSC_2286.NEF" by OCC::PropagateUploadFileV1(0x2ce418b7520) with status 1 and error: "Operation canceled"
[OCC::ActivityWidget::addError  Item  "Z:\\Pictures"  retrieved resulted in  "Operation canceled"
[OCC::ActivityListModel::addErrorToActivityList     Error successfully added to the notification list:  "Operation canceled"
[OCC::ActivityWidget::slotItemCompleted     Item  "Familie foto's/2020/DSC_2286.NEF"  retrieved resulted in  "Operation canceled"
[OCC::ActivityWidget::slotItemCompleted     Item  "Familie foto's/2020/DSC_2286.NEF"  retrieved resulted in error  "Operation canceled"
[OCC::ActivityListModel::addErrorToActivityList     Error successfully added to the notification list:  "Operation canceled"
[OCC::PropagateItemJob::done    Could not complete propagation of "Familie foto's/2020/DSC_2286.NEF" by OCC::PropagateUploadFileV1(0x2ce418b7520) with status 3 and error: "Operation canceled"
[OCC::ActivityWidget::slotItemCompleted     Item  "Familie foto's/2020/DSC_2286.NEF"  retrieved resulted in  "Operation canceled"
[OCC::ActivityWidget::slotItemCompleted     Item  "Familie foto's/2020/DSC_2286.NEF"  retrieved resulted in error  "Operation canceled"
[OCC::ActivityListModel::addErrorToActivityList     Error successfully added to the notification list:  "Operation canceled"
[OCC::PropagatorCompositeJob::slotSubJobFinished    ASSERT: "i >= 0" in file C:\stack\windows\desktop\src\libsync\owncloudpropagator.cpp, line 835
[OCC::PropagateItemJob::done    Could not complete propagation of "Familie foto's/2020/DSC_2286.NEF" by OCC::PropagateUploadFileV1(0x2ce418b7520) with status 6 and error: "Operation canceled"
[OCC::ActivityWidget::slotItemCompleted     Item  "Familie foto's/2020/DSC_2286.NEF"  retrieved resulted in  "Operation canceled"
[OCC::ActivityWidget::slotItemCompleted     Item  "Familie foto's/2020/DSC_2286.NEF"  retrieved resulted in error  "Operation canceled"
[OCC::ActivityListModel::addIgnoredFileToList   First checking for duplicates then add file to the notification list of ignored files:  "Familie foto's/2020/DSC_2286.NEF"
[OCC::PropagatorCompositeJob::slotSubJobFinished    ASSERT: "i >= 0" in file C:\stack\windows\desktop\src\libsync\owncloudpropagator.cpp, line 835

FYI: I was able to prevent this error by setting the server's chunkingParallelUploadDisabled capability to true.

This suggests to me that there is something wrong when multiple threads are uploading the same file (but different chunks).

It seems to be triggered when a chunk upload request encounters an unexpected status code (in my case a 405)

Was this page helpful?
0 / 5 - 0 ratings