Munki, Adobe CC and Catalina Beta

313 views
Skip to first unread message

Gregory Neagle

unread,
Sep 5, 2019, 12:42:20 PM9/5/19
to 'Gregory Neagle' via munki-discuss
There appears to be a pretty serious issue with installing Adobe CC packages via Munki on the Catalina Beta.

Installation generally fails except in this specific scenario:

1) Machine is at the loginwindow
2) You ssh in and run `managedsoftwareupdate` (to download the installer), then `managedsoftwareupdate --installonly` (to install it).

It fails if someone is logged in, or if one of the "normal" workflows at the loginwindow (which is similar to running it with `managedsoftwareupdate --auto`) is used.
It also fails if you run `managedsoftwareupdate --auto` at the loginwindow.

That's perplexing, because the _exact same installer code_ runs via `managedsoftwareupdate --installonly` and `managedsoftwareupdate --auto` -- the only difference I can think of is that `managedsoftwareupdate --auto` at the loginwindow causes MunkiStatus to be launched.

As an additional experiment I modified the pkginfo for an Adobe CC installer, removing the "installer_type" key and value. This causes Munki to bypass all of the Adobe-specific installation code, and just use `/usr/sbin/installer` to install the package. Success and failure follows the same patterns as when Munki calls the Adobe installer tools directly instead of using /usr/sbin/installer to install the package.

I find this issue very difficult to understand. Adobe's logging isn't a lot of help. (At the loginwindow, the relevant log is in /var/root/Library/Logs/PDApp*.log; if there is a GUI user the relevant logs are in the _current GUI user's_ home (yes, even though Munki is installing as root).

In a successful install, you'll see a bit like this:

09/03/19 15:54:19:102 | [INFO] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1530014 | Bootstrapper launch location is :: /Volumes/Photoshop CC (20.0.4)_Install/Photoshop CC (20.0.4)_Install.pkg/Contents/Resources//ASU2/Install.dylib/Contents/MacOS/Install
09/03/19 15:54:19:105 | [INFO] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1530014 | Build Version - 1.15.0.68
09/03/19 15:54:19:105 | [INFO] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1530014 | Logging Level verbosity Set  to 4
09/03/19 15:54:19:105 | [FATAL] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1530014 | Failed to launch the Bootstrapper process.Stopping the installation process.
09/03/19 15:54:19:105 | [WARN] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1530014 | CCP ASU installation failed with ErrorCode (81). Ignoring this ASU failure.

Note that even though there is a "FATAL" entry which claims it will be "Stopping the installation process" the install continues and is successful.
For an installation failure, the log starts the same way, but we get a different FATAL line:

09/04/19 21:22:57:087 | [INFO] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1840356 | Bootstrapper launch location is :: /Volumes/Photoshop CC (20.0.4)_Install/Photoshop CC (20.0.4)_Install.pkg/Contents/Resources//ASU/Install.dylib/Contents/MacOS/Install
09/04/19 21:22:57:209 | [INFO] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1840356 | Build Version - 1.15.0.68
09/04/19 21:22:57:209 | [INFO] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1840356 | Logging Level verbosity Set  to 4
09/04/19 21:22:57:209 | [FATAL] |  | ASU | DeploymentManager | DeploymentManager |  |  | 1840356 | The Bootstrapper Process return code is (6).Stopping the installation process.
09/04/19 21:22:57:209 | [INFO] |  | ASU | DeploymentManager | AAMEEUtilities |  |  | 1840356 | Preffered languages returned from the OS api call (en)

And in this case, the installation is really aborted.

So the key is -- what is causing the Bootstrapper Process to return code 6?

But my best guess is that there is some other process running that the "Bootstrapper Process" doesn't like. But the logging doesn't help us know what that might be.

-Greg

Steve Maser

unread,
Sep 5, 2019, 2:06:26 PM9/5/19
to munki-discuss
We are opening a ticket with Apple to see if they have any suggestions for any kind of better debug logging here in the betas.  If we get something useful, we'll share!

Gregory Neagle

unread,
Sep 5, 2019, 2:09:22 PM9/5/19
to 'Gregory Neagle' via munki-discuss
I can reproduce this issue with no Munki code involved at all:

On a machine running Catalina 19A546d:
Log in as a GUI user.
Copy an Adobe CC installer pkg to /Users/Shared.
SSH in and become root.

root# installer -pkg /Users/Shared/Photoshop.pkg -target /
installer: Package name is Photoshop CC (20.0.4)
installer: Upgrading at base path /
installer: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “Photoshop.pkg”.)


--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/77C6F448-E0A1-4746-8FD9-81B99A84BBC0%40mac.com.

Gregory Neagle

unread,
Sep 5, 2019, 2:11:25 PM9/5/19
to 'Gregory Neagle' via munki-discuss
At the loginwindow, installing the pkg succeeds _unless_ MunkiStatus is running.

So it appears that command-line installs fail if any GUI app (other than the loginwindow) is running.

-Greg

Gregory Neagle

unread,
Sep 5, 2019, 2:19:53 PM9/5/19
to munki-...@googlegroups.com
New data point: install succeeds when run from a Terminal in the GUI session. 

IOW:

Log into a GUI session with an admin account
Open Terminal.app and:

$ sudo installer -pkg /Users/Shared/Photoshop.pkg -target /
installer: Package name is Photoshop CC (20.0.4)
installer: Upgrading at base path /
installer: The upgrade was successful.

Gregory Neagle

unread,
Sep 5, 2019, 4:50:00 PM9/5/19
to 'Gregory Neagle' via munki-discuss
Another data point:

I tried various incantations of `launchctl bsexec` and `launchctl asuser` to attempt to run the install process in the same "Mach bootstrap context" as the current GUI user. It made no difference, and the install still failed.

-Greg

Steve Maser

unread,
Sep 12, 2019, 9:56:20 AM9/12/19
to munki-discuss
No difference on our end with the latest beta.   FWIW.
-Greg

-Greg

To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

Beth Shirk

unread,
Sep 12, 2019, 9:59:15 AM9/12/19
to munki-...@googlegroups.com
Same here, sadly.

To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/2cf1ceb9-6411-4c40-a9e5-5cef118a8ebb%40googlegroups.com.

Daniel Moore

unread,
Oct 9, 2019, 12:51:12 PM10/9/19
to munki-...@googlegroups.com
Are there any updates on the Adobe issues? What kind of help is needed?

Daniel Moore

unread,
Oct 17, 2019, 8:32:55 AM10/17/19
to munki-...@googlegroups.com
I was able to successfully install the Creative Cloud Desktop App on Catalina (19A602) with Munki in a GUI session and at the login window with bootstrap mode. The pkg was built in the Adobe admin console yesterday and contains version 5.0.0.354 of the Creative Cloud app. Before importing to Munki, I ran xattr -d -r com.apple.quarantine /path/to/unzipped/adobepkg. Munki version used for import and on the client is 3.6.3.3784. 

Steve Maser

unread,
Oct 17, 2019, 9:15:30 AM10/17/19
to munki-discuss
From our testing at the moment, if you redownload all the CC packages from the Adobe Admin Console -- they should now install

*EXCEPT* -- Acrobat DC.    Which is weird -- even *Reader* DC installs.

We are getting ready to open a ticket to Adobe to ask what is up with Acrobat DC.
-Greg

-Greg

To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages