Skip to main content
Solved

/OS X Install Data is not a directory (10.10 to 10.11 - Self Service).

  • November 2, 2015
  • 18 replies
  • 48 views

Forum|alt.badge.img+14
  • Contributor
  • 388 replies

Hello everyone!

I'm trying to install OS X 10.11 via Self Service and I'm having this error. Using OS X 10.11 works fine, but 10.11.1 does not.

This is what I've done so far, testing is being done on OS X 10.10.5.

  1. Create a policy that caches the 10.11 installer .pkg (created with createOSXinstallPkg)
  2. Create another policy that installs the cached package and reboots to the installer. I get the popup "This computer is scheduled to be rebooted", but it never does.

jamf.log:

optional image ALT text

Cache the Installer

optional image ALT text

Install Cached packages

optional image ALT text

optional image ALT text

Has anyone else experience this error?

Sidenote

Using a smart group to find cached packages does not work for me. I just get zero results.

optional image ALT text

Best answer by Aziz

The new update for createOSXinstallPkg fixed my issue.

18 replies

Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • November 2, 2015

Recreating installer with createOSXinstallPkg.


Forum|alt.badge.img+11
  • Valued Contributor
  • 133 replies
  • November 2, 2015

@Abdiaziz We had this issue as well and the response from JAMF was to initiate the restart via Script and not policy. The bad thing about that is then you can't use the authenticated restart to bypass FileVault. There is a thread somewhere here on JAMFNation that discusses it and I will look for it when I return to the office tomorrow.


Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • November 3, 2015

@FritzsCorner Thanks! It it just a simple restart script, or is there more to it?


Forum|alt.badge.img+11
  • Valued Contributor
  • 133 replies
  • November 3, 2015

@Abdiaziz I modified the script that @rtrouton has listed on his Github to work in my environment. Basically the reboot just needed to be triggered via the script using shutdown -r now but I liked the other stuff that @rtrouton had done so I decided to go with his script.

https://github.com/rtrouton/rtrouton_scripts/blob/master/rtrouton_scripts/Casper_Scripts/self_service_yosemite_os_install/self_service_yosemite_os_install.sh

I am still trying to dig up the response I got from JAMF on why the script was needed instead of just using the built in policy functionality. I will post back when I find it.

Update: I looked through my support case history and it looks like it was something they informed me about on a phone call so I don't have anything written that explains why it works. Hope this info helps you out. Good Luck!


Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • November 3, 2015

@FritzsCorner I tried the "shutdown -r now" after the policy ended and it just took me back to the login window. I might possibility call my TAM.


Forum|alt.badge.img+11
  • Valued Contributor
  • 133 replies
  • November 3, 2015

@Abdiaziz

I tried the "shutdown -h now"

I haven't tested with the Halt flag before. Do you get the same results if you use the -r flag? Are the logs still showing /OS X Install Data is not a directory?


Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • November 3, 2015

@FritzsCorner Whoops, I meant to say "shutdown -r now". I'll only get the "/OS X Install Data is not a directory" error if I use JAMF"s built in reboot to installer option.


Forum|alt.badge.img+11
  • Valued Contributor
  • 133 replies
  • November 3, 2015

You have the script set to AFTER correct?


Forum|alt.badge.img+19
  • Contributor
  • 437 replies
  • November 3, 2015

huh, Rich's disabling FV SSO in his script, I wonder why . . . . I've never done that in mine, and haven't noticed any issues with FV macs.


Forum|alt.badge.img+11
  • Valued Contributor
  • 133 replies
  • November 3, 2015

@Abdiaziz @nkalister

Here is the Jamfnation thread I referenced when I had the issue.

https://jamfnation.jamfsoftware.com/discussion.html?id=14728


Forum|alt.badge.img+19
  • Contributor
  • 437 replies
  • November 3, 2015

Oh, ok, it was about the dots in the password field not drawing correctly, then? I have seen that, actually, but since it didn't affect the installation we didn't do anything beyond documenting it as normal behavior.


Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • November 3, 2015

@FritzsCorner @nkalister

I'm testing this on a machine without FV, and the script is set to "After".


Forum|alt.badge.img+31
  • Hall of Fame
  • 920 replies
  • November 3, 2015

@nkalister,

I'm using a firstboot package as part of my upgrade procedure, which runs while the Mac is at the OS loginwindow. I'm disabling FileVault's automatic login so that the OS loginwindow comes up and the firstboot package runs normally.

In turn, one of the firstboot packages' embedded installers re-enables the FileVault 2 automatic login.


Forum|alt.badge.img+19
  • Contributor
  • 437 replies
  • November 3, 2015

That makes sense, thanks Rich!


Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • Answer
  • November 20, 2015

The new update for createOSXinstallPkg fixed my issue.


Forum|alt.badge.img+6
  • Contributor
  • 27 replies
  • December 14, 2015

Can you share the link where you found the updated version of createOSXinstallOkg?


Forum|alt.badge.img+14
  • Author
  • Contributor
  • 388 replies
  • December 14, 2015

@WUSLS

Here ya go:

https://github.com/munki/createOSXinstallPkg


Forum|alt.badge.img+8
  • Contributor
  • 69 replies
  • January 11, 2016

I've followed all this, running an up to date version of createOSXInstallPKG, etc. But it always boots to the login window at the end. I tried having reboot in the Files and Processes, a script calling shutdown -r now, and the Policy reboot (Mac OS X Installer, reboot immediately on both options).

All of them go to the login window :-(. I can't seem to wrap my head around this, this time. Doing a 10.9 to 10.10 upgrade, have successfully done the 10.7 to 10.8 in Self Service a while back, but this one keeps giving me so much guff.