Local changes/ additions won't get reverted

This is an addition to the last thread I made about the same problem Local changes/ additions can't be reverted

I have recorded the issue (please don’t mind the song, I forgot to turn it off):

Suggest you enable model/scanner debugging and capture the logs, but at the surface looks like a permissions issue.

Here are the logs when I press on revert local changes

[7M6ZH] 2021/04/13 00:26:44.052012 folder.go:199: DEBUG: receiveonly/FL Studio@0x40055fe380 Running something due to request
[7M6ZH] 2021/04/13 00:26:44.052219 folder_recvonly.go:70: INFO: Reverting folder 0x82cce0
[7M6ZH] 2021/04/13 00:26:44.165604 progressemitter.go:290: DEBUG: progress emitter: bytes completed for FL Studio: 0
[7M6ZH] 2021/04/13 00:26:44.166373 indexsender.go:123: DEBUG: indexSender@0x4003609180 for FL Studio to 3HDX5YZ-H5YW5V4-3KUMU2F-DIBWNVC-UT4QKHA-REFAM3M-G3RZJNR-LOX35QS at 192.168.178.20:22000-192.168.178.21:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256: Sending 6 files (<28132 bytes)
[7M6ZH] 2021/04/13 00:26:44.167165 model.go:935: DEBUG: model@0x400010a1a0 Completion(3HDX5YZ-H5YW5V4-3KUMU2F-DIBWNVC-UT4QKHA-REFAM3M-G3RZJNR-LOX35QS, "FL Studio"): map[completion:100 globalBytes:560865141 globalItems:130 needBytes:0 needDeletes:0 needItems:0 sequence:262]
[7M6ZH] 2021/04/13 00:26:44.591133 folder_sendrecv.go:160: DEBUG: receiveonly/FL Studio@0x40055fe380 pulling
[7M6ZH] 2021/04/13 00:26:44.592101 folder_sendrecv.go:254: DEBUG: receiveonly/FL Studio@0x40055fe380 copiers: 2 pullerPendingKiB: 32768
[7M6ZH] 2021/04/13 00:26:44.593715 folder_sendrecv.go:1199: DEBUG: receiveonly/FL Studio@0x40055fe380 taking shortcut on Angery.flp
[7M6ZH] 2021/04/13 00:26:44.603820 folder_sendrecv.go:1199: DEBUG: receiveonly/FL Studio@0x40055fe380 taking shortcut on Ethernal/Cymatics - Diamonds 808 13 - E.wav
[7M6ZH] 2021/04/13 00:26:44.616216 folder_sendrecv.go:410: DEBUG: receiveonly/FL Studio@0x40055fe380 Handling directory My Love
[7M6ZH] 2021/04/13 00:26:44.617105 folder_sendrecv.go:701: DEBUG: receiveonly/FL Studio@0x40055fe380 parent not missing My Love
[7M6ZH] 2021/04/13 00:26:44.622028 folder_sendrecv.go:587: DEBUG: need dir
 Directory{Name:"My Love", Sequence:254, Permissions:0755, ModTime:2021-04-04 20:58:31.037959 +0200 CEST, Version:{[{3HDX5YZ 1618001054}]}, VersionHash:, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false}
 Directory{Name:"My Love", Sequence:1592, Permissions:0777, ModTime:2021-04-09 22:44:53.4519845 +0200 CEST, Version:{[]}, VersionHash:, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false}
[7M6ZH] 2021/04/13 00:26:44.631360 folder_sendrecv.go:1199: DEBUG: receiveonly/FL Studio@0x40055fe380 taking shortcut on My Love/FL.flp
[7M6ZH] 2021/04/13 00:26:44.653941 folder_sendrecv.go:1199: DEBUG: receiveonly/FL Studio@0x40055fe380 taking shortcut on My Love/My Love_Kuba Oms Vocal Stem unMASTERED.L.wav
[7M6ZH] 2021/04/13 00:26:44.657171 folder_sendrecv.go:1199: DEBUG: receiveonly/FL Studio@0x40055fe380 taking shortcut on My Love/My Love_Kuba Oms Vocal Stem unMASTERED.R.wav
[7M6ZH] 2021/04/13 00:26:44.743727 folder_sendrecv.go:193: DEBUG: receiveonly/FL Studio@0x40055fe380 changed 6 on try 1
[7M6ZH] 2021/04/13 00:26:44.743967 folder_sendrecv.go:254: DEBUG: receiveonly/FL Studio@0x40055fe380 copiers: 2 pullerPendingKiB: 32768
[7M6ZH] 2021/04/13 00:26:44.745411 folder_sendrecv.go:193: DEBUG: receiveonly/FL Studio@0x40055fe380 changed 0 on try 2
[7M6ZH] 2021/04/13 00:26:44.745886 progressemitter.go:290: DEBUG: progress emitter: bytes completed for FL Studio: 0
[7M6ZH] 2021/04/13 00:26:44.746790 model.go:935: DEBUG: model@0x400010a1a0 Completion(3HDX5YZ-H5YW5V4-3KUMU2F-DIBWNVC-UT4QKHA-REFAM3M-G3RZJNR-LOX35QS, "FL Studio"): map[completion:100 globalBytes:560865141 globalItems:130 needBytes:0 needDeletes:0 needItems:0 sequence:262]
[7M6ZH] 2021/04/13 00:26:44.748738 indexsender.go:123: DEBUG: indexSender@0x4003609180 for FL Studio to 3HDX5YZ-H5YW5V4-3KUMU2F-DIBWNVC-UT4QKHA-REFAM3M-G3RZJNR-LOX35QS at 192.168.178.20:22000-192.168.178.21:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256: Sending 6 files (<28282 bytes)
[7M6ZH] 2021/04/13 00:26:45.706127 service.go:340: INFO: Established secure connection to SUOFMVS-3QIZODV-27RGFKB-V24UCNN-3FNCPSO-DCPJTU6-CEQBHYC-GHB4FAP at 192.168.178.20:22000-192.168.178.40:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256
[7M6ZH] 2021/04/13 00:26:45.710340 model.go:2253: INFO: Device SUOFMVS-3QIZODV-27RGFKB-V24UCNN-3FNCPSO-DCPJTU6-CEQBHYC-GHB4FAP client is "syncthing v1.14.0" named "OnePlus 8 Pro" at 192.168.178.20:22000-192.168.178.40:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256
[7M6ZH] 2021/04/13 00:26:45.712851 indexsender.go:276: DEBUG: Device SUOFMVS-3QIZODV-27RGFKB-V24UCNN-3FNCPSO-DCPJTU6-CEQBHYC-GHB4FAP folder "Musik" (Musik) is delta index compatible (mlv=1703)
[7M6ZH] 2021/04/13 00:26:45.713556 indexsender.go:39: DEBUG: Starting indexSender for Musik to SUOFMVS-3QIZODV-27RGFKB-V24UCNN-3FNCPSO-DCPJTU6-CEQBHYC-GHB4FAP at 192.168.178.20:22000-192.168.178.40:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256 (slv=1703)
[7M6ZH] 2021/04/13 00:26:46.174320 progressemitter.go:290: DEBUG: progress emitter: bytes completed for Musik: 0
[7M6ZH] 2021/04/13 00:26:46.175106 model.go:935: DEBUG: model@0x400010a1a0 Completion(SUOFMVS-3QIZODV-27RGFKB-V24UCNN-3FNCPSO-DCPJTU6-CEQBHYC-GHB4FAP, "Musik"): map[completion:100 globalBytes:7155466209 globalItems:771 needBytes:0 needDeletes:0 needItems:0 sequence:6354]
[7M6ZH] 2021/04/13 00:26:54.633096 folder.go:208: DEBUG: receiveonly/FL Studio@0x40055fe380 Scan due to watcher
[7M6ZH] 2021/04/13 00:26:54.633281 folder.go:414: DEBUG: receiveonly/FL Studio@0x40055fe380 scanning
[7M6ZH] 2021/04/13 00:26:54.638198 walk.go:112: DEBUG: Walk [My Love] Matcher/[]@0x4000171560
[7M6ZH] 2021/04/13 00:26:54.642067 walk.go:432: DEBUG: dir: My Love Directory{Name:"My Love", Sequence:0, Permissions:0777, ModTime:2021-04-09 22:44:53.4519845 +0200 CEST, Version:{[{3HDX5YZ 1618001054} {7M6ZHSX 1618266414}]}, VersionHash:, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false}
[7M6ZH] 2021/04/13 00:26:54.644764 walk.go:397: DEBUG: rescan: File{Name:"My Love/FL.flp", Sequence:1599, Permissions:0644, ModTime:2021-04-04 20:58:31.0179408 +0200 CEST, Version:{[{3HDX5YZ 1618001054}]}, VersionHash:, Length:434158, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false, BlockSize:131072, Blocks:[Block{0/131072/697398970/c061e735bc9ee974ed303e724dc260f2650116af9749269c73928d921c5c0063} Block{131072/131072/2245421890/f5273e6d213cdce7a3b4f72d44f9731b03eef0a11aa6003b0c590898eea783cf} Block{262144/131072/4135519280/49c7ac11c733c9e153e5eae1f8f3c34ec330576bc23b1403cb062bd20291b2a5} Block{393216/40942/164009561/645e4d6a5dd71e4c1001bfcc94f0283072a2799ee6dceab7eddff78d8c33c9a4}], BlocksHash:938f79fcf6775d54115663f0bd1c8d14f553470bbbc8d6b61f4568b54a75cb7c} 1617562711 -rwxrwxrwx
[7M6ZH] 2021/04/13 00:26:54.645024 walk.go:400: DEBUG: to hash: My Love/FL.flp File{Name:"My Love/FL.flp", Sequence:0, Permissions:0777, ModTime:2021-04-04 20:58:31.0179408 +0200 CEST, Version:{[{3HDX5YZ 1618001054} {7M6ZHSX 1618266414}]}, VersionHash:, Length:434158, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, Blocks:[], BlocksHash:}
[7M6ZH] 2021/04/13 00:26:54.651328 walk.go:397: DEBUG: rescan: File{Name:"My Love/My Love_Kuba Oms Vocal Stem unMASTERED.L.wav", Sequence:1600, Permissions:0644, ModTime:2020-09-27 15:06:44 +0200 CEST, Version:{[{3HDX5YZ 1618001054}]}, VersionHash:, Length:33789844, Deleted:false, Invalid:false, LocalFlags:0x0, NoPermissions:false, BlockSize:131072, Blocks:[Block{0/131072/1827530903/606a664db823c3573629a0b1177f30bf7c67bdfb55cd0f6c0c87aa188b57df7c} Block{131072/131072/1679697170/3c12b18efbaa7f5626e83144504a8eb4505d07246128e708e6ff93744fbfab65} Block{262144/131072/3360934493/d13eb4b8c8fd4079b108f6750dd0d8832e865d9abecc4746db197372ceaebf2b} Block{393216/131072/3819106115/c7aa07232f2f5be0f9efb54763c58f712a520bc59cc022aedc4575770bb52d6e} Block{524288/131072/2871700811/122b383299d7a8d35975a189aa1868cd9f6eae8f007c62ae20033c9e877389d0} Block{655360/131072/1757280450/efde2a27ad06b8666ae39b4cad8f86027225bcaa02ce6f68c6ede8a0dcecb12b} Block{786432/131072/3726744115/4784846aa2c236ee5cf1ef4540405f68651eb96b50008b8ef91669eacd472f15} Block{33292288/131072/3004380203/0367ef95cd11cbe0447928e80c148ab7e2a30d4d26b1508545c0f529f6e593fc} Block{33423360/131072/1688898877/67cc0e21a06d51e37e779d48ced6f099a9c27ab299a2d1e17870dbb1ef076a5c} Block{33554432/131072/494107258/bdf6459fd9d4c809fd4bb39ce6eb09e727427e348857d0cad20aa03c7b8889b3} Block{33685504/104340/3602074584/08aea4b80253eaf307dd6c71e20e39867ecbf4ab6b7191f0a91fa2bda0f23a29}], BlocksHash:f3e228b2829fb11e65c5384fd19f335925c3cc88527dfeba2614d7bffea01a7f} 1601212008 -rwxrwxrwx
[7M6ZH] 2021/04/13 00:26:54.661991 walk.go:400: DEBUG: to hash: My Love/My Love_Kuba Oms Vocal Stem unMASTERED.R.wav File{Name:"My Love/My Love_Kuba Oms Vocal Stem unMASTERED.R.wav", Sequence:0, Permissions:0777, ModTime:2020-09-27 15:06:48 +0200 CEST, Version:{[{3HDX5YZ 1618001054} {7M6ZHSX 1618266414}]}, VersionHash:, Length:33789844, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, BlockSize:131072, Blocks:[], BlocksHash:}
[7M6ZH] 2021/04/13 00:26:54.662333 walk.go:187: DEBUG: real to hash: My Love/FL.flp
[7M6ZH] 2021/04/13 00:26:54.662837 walk.go:187: DEBUG: real to hash: My Love/My Love_Kuba Oms Vocal Stem unMASTERED.L.wav
[7M6ZH] 2021/04/13 00:26:54.750854 walk.go:187: DEBUG: real to hash: My Love/My Love_Kuba Oms Vocal Stem unMASTERED.R.wav
[7M6ZH] 2021/04/13 00:26:56.639223 walk.go:171: DEBUG: Walk FL Studio [My Love] current progress 33857518/68013847 at 0.0 MiB/s (49%)
[7M6ZH] 2021/04/13 00:26:58.499948 walk.go:165: DEBUG: Walk progress done FL Studio [My Love] Matcher/[]@0x4000171560
[7M6ZH] 2021/04/13 00:26:58.512861 indexsender.go:123: DEBUG: indexSender@0x4003609180 for FL Studio to 3HDX5YZ-H5YW5V4-3KUMU2F-DIBWNVC-UT4QKHA-REFAM3M-G3RZJNR-LOX35QS at 192.168.178.20:22000-192.168.178.21:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256: Sending 4 files (<27334 bytes)
[7M6ZH] 2021/04/13 00:26:58.513509 folder.go:491: DEBUG: receiveonly/FL Studio@0x40055fe380 finished scanning, detected 4 changes
[7M6ZH] 2021/04/13 00:27:00.192265 progressemitter.go:290: DEBUG: progress emitter: bytes completed for FL Studio: 0
[7M6ZH] 2021/04/13 00:27:00.193504 model.go:935: DEBUG: model@0x400010a1a0 Completion(3HDX5YZ-H5YW5V4-3KUMU2F-DIBWNVC-UT4QKHA-REFAM3M-G3RZJNR-LOX35QS, "FL Studio"): map[completion:100 globalBytes:560865141 globalItems:130 needBytes:0 needDeletes:0 needItems:0 sequence:262]
[7M6ZH] 2021/04/13 00:27:00.872600 folder.go:195: DEBUG: sendonly/HTMl@0x40055fe700 Scanning due to timer
[7M6ZH] 2021/04/13 00:27:00.872873 folder.go:414: DEBUG: sendonly/HTMl@0x40055fe700 scanning
[7M6ZH] 2021/04/13 00:27:00.876057 walk.go:112: DEBUG: Walk [] Matcher/[]@0x4000171680
[7M6ZH] 2021/04/13 00:27:00.896757 walk.go:270: DEBUG: ignored (internal): .stfolder
[7M6ZH] 2021/04/13 00:27:00.932970 walk.go:165: DEBUG: Walk progress done HTMl [] Matcher/[]@0x4000171680
[7M6ZH] 2021/04/13 00:27:00.991615 folder.go:491: DEBUG: sendonly/HTMl@0x40055fe700 finished scanning, detected 0 changes
[7M6ZH] 2021/04/13 00:27:00.991967 folder.go:291: DEBUG: sendonly/HTMl@0x40055fe700 next rescan in 1m3.794853085

Seems like some other software is modifying the files as they arrive.

The mod. time isn’t updated to “now” when scanning though. Maybe something fails when setting the modification time or permissions: Reverting shortcuts files, i.e. only mod. time or permissions are adjusted. Then immediately afterwards it does rescan those files. Enabling db debug logging would show what timestamps exactly are recorded in each of these steps.

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