Out of Sync Items dialog empty, deleted items not getting synced

Remote device is showing 2 items out of sync:

image

But the “Out of Sync Items” dialog is empty:

Response to /rest/db/remoteneed:

{
   "files":[
      {
         "deleted":true,
         "invalid":false,
         "modified":"2017-09-17T17:55:47.7601801+01:00",
         "modifiedBy":"PFQTJEK",
         "name":"file.txt",
         "noPermissions":false,
         "permissions":"0",
         "sequence":92799,
         "size":0,
         "type":"FILE"
      },
      {
         "deleted":true,
         "invalid":false,
         "modified":"2017-09-17T17:55:47.7601801+01:00",
         "modifiedBy":"PFQTJEK",
         "name":"somefile.txt",
         "noPermissions":false,
         "permissions":"0",
         "sequence":92800,
         "size":0,
         "type":"FILE"
      }
   ],
   "page":1,
   "perpage":10
}

So looks like it’s getting confused by the deleted files.

The two files in question used to exist on Neutrino, but have since been deleted. They don’t exist on any devices.

/rest/db/file for the first of those files on Neutrino:

{
   "availability":[
      {
         "id":"3MQH4HE-XXX",
         "fromTemporary":false
      },
      {
         "id":"UAL5TFB-XXX",
         "fromTemporary":false
      }
   ],
   "global":{
      "deleted":true,
      "invalid":false,
      "modified":"2017-09-17T17:55:47.7601801+01:00",
      "modifiedBy":"PFQTJEK",
      "name":"file.txt",
      "noPermissions":false,
      "numBlocks":0,
      "permissions":"0",
      "sequence":92799,
      "size":0,
      "type":0,
      "version":[
         "PFQTJEK:2",
         "UAL5TFB:4"
      ]
   },
   "local":{
      "deleted":true,
      "invalid":false,
      "modified":"2017-09-17T17:55:47.7601801+01:00",
      "modifiedBy":"PFQTJEK",
      "name":"file.txt",
      "noPermissions":false,
      "numBlocks":0,
      "permissions":"0",
      "sequence":27730,
      "size":0,
      "type":0,
      "version":[
         "PFQTJEK:2",
         "UAL5TFB:4"
      ]
   }
}

/rest/db/file for that file on my local device:

{
   "availability":[
      {
         "id":"3MQH4HE-XXX",
         "fromTemporary":false
      }
   ],
   "global":{
      "deleted":true,
      "invalid":false,
      "modified":"2017-09-17T17:55:47.7601801+01:00",
      "modifiedBy":"PFQTJEK",
      "name":"file.txt",
      "noPermissions":false,
      "numBlocks":0,
      "permissions":"0",
      "sequence":92799,
      "size":0,
      "type":0,
      "version":[
         "PFQTJEK:2",
         "UAL5TFB:4"
      ]
   },
   "local":{
      "deleted":true,
      "invalid":false,
      "modified":"2017-09-17T17:55:47.7601801+01:00",
      "modifiedBy":"PFQTJEK",
      "name":"file.txt",
      "noPermissions":false,
      "numBlocks":0,
      "permissions":"0",
      "sequence":51367,
      "size":0,
      "type":0,
      "version":[
         "PFQTJEK:2",
         "UAL5TFB:4"
      ]
   }
}
1 Like

It looks like “Docs” isn’t expanded?
It would anyway probably be good to auto-expand if there is only one folder.

The solution is probably as in earlier cases to reset indexes (-reset-deltas). That feels wrong though, I want to know how it happens, but still have no clue as to why or how to investigate further. Ah well, resetting indexes will anyway become the standard on upgrade soon, so maybe I shouldn’t put too much thought into this…

2 Likes

Aha, it never crossed my mind that that was an expandable header, thanks! I’ll see how much of a difference that made tomorrow. I wanted to avoid resetting the delta index in case there was some useful info hiding in there.

maybe related: https://github.com/syncthing/syncthing/issues/4759
I like the auto expanding idea from @imsodin if easy to implement.

This has happened to me as well. It’s somewhat unintuitive.

<span class="pull-right">+</span>

I have already done a fix for tge css issue and auto-expansion. pr will dolor tonight when at a computer again

1 Like

I’ve already reviewed the commit, just waiting for something to merge.

You ok there, Simon?

I wasn’t drinking in the middle of the day, I swear, that’s just my phone typing skills xD

2 Likes

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