Page 1 of 1

Rebuild checksum?

PostPosted:Fri Aug 19, 2022 4:37 pm
by thiagodalsoto
Hello, for some reason I don't know, I have a problem, at some point during an update the checksum stopped matching.
I have no problem using it because of this, noticed so far!

I searched the forum and couldn't find anything, how could I make the checksum sync again, in order to disappear this error when running the process in Utilities\Repository checker

Is there a rebuild checksum command?

reduced log
Code: Select all
Calculate number of nodes
Documents: 427
Folders: 184
Checking repository integrity
(0%)
...
/okm:root/Manuais/Recursos Humanos/Edição/Apresentação PCC 2019.odp -> Checksum failure for node '6eab68a9-486f-4295-98b6-97c6b1c81ca2' and version '1.0'
/okm:root/Manuais/Recursos Humanos/Edição/Mudanças SAR 2020.odp -> Checksum failure for node '28366e0e-22be-4c33-ba15-77b1c7fa78cf' and version '1.0'
(100%)
/okm:root/Manuais/Recursos Humanos/Edição/PCC VRA Revisado - 2020.odp -> Checksum failure for node '5341763d-551f-433f-beaa-106dce68cd8f' and version '1.1'

Repository check completed!

Path: /okm:root
Fast: true
Versions: true
Checkum: true

Documents: 0
Folders: 183
Size: 0 B
Time: 00:00:03
Version 6.3.11 build d7abb25

thanks

Re: Rebuild checksum?

PostPosted:Mon Aug 29, 2022 7:32 am
by jllort
Have not much sense the checksum of the file changed. We keep the checksum because the application is able to verify nothing changed in the file system -> for example, disk corruption or similar issue. I suggest verifying your documents in the file system.

Re: Rebuild checksum?

PostPosted:Mon Aug 29, 2022 12:04 pm
by thiagodalsoto
Apparently nothing is corrupted, as I said we are using it perfectly.
I suspect this is all due to the fact that I did a fresh install, on a new server, restored the database backup and the local folder.

And in this case now, what would be the best way to solve this error that appears when I check the repository?

Thanks

Re: Rebuild checksum?

PostPosted:Mon Oct 03, 2022 8:08 am
by jllort
Try upgrading to version 6.1.12
What options did you choose in the administration to check the repository,? maybe there's a bug in some combination.

Re: Rebuild checksum?

PostPosted:Mon Oct 03, 2022 5:33 pm
by thiagodalsoto
I just updated to 6.3.12
In fact, when selecting only one option at a time, I don't get any error... when I select the 3 options together I have an invalid checksum return, or when I select both fast and checksum options.

When running them all individually, no errors are returned.

Path: /okm:root
fast: true
Versions: true
Checkum: true

Re: Rebuild checksum?

PostPosted:Sat Oct 22, 2022 9:52 am
by jllort
You should choose only one option, has not been though to choose everything, the fast check is not compatible with the version checkbox, etc... here we should update the user interface option to not allow non-compatible options at the same time.

I think the checksum of the documents is stored in the table OKM_NODE_VERSION -> you can check the checksum of the file with the md5sum command and compare it with what is in the database.