boot2docker / osx-installer

Docker installer for Mac OS X
Apache License 2.0
1.25k stars 258 forks source link

Error Installing on Mac OS X 10.9.3 - No Error Message #27

Closed motleydev closed 6 years ago

motleydev commented 10 years ago

I tried running the installer but it says there is an error with installing. I see what looks like a truncated error message in the header where it trails with "You may want to try l" but then the message prints off the window and there's no way I can find to show it (scale the box, etc). I previously had docker installed via homebrew but tried to remove it (also using homebrew) - not sure if there's something related there. boot2docker installed fine.

steeve commented 10 years ago

Can you try and make a screenshot ? Did you have VBox running ?

SvenDowideit commented 10 years ago

OSX installers have a log file that you can view using (Help|Log file) or the menu next to help - I don't have a mac near me atm.

Can you please take a look to see what it says too?

adis-me commented 10 years ago

I have the same thing I guess. Installation is also complaining about 'Installation Failed'. Message that I get:

The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

I think VirtualBox is causing some errors, because I get the same message with installing VirtualBox with the OSX Installer.

This is my log from the Boot2Docker installer:

Jun 10 17:55:19 acorovic Installer[25314]: @(#)PROGRAM:Install  PROJECT:Install-846
    Jun 10 17:55:19 acorovic Installer[25314]: @(#)PROGRAM:Installer  PROJECT:Installer-721
    Jun 10 17:55:19 acorovic Installer[25314]: Hardware: MacBookPro8,2 @ 2.40 GHz (x 8), 8192 MB RAM
    Jun 10 17:55:19 acorovic Installer[25314]: Running OS Build: Mac OS X 10.9.3 (13D65)
    Jun 10 17:55:19 acorovic Installer[25314]: Boot2Docker for Mac OS X 1.0.0 Installation Log
    Jun 10 17:55:19 acorovic Installer[25314]: Opened from: /Users/acorovic/Downloads/Boot2Docker-1.0.0.pkg
    Jun 10 17:56:04 acorovic Installer[25314]: InstallerStatusNotifications plugin loaded
    Jun 10 17:56:21 acorovic Installer[25314]: ================================================================================
    Jun 10 17:56:21 acorovic Installer[25314]: User picked Standard Install
    Jun 10 17:56:21 acorovic Installer[25314]: Choices selected for installation:
    Jun 10 17:56:21 acorovic Installer[25314]:  Upgrade: "Boot2Docker for Mac OS X"
    Jun 10 17:56:21 acorovic Installer[25314]:  Install: "Docker client for Mac OS X"
    Jun 10 17:56:21 acorovic Installer[25314]:  Install: "Boot2Docker management tool for Mac OS X"
    Jun 10 17:56:21 acorovic Installer[25314]:  Install: "Boot2Docker ISO"
    Jun 10 17:56:21 acorovic Installer[25314]:  Install: "Boot2docker Quick-start applet for Mac OS X"
    Jun 10 17:56:21 acorovic Installer[25314]:  Upgrade: "Oracle VM VirtualBox Kernel Extensions"
    Jun 10 17:56:21 acorovic Installer[25314]:  Upgrade: "Oracle VM VirtualBox"
    Jun 10 17:56:21 acorovic Installer[25314]:  Upgrade: "Oracle VM VirtualBox Command Line Utilities"
    Jun 10 17:56:21 acorovic Installer[25314]: ================================================================================
    Jun 10 17:56:21 acorovic Installer[25314]: Configuring volume "Macintosh HD"
    Jun 10 17:56:21 acorovic Installer[25314]: Free space on "Macintosh HD": 15.67 GB (15670640640 bytes).
    Jun 10 17:56:21 acorovic Installer[25314]: Create temporary directory "/var/folders/q0/6bvk28hd6t9bx_hg_qrck_6m000102/T//Install.25314aB1QjO"
    Jun 10 17:56:21 acorovic Installer[25314]: IFPKInstallElement (7 packages)
    Jun 10 17:56:22 acorovic Installer[25314]: PackageKit: Enqueuing install with boosting
    Jun 10 17:56:22 acorovic installd[9622]: PackageKit: ----- Begin install -----
    Jun 10 17:56:28 acorovic installd[9622]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Boot2Docker-1.0.0.pkg”." UserInfo=0x7fdd34c1b120 {NSFilePath=./postflight, NSURL=file://localhost/Users/acorovic/Downloads/Boot2Docker-1.0.0.pkg#VBoxKEXTs.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.vboxkexts, NSLocalizedDescription=An error occurred while running scripts from the package “Boot2Docker-1.0.0.pkg”.} {
            NSFilePath = "./postflight";
            NSLocalizedDescription = "An error occurred while running scripts from the package \U201cBoot2Docker-1.0.0.pkg\U201d.";
            NSURL = "file://localhost/Users/acorovic/Downloads/Boot2Docker-1.0.0.pkg#VBoxKEXTs.pkg";
            PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
        }
    Jun 10 17:56:29 acorovic Installer[25314]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    Jun 10 17:56:29 acorovic Installer[25314]: IFDInstallController 5864F810 state = 8
    Jun 10 17:56:29 acorovic Installer[25314]: Displaying 'Install Failed' UI.
    Jun 10 17:56:29 acorovic Installer[25314]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

This is my log from the VirtualBox installer:

Jun 10 17:53:58 acorovic installd[9622]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “VirtualBox.pkg”." UserInfo=0x7fdd32d1af50 {NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.vboxkexts, NSLocalizedDescription=An error occurred while running scripts from the package “VirtualBox.pkg”.} {
    NSFilePath = "./postflight";
    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cVirtualBox.pkg\U201d.";
    NSURL = "file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
    PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}

Any thoughts?

motleydev commented 10 years ago

The Log:

Jun 11 07:10:44 jmart-imac-4.local Installer[16432]: @(#)PROGRAM:Install  PROJECT:Install-846
Jun 11 07:10:44 jmart-imac-4.local Installer[16432]: @(#)PROGRAM:Installer  PROJECT:Installer-721
Jun 11 07:10:44 jmart-imac-4.local Installer[16432]: Hardware: iMac12,2 @ 3.40 GHz (x 8), 8192 MB RAM
Jun 11 07:10:44 jmart-imac-4.local Installer[16432]: Running OS Build: Mac OS X 10.9.3 (13D65)
Jun 11 07:10:44 jmart-imac-4.local Installer[16432]: Docker for Mac OS X %INSTALLER_VERSION% Installation Log
Jun 11 07:10:44 jmart-imac-4.local Installer[16432]: Opened from: /Volumes/Macintosh HD 2/Users/jmart/Downloads/Docker-0.12.0.pkg
Jun 11 07:10:50 jmart-imac-4.local Installer[16432]: InstallerStatusNotifications plugin loaded
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: ================================================================================
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: User picked Standard Install
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: Choices selected for installation:
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Docker for Mac OS X"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Docker client for Mac OS X"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Boot2docker management tool for Mac OS X"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Boot2docker Quick-start app for Mac OS X"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Oracle VM VirtualBox Kernel Extensions"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Oracle VM VirtualBox"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]:    Upgrade: "Oracle VM VirtualBox Command Line Utilities"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: ================================================================================
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: Configuring volume "Macintosh HD"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: Free space on "Macintosh HD": 110.65 GB (110647123968 bytes).
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: Create temporary directory "/var/folders/zr/gv4jcc_122sfrtpfj5g9prc00000gn/T//Install.16432S7OqbS"
Jun 11 07:10:56 jmart-imac-4.local Installer[16432]: IFPKInstallElement (6 packages)
Jun 11 07:10:57 jmart-imac-4.local Installer[16432]: PackageKit: Enqueuing install with boosting
Jun 11 07:10:57 jmart-imac-4.local installd[6136]: PackageKit: ----- Begin install -----
Jun 11 07:11:02 jmart-imac-4.local installd[6136]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Docker-0.12.0.pkg”." UserInfo=0x7febd0425d00 {NSUnderlyingError=0x7febd04c0420 "archive verify failed", NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/8222B100-585C-491E-A939-450B7DF7ECC2.activeSandbox/Root/Applications, NSURL=file://localhost/Volumes/Macintosh%20HD%202/Users/jmart/Downloads/Docker-0.12.0.pkg#VirtualBox.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.virtualbox, NSLocalizedDescription=An error occurred while extracting files from the package “Docker-0.12.0.pkg”.} {
        NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/8222B100-585C-491E-A939-450B7DF7ECC2.activeSandbox/Root/Applications";
        NSLocalizedDescription = "An error occurred while extracting files from the package \U201cDocker-0.12.0.pkg\U201d.";
        NSURL = "file://localhost/Volumes/Macintosh%20HD%202/Users/jmart/Downloads/Docker-0.12.0.pkg#VirtualBox.pkg";
        NSUnderlyingError = "Error Domain=PKXARArchiveErrorDomain Code=101 \"archive verify failed\" UserInfo=0x7febd04b9cd0 {NSURL=file:///Volumes/Macintosh%20HD%202/Users/jmart/Downloads/Docker-0.12.0.pkg#VirtualBox.pkg/Payload, NSFileOwnerAccountID=501, NSFileHFSTypeCode=0, NSFileSystemFileNumber=40465988, NSFileExtensionHidden=false, NSFileSystemNumber=16777220, NSFileSize=73968619, NSFileGroupOwnerAccountID=80, NSFileOwnerAccountName=jmart, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2014-06-10 07:54:34 +0000, NSFileType=NSFileTypeRegular, NSFileExtendedAttributes={\n    \"com.apple.metadata:kMDItemWhereFroms\" = <62706c69 73743030 a201025f 11010a68 74747073 3a2f2f73 332e616d 617a6f6e 6177732e 636f6d2f 67697468 75622d63 6c6f7564 2f72656c 65617365 732f3137 30373732 33322f39 66363133 3861302d 65653938 2d313165 332d3935 31352d36 39633038 37373862 6436382e 706b673f 72657370 6f6e7365 2d63
Jun 11 07:11:02 jmart-imac-4.local Installer[16432]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jun 11 07:11:02 jmart-imac-4.local Installer[16432]: IFDInstallController D1D22770 state = 8
Jun 11 07:11:02 jmart-imac-4.local Installer[16432]: Displaying 'Install Failed' UI.
Jun 11 07:11:02 jmart-imac-4.local Installer[16432]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

The screenshot:

screen shot 2014-06-11 at 7 11 04 am

motleydev commented 10 years ago

I may have solved my own problem after looking at the log. Since the file was failing with verifying the package, I tried downloading an older version, 0.11, which installed fine. Once I had it installed, I tried the package again that I was trying from and realized that was 0.12, not 1.0 - the problem for me is that when I saw the package name of the 1.0 download it's called "boot2docker" not "Docker" like the other packages are. So, in theory, someone who actually belongs in this world messing with these things knows enough to disregard a discrepancy in a package installer name - but for my 2 cents, that was my point of confusion. :) Thanks!

SvenDowideit commented 10 years ago

oh. Sorry for the confusion - I'm going to leave this open for a little while, it may help others find out about the install log, and then some of the process of debugging :)

AmadeusK commented 7 years ago

I solved this by booting in Safe Mode (hold SHIFT key while booting), uninstalling VirtualBox, rebooting (normally) and installing it again.

tianon commented 6 years ago

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).