MDS startosinstall Error Code 244

Hi,

Trying to run a workflow to upgrade some old lab iMacs (mid 2011 models) from Sierra to High Sierra (10.13.6 -freshly downloaded using softwareupdate --fetch-full-installer and signed). I made a very simple workflow with an Admin account, a few large packages, no scripts. Saved the workflow to a USB volume, ran the run command and when startosinstall runs i get the following error:

“startosinstall failed with return code 244. Please Verify that the recovery partition is not older than the macOS you are trying to install, and verify that the certificate used to sign the install package is not expired”

That message is accurate, because my recovery is technically version 10.11 after wiping the internal drive. But the only way to update the recovery partition, is to upgrade MacOS. My main question is, is MDS not capable of running a workflow to upgrade the OS? Can you only run the workflow after you have upgraded normally/or done a clean install?

Thanks for the help

Edit - Here’s the install.log:

-bash-3.2# vim /Var/log/install.log

Mar 5 10:38:17 iMac osinstallersetupd[627]: OSISChunkedDownload loaded…
Mar 5 10:38:17 iMac osinstallersetupd[627]: BaseSystem clock appears to be correct
Mar 5 10:38:17 iMac osinstallersetupd[627]: OSISSoftwareUpdateController: Using catalog (source: GM Default): https://swscan.apple.com/content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Mar 5 10:38:17 iMac osinstallersetupd[627]: mountDiskImageWithPath: /Volumes/MDS/Deploy/macOS/Install macOS High Sierra.app/Contents/SharedSupport/InstallESD.dmg
Mar 5 10:38:18 iMac osinstallersetupd[627]: OSISSoftwareUpdateController: Loaded catalog https://swscan.apple.com/content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog (692 products)
Mar 5 10:38:20 iMac osinstallersetupd[627]: Mounting disk image complete, results dict = {
“system-entities” = (
{
“content-hint” = EFI;
“dev-entry” = “/dev/disk19s1”;
“potentially-mountable” = 1;
“unmapped-content-hint” = “C12A7328-F81F-11D2-BA4B-00A0C93EC93B”;
“volume-kind” = msdos;
},
{
“content-hint” = “Apple_HFS”;
“dev-entry” = “/dev/disk19s2”;
“mount-point” = “/Volumes/InstallESD”;
“potentially-mountable” = 1;
“unmapped-content-hint” = “48465300-0000-11AA-AA11-00306543ECAC”;
“volume-kind” = hfs;
},
{
“content-hint” = “GUID_partition_scheme”;
“dev-entry” = “/dev/disk19”;
“potentially-mountable” = 0;
“unmapped-content-hint” = “GUID_partition_scheme”;
}
);
}
Mar 5 10:38:20 iMac osinstallersetupd[627]: Mount point /Volumes/InstallESD
Mar 5 10:38:20 iMac osinstallersetupd[627]: Using product <OSISSharedSupportProduct: 0x7fe450f317b0> at distance 10
Mar 5 10:38:21 iMac osinstallersetupd[627]: Using product based on media at /Volumes/InstallESD at distance 5
Mar 5 10:38:21 iMac osinstallersetupd[627]: osinstallersetupd registered client
Mar 5 10:38:21 iMac osinstallersetupd[627]: isConvertableToAPFS: was called on a APFS disk.
Mar 5 10:38:21 iMac osinstallersetupd[627]: Target is not convertible to APFS: This volume is not formatted as Mac OS Extended (Journaled).
Mar 5 10:38:21 iMac osinstallersetupd[627]: Is solid state disk returned: -69808
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2 - Client: osinstallersetupd, UID: 0, EUID: 0, GID: 0, EGID: 0
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2 - ODNodeCreateWithNameAndOptions request, SessionID: 00000000-0000-0000-0000-000000000000, Name: /Local/Target, Options: 0x0
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2 - caller is using legacy node name of ‘/Local/Target’, should use ‘/Local/Default’ instead
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2 - loading configuration for ‘/Local’ from ‘/System/Library/OpenDirectory/Configurations/Local.plist’
Mar 5 10:38:21 iMac opendirectoryd[165]: 627 - Client: ‘osinstallersetupd’, exited with 0 session(s), 0 node(s) and 1 active request(s)
Mar 5 10:38:21 iMac opendirectoryd[165]: Loaded bundle at path ‘/System/Library/OpenDirectory/Modules/PlistFile.bundle’
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2 - unable to find authentication module ‘AppleID’
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2 - unable to find service discovery callback for module ‘PlistFile’
Mar 5 10:38:21 iMac opendirectoryd[165]: Registered subnode with name ‘/Local/Default’
Mar 5 10:38:21 iMac opendirectoryd[165]: Registering for network changes
Mar 5 10:38:21 iMac opendirectoryd[165]: 165.3 - Block: nodestate ‘/Local/Default’
Mar 5 10:38:21 iMac opendirectoryd[165]: failed to open local node for internal record copy
Mar 5 10:38:21 iMac opendirectoryd[165]: 165.3, Module: PlistFile - Node is 10.7 or later
Mar 5 10:38:21 iMac opendirectoryd[165]: Registering for power changes
Mar 5 10:38:21 iMac opendirectoryd[165]: 165.3 - nodestate - flagging ‘/Local/Default’ online
Mar 5 10:38:21 iMac opendirectoryd[165]: 165.3 - Block completed
Mar 5 10:38:21 iMac opendirectoryd[165]: Registering for network power changes
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2, Node: /Local/Default - node assigned UUID - 7CBF589B-BDDC-4711-B19E-650B72881965
Mar 5 10:38:21 iMac opendirectoryd[165]: 627.2, Node: /Local/Default - ODNodeCreateWithNameAndOptions cancelled
Mar 5 10:48:53 iMac powerd[152]: Assertion TimedOut. Type:UserIsActive Name:‘com.apple.iohideventsystem.queue.tickle.4294968191.17’ Id:0x900008002 Process:hidd [System: PrevIdle DeclUser kDisp]
Mar 5 10:48:54 iMac powerd[152]: Display is turned off
Mar 5 10:48:54 iMac powerd[152]: Assertion Summary. Type:NoIdleSleepAssertion Name:‘Imagr is running’ Id:0x100008004 Process:Imagr [System: PrevIdle]
Mar 5 10:48:54 iMac powerd[152]: Assertion Summary. Type:ExternalMedia Name:‘com.apple.powermanagement.externalmediamounted’ Id:0x800008000 Process:powerd [System: PrevIdle]
Mar 5 10:56:22 iMac powerd[152]: Assertion Created. Type:UserIsActive Name:‘com.apple.iohideventsystem.queue.tickle.4294968166.3’ Id:0x900008006 Process:hidd [System: PrevIdle DeclUser kDisp]
Mar 5 10:56:22 iMac powerd[152]: Display is turned on

The macOS installer can have issues running on older recovery partitions. The easiest way around this is to boot into Internet Recovery to a newer (but not newer than the version you are installing) macOS version. The other option is to create a boot drive of High Sierra and run the MDS workflow from there.

tim

Internet recovery did the trick, also needed to tweak the workflow and re-build it on the USB.

If it’s useful for anyone else, I unchecked “Rename Volume to:” and checked “After Installing macOS and Packages”, then changed the option to “Restart”. I also re-downloaded the MacOS install file and made sure to select the most recently downloaded one for the MDS workflow. I’m not sure if these changes had anything to do with the fix, but it was part of the troubleshooting.

Appreciate the help!