Scanning does not start anymore since months - no progress bar or percent value shown

I have two devices: Alice and Bob.

Alice is sending only and has logging data. Only 16 GB of data is stored - the oldest 1GB get deleted regularly by a cronjob so there is always enough space for new data.

Bob is receiving only, has greater than 1.300.000 files already and lots of subfolders, symlinks and hardlinks created by analysis tools running there. The Do-Not-Delete-Option of Syncthing is set, so data removed by the cronjob mentioned before at Alice device are still there on Bobs device.

For 2 or 3 months, Bob’s Syncthing suddenly stoped scanning and thous syncing, too. It is showing the blue “scanning” message, but there is no progress bar or percent value and the task manager is showing a very low total disk read GB value which indicates that all other folders managed by Syncthing are scanned - but not this one I am talking about.

Both device are linux devices. Both devices are running the most recent Syncthing version from the official apt sources.

Bob: v1.27.7, Linux (64-bit Intel/AMD)“Gold Grasshopper”

Can you list and read the files yourself, from a shell or so?

Yes, this is possible. I can list them with ls and they are shown in file managers like dolphin.

Then I suggest going into the log section in Syncthing, enabling model and scanner, running a scan that stalls, and post the logs. We can see if there’s something odd going on.

There is a non ending stream of messages like this, updating each second:

2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_202105160646.log", Sequence:0, Permissions:0644, ModTime:2021-05-16 06:42:22.943867384 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:83764, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:41:04.936962616 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_202105160646.log File{Name:"data_202105160646.log", Sequence:0, Permissions:0644, ModTime:2021-05-16 06:42:22.943867384 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:83764, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:41:04.936962616 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_202112021027.log", Sequence:0, Permissions:0644, ModTime:2021-12-02 10:22:48.812916863 +0100 CET, Version:{[{<Device ID #01>}]}, VersionHash:, Length:93753, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2022-06-25 08:00:03.200374602 +0200 CEST}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_202112021027.log File{Name:"data_202112021027.log", Sequence:0, Permissions:0644, ModTime:2021-12-02 10:22:48.812916863 +0100 CET, Version:{[{<Device ID #01>}]}, VersionHash:, Length:93753, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2022-06-25 08:00:03.200374602 +0200 CEST}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_202205011914.log", Sequence:0, Permissions:0664, ModTime:2022-05-01 19:09:24.975795851 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:67224, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2022-05-02 19:52:00.500802083 +0200 CEST}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_202205011914.log File{Name:"data_202205011914.log", Sequence:0, Permissions:0664, ModTime:2022-05-01 19:09:24.975795851 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:67224, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2022-05-02 19:52:00.500802083 +0200 CEST}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_202010171949.log", Sequence:0, Permissions:0644, ModTime:2020-10-17 19:45:12.354884044 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:25829, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:53:55.974722481 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_202010171949.log File{Name:"data_202010171949.log", Sequence:0, Permissions:0644, ModTime:2020-10-17 19:45:12.354884044 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:25829, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:53:55.974722481 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_202006301433.log", Sequence:0, Permissions:0644, ModTime:2020-06-30 14:28:59.018665794 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:98396, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:53:32.383102649 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_202006301433.log File{Name:"data_202006301433.log", Sequence:0, Permissions:0644, ModTime:2020-06-30 14:28:59.018665794 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:98396, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:53:32.383102649 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_201712251301.log", Sequence:0, Permissions:0644, ModTime:2017-12-25 13:01:45.095709186 +0100 CET, Version:{[{<Device ID #01>}]}, VersionHash:, Length:108906, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:30:03.065741679 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_201712251301.log File{Name:"data_201712251301.log", Sequence:0, Permissions:0644, ModTime:2017-12-25 13:01:45.095709186 +0100 CET, Version:{[{<Device ID #01>}]}, VersionHash:, Length:108906, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2021-12-09 17:30:03.065741679 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 checking: File{Name:"data_202310081222.log", Sequence:0, Permissions:0664, ModTime:2023-10-08 12:17:56.661621793 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:90153, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2023-11-18 09:25:18.522873934 +0100 CET}
2024-05-09 17:03:33 walker/12345-6789A@0xc001502000 to hash: data_202310081222.log File{Name:"data_202310081222.log", Sequence:0, Permissions:0664, ModTime:2023-10-08 12:17:56.661621793 +0200 CEST, Version:{[{<Device ID #01>}]}, VersionHash:, Length:90153, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, NumBlocks:0, BlocksHash:, Platform:{<nil> <nil> <nil> <nil> <nil> <nil>}, InodeChangeTime:2023-11-18 09:25:18.522873934 +0100 CET}

Maybe it is just veeeeery slow and I need to wait 3 or 4 days? Or does <nil> indicates an important error?

That means it’s scanning.

OK - I will keep that running for 3 days and then check if it is finished - or at least a progress indicator is shown…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.