Created
July 5, 2013 16:14
-
-
Save sunloverz/5935602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sunloverz@kg:~/projects/discourse$ vagrant box add discourse-0.8.4 ~/Downloads/discourse-0.8.4.box | |
Downloading or copying the box... | |
Extracting box...te: 27.6M/s, Estimated time remaining: 0:00:01) | |
Successfully added box 'discourse-0.8.4' with provider 'virtualbox'! | |
sunloverz@kg:~/projects/discourse$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'discourse-0.8.4'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] -- 3000 => 4000 (adapter 1) | |
[default] -- 1080 => 4080 (adapter 1) | |
[default] Running any VM customizations... | |
[default] Booting VM... | |
[default] Waiting for VM to boot. This can take a few minutes. | |
[default] VM booted and ready for use! | |
[default] Configuring and enabling network interfaces... | |
[default] Mounting shared folders... | |
[default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks | |
[default] Exporting NFS shared folders... | |
Preparing to edit /etc/exports. Administrator privileges will be required... | |
[sudo] password for sunloverz: | |
* Stopping NFS kernel daemon [ OK ] | |
* Unexporting directories for NFS kernel daemon... [ OK ] | |
* Exporting directories for NFS kernel daemon... [ OK ] | |
* Starting NFS kernel daemon [ OK ] | |
[default] Mounting NFS shared folders... | |
[default] Running provisioner: chef_solo... | |
Generating chef JSON and uploading... | |
Running chef-solo... | |
stdin: is not a tty | |
[2013-07-05T12:08:36-04:00] INFO: *** Chef 10.14.2 *** | |
[2013-07-05T12:08:38-04:00] INFO: Setting the run_list to ["recipe[omnibus_updater]", "recipe[discourse]"] from JSON | |
[2013-07-05T12:08:38-04:00] INFO: Run List is [recipe[omnibus_updater], recipe[discourse]] | |
[2013-07-05T12:08:38-04:00] INFO: Run List expands to [omnibus_updater, discourse] | |
[2013-07-05T12:08:38-04:00] INFO: Starting Chef Run for precise32 | |
[2013-07-05T12:08:38-04:00] INFO: Running start handlers | |
[2013-07-05T12:08:38-04:00] INFO: Start handlers complete. | |
================================================================================ | |
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/omnibus_updater/recipes/default.rb | |
================================================================================ | |
TypeError | |
--------- | |
can't convert nil into String | |
Cookbook Trace: | |
--------------- | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/omnibus_updater/recipes/set_remote_path.rb:121:in `join' | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/omnibus_updater/recipes/set_remote_path.rb:121:in `from_file' | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/omnibus_updater/recipes/deb_package.rb:1:in `from_file' | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/omnibus_updater/recipes/default.rb:17:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/omnibus_updater/recipes/set_remote_path.rb: | |
1: # RULES | |
2: | |
3: if(node[:omnibus_updater][:version].nil? && !node[:omnibus_updater][:version_search]) | |
4: raise "Omnibus Updater cannot determine version installation request. Please set version of enable version search" | |
5: end | |
6: | |
7: if(node[:omnibus_updater][:version_search]) | |
8: Chef::Log.warn "Omnibus Updater is set to automatically upgrade via search!" | |
9: if(node[:omnibus_updater][:allow_release_clients]) | |
[2013-07-05T12:08:43-04:00] ERROR: Running exception handlers | |
[2013-07-05T12:08:43-04:00] ERROR: Exception handlers complete | |
[2013-07-05T12:08:43-04:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out | |
[2013-07-05T12:08:43-04:00] FATAL: TypeError: can't convert nil into String | |
Chef never successfully completed! Any errors should be visible in the | |
output above. Please fix your recipes so that they properly complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment