MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

SECUREREPAIR : Failed to CreateContentHash

Hi Catalin,

<groan> ... now our manager updater is failing as well.

Here is what I am getting out of the install log file: ( I have attached the entire install log as well )

MSI (s) (9C:38) [11:38:06:931]: SECREPAIR: New Hash Database creation complete.
MSI (s) (9C:38) [11:38:06:962]: SECREPAIR: Failed to open the file:C:\AppData\Roaming\Cetrus\Cetrus Manager Service 4.3.41.0\install\PMServiceInstaller1.cab for computing its hash. Error:2
MSI (s) (9C:38) [11:38:06:962]: SECUREREPAIR: Failed to CreateContentHash of the file: PMServiceInstaller1.cab: for computing its hash. Error: 2
Action start 11:38:06: ProcessComponents.

I have updated your account with the manager install and manager update install files

ManagerService - 4.3.40.0.Install.48 <--- Manually Install this
ManagerService - 4.3.41.0.Install.49 <--- This will auto update once you configure the settings and restart the manager service

-- remember to use ServerID 4 during the manager install

Here is an example of the manager settings file that contains the update string: (should be the same syntax you used for the agent)
( I have changed the server ID to 4 and you will need to put in your company and api token )

<?xml version="1.0" encoding="utf-8"?>
<ManagerSettings>
<Server>
<Details id="4" port="443" url="" />
<Tokens company="YOUR_COMPANY_TOKEN" api="YOUR_API_TOKEN" />
</Server>
<Timeouts connect="1" reconnect="10" timeout="10" TimeSyncInterval="15" MessageQueueCheck="1">
<LogCollection enabled="0" hours="12" />
<!--day="0" => Sunday hour="14" => 2:00pm-->
<Updater day="1" hour="11" minute="38" />
</Timeouts>
<Debug>
<Internal processTestMessages="1" />
</Debug>
</ManagerSettings>

-
NOTE: The process for the update is as follows:
The manager checks server for possible update
if there is an update available
it downloads the .exe and then COPIES that exe to the system temp directory
it then runs the installer from the system temp directory
-

hopefully this won't take as long as you have some experience with our update process now... :-)

Let me know ! Thanks
Attachments
ManagerService.4.3.41.0.Install.49.exe_install.log
(369.15 KiB) Downloaded 470 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECUREREPAIR : Failed to CreateContentHash

I think I forgot the .aip file
Last edited by MLiss@Cetrus.com on Thu Apr 16, 2020 9:28 pm, edited 2 times in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECUREREPAIR : Failed to CreateContentHash

I forgot to add the .aip file
Attachments
PMServiceInstaller.aip
(61.97 KiB) Downloaded 432 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECUREREPAIR : Failed to CreateContentHash

Do you have everything you need for this?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: SECUREREPAIR : Failed to CreateContentHash

Hello Mike,

I apologize for the delayed reply (we have few days off due to Orthodox Easter).

I will start testing this soon and I will let you know as soon as I come to a conclusion.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: SECUREREPAIR : Failed to CreateContentHash

Hello Mike,

I have tried to download the resources (the two Manager installers) to test this, but when I do so it throws the "Resource not found" error.

Could you please reupload them?

From the log file, this seems like a permissions issue:
MSI (s) (9C:38) [11:38:07:540]: Product: Cetrus Manager Service -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\Cetrus. The installation cannot continue. Log on as administrator or contact your system administrator.
Please make sure the installer runs with sufficient privileges.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”