Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client 2.5.0. crashes on conflicted files #842

Closed
cyablo opened this issue Nov 16, 2018 · 21 comments
Closed

Client 2.5.0. crashes on conflicted files #842

cyablo opened this issue Nov 16, 2018 · 21 comments

Comments

@cyablo
Copy link

cyablo commented Nov 16, 2018

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

@berkutta
Copy link

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.

@cyablo
Copy link
Author

cyablo commented Nov 16, 2018

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.

@cyablo
Copy link
Author

cyablo commented Nov 19, 2018

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.

@cyablo
Copy link
Author

cyablo commented Nov 20, 2018

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

@cyablo
Copy link
Author

cyablo commented Dec 2, 2018

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.

@cyablo
Copy link
Author

cyablo commented Dec 6, 2018

Still crashing with latest nightly:

https://gist.github.com/cyablo/224639b50a9a7af4a0047110ec7952cf

@cyablo
Copy link
Author

cyablo commented Dec 10, 2018

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)\Nextcloud\nextcloud.exe
Pfad des fehlerhaften Moduls: C:\Program Files (x86)\Nextcloud\nextcloudsync.dll
Berichtskennung: f3c2fd8e-b708-4cd3-93a6-5146db69a0c3
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

@cyablo
Copy link
Author

cyablo commented Feb 4, 2019

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

@cyablo
Copy link
Author

cyablo commented Feb 7, 2019

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

@magneticflux-
Copy link

magneticflux- commented Mar 3, 2019

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

@cyablo
Copy link
Author

cyablo commented May 29, 2019

2.5.3 daily still crashing on changing files...

@DominiqueFuchs
Copy link
Contributor

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)

@cyablo
Copy link
Author

cyablo commented Feb 8, 2020

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.

@vansante
Copy link

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

@vansante
Copy link

vansante commented Apr 7, 2020

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)

@mgallien
Copy link
Collaborator

mgallien commented Jun 4, 2021

Can you test with the latest version ?
If the bug is fixed, can you close the issue ?

@cyablo
Copy link
Author

cyablo commented Jun 4, 2021

tbh, no. I moved lately and my homelab is not up and running yet.

@magneticflux-
Copy link

I can't test because I moved to an external mount instead of syncing local files.

@mgallien
Copy link
Collaborator

mgallien commented Jun 7, 2021

Thanks, let's keep it open until the bot closes it and please if you ever still encounter issues with the desktop client open a new issue

@github-actions
Copy link

github-actions bot commented Jul 5, 2021

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label Jul 5, 2021
@github-actions
Copy link

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants