Page 1 of 1

How does the file UID (File Storage) match to the document UID?

PostPosted:Thu Jan 27, 2022 4:39 pm
by okmmoko
Hi,
I have the issue with an unsynced SQL-DB vs. file storage because of an system failure. So my SQL is on an older stage as my file storage.
After recovering, I now want to find out, which documents are missing in the DB, but existing in the storage.
The files in the storage seems to have an UID. But this UID seems to be another as the UID of the related document.
I checked it via an example file, which is definitively available and in sync between SQL and Storage. The PDF-file has in the OKM frontend the ID "74be0aeb-bf1c-49d4-ab39-dfde16b46a9f" but the file in the backend is named "0aa6640a-45ef-42eb-b68c-de576d925934". I double-checked it three times. This is exactly the same file. When renaming, I get the same file displayed.

Any thoughts, why/how to get from one UID to the other?
(OKM Version: 6.3.13 - Community edition)

Thanks in advance!

Re: How does the file UID (File Storage) match to the document UID?

PostPosted:Sat Jan 29, 2022 10:37 am
by jllort
Read this section in the documentation https://docs.openkm.com/kcenter/view/ok ... odeversion