Out of Sync message on a freshly installed device

Like the title says, my data on a freshly installed device isn’t getting synced. No matter what I do it is getting stuck in the middle of the process. I already tried rescan, restart of the PC, also switched the folder type temporarly to ‘receive only’.

The other side doesn’t show any unusual:

Any ideas?

Are you low on disk?

Is it possible that you have a large number of files being written to, disrupting sync?

How long have you let it be to sync?

No, I’m not low on disk - this lives on a 2TB drive. Also no other heavy tasks on that machine. I’m already waiting for half of a day after it stopped syncing.

1 Like

Not sure what’s going on here. Post the log?

Debug options to consider (if the log doesn’t show us anything useful without debugs enabled) would include “scanner”, “sync”, and “fs”.

OK, I started a rescan. But nothing unusual to see in the log file. Just posting the last few lines as 10000 lines before looking very similar:

[O3G4E] 2024/11/24 16:01:56.610794 walk.go:425: DEBUG: walker/xcnam-scmtr@0xc00bdae000 checking: File{Name:"xxx.png", Sequence:0, Permissions:0644, ModTime:2024-07-11 01:55:22 +0200 CEST, Version:{[{FUG3BP5 1724585262} {O3G4E4K 1732460516}]}, VersionHash:, Length:6933, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:1970-01-01 01:00:00 +0100 CET}
[O3G4E] 2024/11/24 16:01:56.610794 walk.go:436: DEBUG: walker/xcnam-scmtr@0xc00bdae000 unchanged: File{Name:"xxx.png", Sequence:393378, Permissions:0644, ModTime:2024-07-11 01:55:22 +0200 CEST, Version:{[{FUG3BP5 1724585262}]}, VersionHash:, Length:6933, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false, BlockSize:131072, NumBlocks:1, BlocksHash:ea779b3b310db84ed3a204fbdf377ee28489527031a0c082fa0694d25e054fd5, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:1970-01-01 01:00:00 +0100 CET}
[O3G4E] 2024/11/24 16:01:56.611368 walkfs.go:84: DEBUG: walk: path=xxx.yml
[O3G4E] 2024/11/24 16:01:56.611368 walk.go:425: DEBUG: walker/xcnam-scmtr@0xc00bdae000 checking: File{Name:"xxx.yml", Sequence:0, Permissions:0644, ModTime:2024-07-11 01:55:22 +0200 CEST, Version:{[{FUG3BP5 1724585262} {O3G4E4K 1732460516}]}, VersionHash:, Length:370, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:1970-01-01 01:00:00 +0100 CET}
[O3G4E] 2024/11/24 16:01:56.611368 walk.go:436: DEBUG: walker/xcnam-scmtr@0xc00bdae000 unchanged: File{Name:"xxx.yml", Sequence:311238, Permissions:0644, ModTime:2024-07-11 01:55:22 +0200 CEST, Version:{[{FUG3BP5 1724585262}]}, VersionHash:, Length:370, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false, BlockSize:131072, NumBlocks:1, BlocksHash:bea51d49c70d04714b483c1cf677e42269eec27b3cf6e4dd51669475ea6a8a70, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:1970-01-01 01:00:00 +0100 CET}
[O3G4E] 2024/11/24 16:01:56.611880 walkfs.go:84: DEBUG: walk: path=Eigene Bilder

Just updated my server image to have the same, latest Syncthing version v1.28.0 as on my client. But unfortunately no change: After clicking Rescan, it shows ‘Scanning’ for some minutes, then again ‘Out of Sync’.

From your log snippet it looks like the scanner is working correctly. I would try the “sync” debug option next.

1 Like

This is a bug. Your local and global states are “doubled”. Please try removing the folder within Syncthing on the first device, disconnect and reconnect the remote device to trigger an “Add Folder” pop-up, and then add it again, letting Syncthing rescan the local files. This should fix the broken state.

2 Likes

I got it solved by clearing the database before I could try your recommendations. It took a while to rebuild, but it finally worked for me.

However, thank you, very much all together!

1 Like