[solved] Sync client error while validating patch > update to 0.9.3

OS: Windows 11
Client: v0.9.2 - ad58523870c3c03ec01b0f22800a27c572cf3aa3
Server: 4.0.5 - 406762a4b5bff7b60189291ad4ee16c69a94ecd7 → Ubuntu 22.04.1
Synchronization issue

I get an “errors detected while validating patch error” in the app logs it seems like some ETag missmatch between the server files and the ones downloaded/computed by the client:

2023-01-10T11:23:52.358+0100	INFO	sync-task	There are still some operations not validated	{"count": 24, "first error": "eTag are not similar"}

2023-01-10T11:23:52.358+0100	ERROR	sync-task	Could not validate changes on target	{"error": "eTag are not similar", "errorVerbose": "eTag are not similar\ngithub.com/pydio/cells/common/sync/merger.(*TreePatch).validateOperation\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-patch-validate.go:140\ngithub.com/pydio/cells/common/sync/merger.(*TreePatch).validateWalking.func1\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-patch-validate.go:107\ngithub.com/pydio/cells/common/sync/merger.(*TreeNode).WalkOperations\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-node-operations.go:145\ngithub.com/pydio/cells/common/sync/merger.(*TreeNode).WalkOperations\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-node-operations.go:152\ngithub.com/pydio/cells/common/sync/merger.(*TreePatch).validateWalking\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-patch-validate.go:103\ngithub.com/pydio/cells/common/sync/merger.(*TreePatch).validateEndpoint\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-patch-validate.go:85\ngithub.com/pydio/cells/common/sync/merger.(*TreePatch).Validate.func1\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-patch-validate.go:41\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357"}

2023-01-10T11:23:52.358+0100	ERROR	sync-task	Could not validate patch	{"error": "errors detected while validating patch", "errorVerbose": "errors detected while validating patch\ngithub.com/pydio/cells/common/sync/merger.(*TreePatch).Validate\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/merger/tree-patch-validate.go:56\ngithub.com/pydio/cells/common/sync/proc.(*Processor).Process\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/proc/processor.go:259\ngithub.com/pydio/cells/common/sync/proc.(*ConnectedProcessor).ProcessPatches\n\t/ext-go/1/src/github.com/pydio/cells/common/sync/proc/processor-locker.go:76\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357"}

2023-01-10T11:23:52.358+0100	ERROR	sync-task	Status: Errors detected while validating patch - Progress: 100%

2023-01-10T11:23:52.360+0100	INFO	sync-task	Got Stats for fs:///A:/*****/jelly-music	{"stats": {"HasChildrenInfo":true,"HasSizeInfo":true,"Size":605622834,"Folders":18,"Files":24}}

2023-01-10T11:23:52.552+0100	INFO	sync-task	Got Stats for https://*****/jelly-music	{"stats": {"HasChildrenInfo":false,"HasSizeInfo":true,"Size":605622834,"Folders":0,"Files":0}}

2023-01-10T11:23:52.552+0100	INFO	sync-task	Stats after running patch

2023-01-10T11:23:52.552+0100	ERROR	sync-task	Processing ended with 1 errors!

2023-01-10T11:25:30.475+0100	ERROR	endpoint.cells.remote	Stopping watcher on errorrpc error: code = DeadlineExceeded desc = context deadline exceeded


Any help would be appreciated…

This issue also persists after a full resync, and complete deletion of all files

Hello, thanks for posting !

It is not officially released yet, but can you download this version Index of /pub/cells-sync/release/0.9.3 and retry? There is an eTag incompatibility introduced in server v4, documentation will soon be published on that topic.

Best

Hey, thanks for the quick reply!
I think v0.9.3 does indeed fix the problem :). I will keep an eye out for any further problems and will report anything here.
So far I really like the new cells.

Thanks