kitematic icon indicating copy to clipboard operation
kitematic copied to clipboard

Installation hang on "Setting up the default Kitematic images"

Open rockymadden opened this issue 12 years ago • 7 comments

Newest versions boot2docker and virtualbox, on a mid-2014 rMBP i7/16GB laptop with Yosemite dev 6:

2014-08-30 11:37:54.403 node-webkit[5498:254860] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
[5498:0830/113754:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton failed
2014-08-30 11:37:54.459 node-webkit Helper[5499:254901] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
2014-08-30 11:37:54.529 node-webkit Helper[5500:254955] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
[5498:0830/113754:INFO:CONSOLE(1)] ""process.mainModule.filename: /opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.html"", source: process_main (1)
Starting production server
[5498:0830/113754:INFO:CONSOLE(28)] ""/Users/rockymadden/Library/Application Support/Kitematic/data"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (28)
[5498:0830/113754:INFO:CONSOLE(44)] ""MongoDB: 64856"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (44)
[5498:0830/113754:INFO:CONSOLE(45)] ""webPort: 64855"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (45)
[5498:0830/113754:INFO:CONSOLE(47)] "{"killed":false,"code":null,"signal":"SIGTERM","cmd":"/bin/sh -c kill $(ps aux -e | grep PURPOSE=KITEMATIC | awk '{print $2}')"}", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (47)
[5498:0830/113754:INFO:CONSOLE(48)] """", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (48)
[5498:0830/113754:INFO:CONSOLE(49)] ""/bin/sh: line 0: kill: (5504) - No such process\n/bin/sh: line 0: kill: (5502) - No such process\n"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (49)
[5498:0830/113754:INFO:CONSOLE(65)] ""Starting node child..."", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (65)
[5498:0830/113754:INFO:CONSOLE(73)] ""/opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/resources/node"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (73)
[5498:0830/113755:INFO:CONSOLE(81)] ""Subscribed form schema: formCreateApp\n"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (81)
[5498:0830/113755:INFO:CONSOLE(81)] ""Kitematic started.\n"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (81)
[5498:0830/113755:INFO:CONSOLE(18)] ""Kitematic started."", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113755:INFO:CONSOLE(16)] ""Analytics settings not found"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (16)
[5498:0830/113756:INFO:CONSOLE(18)] ""No installs detected, running installer again."", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113759:INFO:CONSOLE(18)] ""continue install"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113759:INFO:CONSOLE(18)] ""Performing step 0"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113759:INFO:CONSOLE(18)] ""Performing step 1"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113806:INFO:CONSOLE(18)] ""Virtual machine boot2docker-vm already exists\ndelete net 172.17.0.0: gateway 192.168.59.103\nadd net 172.17.0.0: gateway 192.168.59.103\n"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113806:INFO:CONSOLE(18)] ""Virtualbox Installation & Resolver config complete."", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113806:INFO:CONSOLE(18)] ""Performing step 2"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113806:INFO:CONSOLE(18)] ""Checking if vm exists..."", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113806:INFO:CONSOLE(18)] ""VM exists: true"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113806:INFO:CONSOLE(18)] ""Stopping vm"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113811:INFO:CONSOLE(18)] """", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113811:INFO:CONSOLE(18)] """", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113811:INFO:CONSOLE(18)] ""Upgrading vm"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113816:INFO:CONSOLE(18)] ""Downloading boot2docker ISO image...\nLatest release is v1.2.0\nSuccess: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.2.0/boot2docker.iso\n\tto /Users/rockymadden/.boot2docker/boot2docker.iso\n"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113816:INFO:CONSOLE(18)] ""Performing step 3"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113839:INFO:CONSOLE(18)] ""......................"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113839:INFO:CONSOLE(18)] ""Waiting for VM and Docker daemon to start...\n\nStarted.\n\nTo connect the Docker client to the Docker daemon, please set:\n    export DOCKER_HOST=tcp://192.168.59.103:2375\n\n"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113839:INFO:CONSOLE(18)] """", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113839:INFO:CONSOLE(18)] ""Performing step 4"", source: http://localhost:64855/596eea4236f3335d01b961dbcce4639f93022e65.js (18)
[5498:0830/113839:INFO:CONSOLE(81)] ""Reloading default containers.\n"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (81)

rockymadden avatar Aug 30 '14 17:08 rockymadden

Update, I've narrowed it down to a never ending loop in: https://github.com/kitematic/kitematic/blob/3817e346df9e2807339e8d5e017854ea22eb45f8/meteor/server/docker.js#L377

Dumping both err and containers I get:

[32601:0830/123519:INFO:CONSOLE(81)] ""null\n"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (81)
[32601:0830/123519:INFO:CONSOLE(81)] ""{ [Error: connect Unknown system errno 64]\n  code: 'Unknown system errno 64',\n  errno: 'Unknown system errno 64',\n  syscall: 'connect' }\nnull\n"", source: file:///opt/homebrew-cask/Caskroom/kitematic/latest/Kitematic.app/Contents/Resources/app.nw/index.js (81)

rockymadden avatar Aug 30 '14 18:08 rockymadden

Running into the same issue here on a mid-2014 rMBP with Mavericks.

EDIT: http://kitematic.com/docs/known-issue-fixes/

Clearing the vboxnets and recreating the vm (as described in the known issues) fixed it for me.

dperfect avatar Aug 30 '14 19:08 dperfect

Note that the fix for the [object Object] issues noted on the FAQ also worked for me here. Remove all host-only networks :smile:

rockymadden avatar Aug 30 '14 19:08 rockymadden

+1 that fixed it for me

hagmonk avatar Aug 30 '14 23:08 hagmonk

+1 Removing host-only networks also fixed the problem for me.

sushaantu avatar Sep 01 '14 01:09 sushaantu

Fixed in pull request #27

seanli avatar Sep 02 '14 02:09 seanli

@Elesant Wonderful, thanks!

rockymadden avatar Sep 02 '14 15:09 rockymadden