adobe acrobat reader dc updater script error

Valued Contributor

does anyone use the Acrobat Reader DC Updater script obtained from the JAMF 'Resources' --> 'Scripts' section?

seems to fail 90% of the time, no matter what version prior to the newest version is installed. Here is a sample details taken from the policy after it failed.

@amartin has this adobe acrobat reader dc updater script been fixed yet? I just grabbed it earlier today and it's nothing but spitting out error when trying to update to current version (see below taken from policy details of one computer that is currently running 20034).

90% of the time this script is causing an error, while 10% of the time it works

i added an additional echo so it also shows it in the policy details
in the 'else' section of the # double check to see if the new version got updated

Script result: Latest Version is: 2020.006.20042
Latest Version Norm is: 20.006.20042
Current installed version is: 20.006.20034
ARCurrVersNormalized: 2000620042
Latest version of the URL is:
Wed Mar 25 16:31:06 EDT 2020: ERROR: Adobe Reader update unsuccessful, version remains at 20.006.20034.


New Contributor II

Even i am facing issue, May be @amartin253 can help here. Below is my logs adding @chris.hansen @donmontalvo @Cornoir Script result: dmgfile=acrobat.dmg
'[' '/usr/bin/uname -p=i386' -o '/usr/bin/uname -p=x86_64' ']'
sw_vers -productVersion
sed 's/[.]/_/g'
userAgent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/535.6.2 (KHTML, like Gecko) Version/5.2 Safari/535.6.2'
echo 'Latest Version is: 2020.012.20041'
Latest Version is: 2020.012.20041
echo 2020.012.20041
sed -e s/20//
'[' -e '/Applications/Adobe Acrobat DC/Adobe' ']'
/usr/bin/defaults read '/Applications/Adobe Acrobat DC/Adobe' CFBundleShortVersionString
echo 'Current installed version is: 17.009.20044'
Current installed version is: 17.009.20044
'[' 20.012.20041 = 17.009.20044 ']'
+ echo 2020.012.20041
sed -e 's/[.]//g' -e s/20//
echo 'ARCurrVersNormalized: 2001220041'
ARCurrVersNormalized: 2001220041
+ echo
echo 'Latest version of the URL is:'
Latest version of the URL is:
'[' 17.009.20044 '!=' 20.012.20041 ']'
+ date
/bin/echo 'Thu Aug 27 07:13:39 EDT 2020: Current Acrobat DC version: 17.009.20044'
+ date
/bin/echo 'Thu Aug 27 07:13:39 EDT 2020: Available Acrobat DC version: 2020.012.20041 => 20.012.20041'
+ date
/bin/echo 'Thu Aug 27 07:13:39 EDT 2020: Downloading newer version.'
/usr/bin/curl -s -o /tmp/acrobat.dmg
/bin/echo 'Thu Aug 27 07:23:11 EDT 2020: Mounting installer disk image.'
/usr/bin/hdiutil attach /tmp/acrobat.dmg -nobrowse -quiet
/bin/echo 'Thu Aug 27 07:23:12 EDT 2020: Installing...'
/usr/sbin/installer -pkg /Volumes/AcrobatDCUpd2001220041/AcrobatDCUpd2001220041.pkg -target /
/bin/sleep 10
+ date
/bin/echo 'Thu Aug 27 07:23:23 EDT 2020: Unmounting installer disk image.'
/usr/bin/hdiutil detach /Volumes/AcrobatDCUpd2001220041 -quiet
/bin/sleep 10
+ date
/bin/echo 'Thu Aug 27 07:23:34 EDT 2020: Deleting disk image.'
/bin/rm /tmp/acrobat.dmg
/usr/bin/defaults read '/Applications/Adobe Acrobat DC/Adobe' CFBundleShortVersionString
'[' 20.012.20041 = 17.009.20044 ']'
/bin/echo 'Thu Aug 27 07:23:34 EDT 2020: ERROR: Adobe Acrobat update unsuccessful, version remains at 17.009.20044.'
/bin/echo --
exit 1

Valued Contributor

I found that sometimes it was because the installed macOS was not compatible with the current version of adobe reader.
Computers running version 17 or 18 of reader weren't compatible with current versions 20.

Valued Contributor

The update packages Adobe publishes themselves fail on me a lot. Glad Jamf added the Retry option. It appears version 20.012.20043 is the latest for Reader & Acrobat, but Adobe only offers 20.012.20041 ATM. So that can cause some hiccups for me.

New Contributor II

@mvu i tried with version 20.012.20041 in my script but it still fail, not idea what need to be changed/modified.

New Contributor II

get it here : Jamf Script Repo

Valued Contributor II

Valued Contributor

Looks like Adobe broke something again?

The requested URL /pub/adobe/reader/mac/AcrobatDC/2100120138/AcroRdrDC_2100120138_MUI.dmg was not found on this server.