SHA1 mismatch

(imported topic written by PKLumos)

Long story short, I have a task created that deploys Office 2013. I have tested it in the past and it worked fine on 8.2.1312.

We upgraded to 8.2.1372 recently, and today when I went to deploy Office 2013 using the same task I am now getting the SHA1 mismatch error:

Download error:

“Error processing completed download: Requested SHA1 1082f4969ec88892650d9ba46ce4b14d64ebc2ef does not match actual SHA1 b2f58da956ae509b117a794f50148140db6639bd”

Each time I tried, I got a different actual SHA1 Hash value. I manually downloaded the cached file from the server and generated a SHA1 hash for it on my desktop and it matched the correct ( requested ) one. This tells me the TEM client on the PCs in question are not downloading the file properly. Older, smaller pushes are still working fine. I even re-wrote the Office push again and tried. Same result. ( BTW, same SHA1 hash since I’m using the same files. )

What gives? Thanks.

(imported comment written by sinucus)

Did you upgrade all of your relays as well? I’ve noticed weird problems if a relay did not get upgraded.

(imported comment written by PKLumos)

We do not have any relays. Right now everything just comes straight off the main server. Going to try upgrading to 1409 and see where we get with that. If it works.

(imported comment written by martinc)

Any chance you are using download instead of prefetch? I did see an issue when calculating the sha1 on large deployments with download.

(imported comment written by PKLumos)

No, I am using prefetch. Script is below.

prefetch Office2013ProfessionalPlus.tmp sha1:1082f4969ec88892650d9ba46ce4b14d64ebc2ef size:650218373
http://:52311/Uploads/1082f4969ec88892650d9ba46ce4b14d64ebc2ef/Office2013ProfessionalPlus.tmp

extract Office2013ProfessionalPlus.tmp

//killing any tasks that can interfere

waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM winword.exe

waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM excel.exe

waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM outlook.exe

waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM msaccess.exe

waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM powerpnt.exe

wait __Download\setup.exe

It acts like it never even finishes the download before checking the SHA1. I’ll watch from the console and see it get to around 45% and then immediately error out. Why would the client advance to checking the hash before finishing the download?

(imported comment written by PKLumos)

For now I am able to make this work by using the “download now as” command instead of prefetch.

However, each client PC now appears to retain a copy of the downloaded file in C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite__Download

Will this purge on it’s own, or should I run a delete command against . in that folder at the end of my action script?