Simon,
Thank you. Spelling out the URL options in the single quotes helped. The documentation just had “…” and I didn’t know what options to include in the URL.
Below is the output. However, the bug may have “escaped”. In desperation, I renamed the directory instead of just touching the file. Changes propagated and the file error message quit. What I DID notice is that the old directory name keeps coming back and it’s related to a Windows/Linux uppercase lowercase problem. On linux, directory was named Admin-linux. On Windows, directory was named Admin-Linux. Could that perennial problem also cause the “no connected device” problem for just ~one~ of the dozens of files ~in~ that directory?
dell@DELL-E6440:~$ curl -X GET -H "X-API-Key: uWk-privacy-redacted" 'http://127.0.0.1:8384/rest/db/file?folder=3zr-redacted&file=computer\Admin_Linux-temp-sync-quarantine\LILO-BIOS-boot-disk-error-codes.txt'
{
"availability": [
{
"id": "OCLV7CX-redacted-for-privacy-G2SCRQR",
"fromTemporary": false
}
],
"global": {
"deleted": false,
"ignored": false,
"invalid": false,
"localFlags": 0,
"modified": "2019-07-19T08:05:30-04:00",
"modifiedBy": "OCLV7CX",
"mustRescan": false,
"name": "computer\\Admin_Linux-temp-sync-quarantine\\LILO-BIOS-boot-disk-error-codes.txt",
"noPermissions": false,
"numBlocks": 1,
"permissions": "0644",
"sequence": 348275,
"size": 4139,
"type": 0,
"version": [
"C2PVFR6:1",
"OCLV7CX:1",
"2YNUA3L:1"
]
},
"local": {
"deleted": false,
"ignored": false,
"invalid": false,
"localFlags": 0,
"modified": "2019-07-19T08:05:30-04:00",
"modifiedBy": "OCLV7CX",
"mustRescan": false,
"name": "computer\\Admin_Linux-temp-sync-quarantine\\LILO-BIOS-boot-disk-error-codes.txt",
"noPermissions": false,
"numBlocks": 1,
"permissions": "0644",
"sequence": 82547,
"size": 4139,
"type": 0,
"version": [
"C2PVFR6:1",
"OCLV7CX:1",
"2YNUA3L:1"
]
}
}
Interestingly, the above queries the new filename, so as expected, no problem. (File is globally owned by the node I renamed it on.) However, querying the old problematic directory name also shows the file globally owned by the same node. …and that is inconsistent with the node wanting to get it from somewhere else (original error message).
{
"availability": [
{
"id": "OCL-redacted-for-privacy-RQR",
"fromTemporary": false
}
],
"global": {
"deleted": true,
"ignored": false,
"invalid": false,
"localFlags": 0,
"modified": "2019-06-16T18:52:23.6857714-04:00",
"modifiedBy": "OCLV7CX",
"mustRescan": false,
"name": "computer\\Admin-Linux\\LILO-BIOS-boot-disk-error-codes.txt",
"noPermissions": false,
"numBlocks": 0,
"permissions": "0",
"sequence": 86865,
"size": 0,
"type": 0,
"version": [
"BHYUWRT:1",
"C2PVFR6:3",
"OCLV7CX:1"
]
},
"local": {
"deleted": true,
"ignored": false,
"invalid": false,
"localFlags": 0,
"modified": "2019-06-16T18:52:23.6857714-04:00",
"modifiedBy": "OCLV7CX",
"mustRescan": false,
"name": "computer\\Admin-Linux\\LILO-BIOS-boot-disk-error-codes.txt",
"noPermissions": false,
"numBlocks": 0,
"permissions": "0",
"sequence": 86865,
"size": 0,
"type": 0,
"version": [
"BHYUWRT:1",
"C2PVFR6:3",
"OCLV7CX:1"
]
}
}