Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange error on first vagrant up [Mac OS 10.8/10.9] #28

Closed
ryanpcmcquen opened this issue Nov 8, 2013 · 35 comments
Closed

Strange error on first vagrant up [Mac OS 10.8/10.9] #28

ryanpcmcquen opened this issue Nov 8, 2013 · 35 comments
Assignees
Labels

Comments

@ryanpcmcquen
Copy link

I have received the same error on 2 separate machines (Macbook Pro @ 10.8 /iMac @ 10.9):

~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:107:in `digest': can't convert nil into String (TypeError)
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:107:in `hexdigest'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:107:in `signature'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:70:in `block in getHostEntries'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:69:in `each'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:69:in `getHostEntries'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:33:in `block in addHostEntries'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:32:in `each'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:32:in `addHostEntries'
  from ~/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/Action/UpdateHosts.rb:18:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:57:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:57:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:57:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builder.rb:116:in `call'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/machine.rb:147:in `action'
  from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

This is my Vagrantfile:
https://raw.github.com/milojennings/zippy/0.1/Vagrantfile

Everything works perfectly on the second vagrant up.

@mvance
Copy link

mvance commented Jan 25, 2014

I tried using vagrant-hostsupdater for the first time today, while trying out kalastack. I ran into the same error mentioned above the first time I ran vagrant up. I had to vagrant destroy and rerun vagrant up to get the hosts file entries added correctly.

In searching out a fix, I also found someone else mentioning the same error with the varying-vagrant-vagrants.

It seems the issue may be specific to the very first time you use vagrant-hostsupdater.

@longwave
Copy link

I also saw this error the first time I ran vagrant up on Linux after installing the hostsupdater plugin, but it also worked perfectly the second time round.

@blongden
Copy link

Same for me - arrived at this issue when searching for the error message above.

@ryanpcmcquen
Copy link
Author

Still no ideas for a fix? Is this plugin still being maintained?

@wheelsandcogs
Copy link

Same problem here - seems to happen the first time you vagrant up a nonexistent box, works fine for existing boxes.

@mikesimons
Copy link

As @wheelsandcogs has observed, this does seem to be reproducible by creating a vagrantfile that has the box_url as some locally downloaded box and the box name to be something different each run.

Interestingly it seems fixed in Vagrant 1.5.0 so this might be an issue in Vagrant itself (which is something I've suspected).

@opepin
Copy link

opepin commented Jan 22, 2015

got the same issue on 1.4.3 - vagrant-hostsupdater (0.0.11) on Mac

[es] Checking for host entries
[es] Forcing shutdown of VM...
[es] Destroying VM and associated drives...
[es] Running cleanup tasks for 'chef_solo' provisioner...
vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:107:in `digest': no implicit conversion of nil into String (TypeError)
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:107:in `hexdigest'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:107:in `signature'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:70:in `block in getHostEntries'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:69:in `each'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:69:in `getHostEntries'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:33:in `block in addHostEntries'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:32:in `each'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/HostsUpdater.rb:32:in `addHostEntries'
    from vagrant-hostsupdater-0.0.11/lib/vagrant-hostsupdater/Action/UpdateHosts.rb:18:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'

Works the second time (and asked for the sudo password to edit the /etc/hosts file)

@aistis-
Copy link

aistis- commented Jul 22, 2015

@opepin vagrant halt && vagrant up solved the error for me.

@cgsmith
Copy link
Collaborator

cgsmith commented Nov 8, 2015

I am not seeing this issue occurring. Is there a simpler Vagrantfile to use to replicate? Does it only happen on new boxes?

@ryanpcmcquen
Copy link
Author

@cgsmith you can try this one: https://gist.github.com/ryanpcmcquen/e2f1e9424671c2bbd251

I haven't tried any of these projects in over a year, so the issue may have been fixed by something else at this point.

@ryanpcmcquen
Copy link
Author

And yes it only happens on new boxes, as @wheelsandcogs said.

@dtbaker
Copy link

dtbaker commented Nov 9, 2015

Ditto getting the same error here. Fresh install, just install vagrant 1.7.4 from https://www.vagrantup.com/downloads.html and ran vagrant plugin install vagrant-hostsupdater then vagrant plugin install vagrant-triggers then vagrant up and received:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Removing hosts
==> default: No machine id, nothing removed from /etc/hosts
==> default: Checking for host entries
/home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:110:in `digest': no implicit conversion of nil into String (TypeError)
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:110:in `hexdigest'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:110:in `signature'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:73:in `block in getHostEntries'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:72:in `each'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:72:in `getHostEntries'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:36:in `block in addHostEntries'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:35:in `each'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/HostsUpdater.rb:35:in `addHostEntries'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/Action/UpdateHosts.rb:17:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.0/lib/vagrant-hostsupdater/Action/RemoveHosts.rb:23:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-triggers-0.5.2/lib/vagrant-triggers/action/trigger.rb:17:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-triggers-0.5.2/lib/vagrant-triggers/action/trigger.rb:17:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from /home/dtbaker/.vagrant.d/gems/gems/vagrant-triggers-0.5.2/lib/vagrant-triggers/action/trigger.rb:17:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:214:in `action_raw'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:191:in `block in action'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:516:in `lock'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `action'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'

@cgsmith
Copy link
Collaborator

cgsmith commented Nov 9, 2015

I'll try and find what is going on - I am seeing the issue as well.

@cgsmith cgsmith added bug and removed question labels Nov 9, 2015
@cgsmith cgsmith self-assigned this Nov 9, 2015
cgsmith added a commit that referenced this issue Nov 9, 2015
@cgsmith
Copy link
Collaborator

cgsmith commented Nov 9, 2015

@dtbaker can you verify that this fixes the issue? You can install this bugfix plugin by downloading, unzipping, and typing vagrant plugin install vagrant-hostsupdater-1.0.1.gem

http://d.pr/f/15zfg

@cgsmith
Copy link
Collaborator

cgsmith commented Nov 9, 2015

I think the issue was caused by the box not being fully loaded in Vagrant. Perhaps not all the variables were set? Vagrant SetHostname should be the proper hook for vagrant up

@nzhuk98
Copy link

nzhuk98 commented Nov 9, 2015

Just had this same issue. 1.0.1 you linked fixed it.

@yhuard
Copy link

yhuard commented Nov 9, 2015

Thank you @cgsmith, it worked for me as well!

@federicoweber
Copy link

thanks @cgsmith, that solved it.

@wannesderoy
Copy link

I too can confirm @cgsmith's fix worked for me. Thanks!

cgsmith added a commit that referenced this issue Nov 9, 2015
Fixing the cat from running on the keyboard
This was referenced Nov 9, 2015
@cgsmith cgsmith closed this as completed in 2f12f8d Nov 9, 2015
cgsmith added a commit that referenced this issue Nov 9, 2015
@cgsmith
Copy link
Collaborator

cgsmith commented Nov 9, 2015

Fixed in 1.0.1

@ryanpcmcquen
Copy link
Author

@ar000n the issue has been fixed since November 2015, why are you commenting on it?

@Bilge
Copy link

Bilge commented Oct 8, 2019

Because it still happens in 1.1.1.

.vagrant.d/gems/2.4.4/gems/vagrant-hostsupdater-1.1.1.160/lib/vagrant-hostsupdater/HostsUpdater.rb:126:in `digest': no implicit conversion of nil into String (TypeError)

@jstnbr
Copy link

jstnbr commented Mar 19, 2020

This issue is still happening for me, and the link above is broken. It's happening because I'm using the alias array feature. I remember a while ago this feature (listed in the Readme) did not work, and still does not work today.

@kamil-p
Copy link

kamil-p commented Nov 24, 2020

I had similar issue with vagrant 2.2.14 I downgraded it to 2.2.9 and it worked.

@sebastienrussellwr
Copy link

I have the same problem here with 2.2.14

@corbinjurgens
Copy link

corbinjurgens commented Nov 26, 2020

Just updated to 2.2.14, and I also have this error even after updating plugins. Downgrading to 2.2.13 and the error is gone.

The following error is from running vagrant up (on a new box not made yet) (However I am on windows 10)

Traceback (most recent call last):
        26: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
        25: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:201:in `action'
        24: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:201:in `call'
        23: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:613:in `lock'
        22: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:215:in `block in action'
        21: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:246:in `action_raw'
        20: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in `run'
        19: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/util/busy.rb:19:in `busy'
        18: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in `block in run'
        17: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/builder.rb:149:in `call'
        16: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in `call'
        15: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call'
        14: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in `call'
        13: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/builtin/call.rb:43:in `call'
        12: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in `run'
        11: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/util/busy.rb:19:in `busy'
        10: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in `block in run'
         9: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/builder.rb:149:in `call'
         8: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in `call'
         7: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/plugins/providers/virtualbox/action/created.rb:15:in `call'
         6: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in `call'
         5: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/plugins/commands/up/middleware/store_box_metadata.rb:33:in `call'
         4: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in `call'
         3: from C:/Users/corbi/.vagrant.d/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/Action/UpdateHosts.rb:17:in `call'
         2: from C:/Users/corbi/.vagrant.d/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/HostsUpdater.rb:99:in `addHostEntries'
         1: from C:/Users/corbi/.vagrant.d/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/HostsUpdater.rb:152:in `addToHosts'
C:/Users/corbi/.vagrant.d/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/HostsUpdater.rb:152:in `+': no implicit conversion of nil into String (TypeError)

@cgsmith
Copy link
Collaborator

cgsmith commented Nov 27, 2020

@corbinjurgens can you try to uninstall the plugin and then install it again?

@andrew-pause
Copy link

I am having this seem issue with 2.2.14 on windows. uninstalling the plugin and reinstalling did not resolve the issue

@asanCar
Copy link

asanCar commented Dec 2, 2020

@cgsmith reinstalling vagrant-hostsupdater solved the problem in my Ubuntu Linux.

In my case, I was facing the problem with those versions:
Vagrant: 2.2.14
vagrant-hostsupdater plugin: 1.1.1.160

Started to work with:
Vagrant: 2.2.14
vagrant-hostsupdater plugin: 1.2.0

@skalinkin
Copy link

Just got the same error.

Bringing machine 'vgpm' up with 'virtualbox' provider...
==> vgpm: [vagrant-hostsupdater] Checking for host entries
==> vgpm: [vagrant-hostsupdater] Writing the following entries to (C:/WINDOWS/system32/drivers/etc/hosts)
==> vgpm: [vagrant-hostsupdater] 192.168.99.25 axs.local, keycloak # VAGRANT: d41d8cd98f00b204e9800998ecf8427e (vgpm) /
Traceback (most recent call last):
26: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/batch_action.rb:86:in block (2 levels) in run' 25: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:201:in action'
24: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:201:in call' 23: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/environment.rb:613:in lock'
22: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:215:in block in action' 21: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/machine.rb:246:in action_raw'
20: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in run' 19: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/util/busy.rb:19:in busy'
18: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in block in run' 17: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/builder.rb:149:in call'
16: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in call' 15: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in call'
14: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in call' 13: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/builtin/call.rb:43:in call'
12: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in run' 11: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/util/busy.rb:19:in busy'
10: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/runner.rb:89:in block in run' 9: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/builder.rb:149:in call'
8: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in call' 7: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/plugins/providers/virtualbox/action/created.rb:15:in call'
6: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in call' 5: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/plugins/commands/up/middleware/store_box_metadata.rb:33:in call'
4: from C:/HashiCorp/Vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/lib/vagrant/action/warden.rb:48:in call' 3: from C:/Work/GIT/axs-vgpm/vagrant/.vagrant/plugins/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/Action/UpdateHosts.rb:17:in call'
2: from C:/Work/GIT/axs-vgpm/vagrant/.vagrant/plugins/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/HostsUpdater.rb:99:in addHostEntries' 1: from C:/Work/GIT/axs-vgpm/vagrant/.vagrant/plugins/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/HostsUpdater.rb:152:in addToHosts'
C:/Work/GIT/axs-vgpm/vagrant/.vagrant/plugins/gems/2.6.6/gems/vagrant-hostsupdater-1.2.0/lib/vagrant-hostsupdater/HostsUpdater.rb:152:in `+': no implicit conversion of nil into String (TypeError)

@cgsmith
Copy link
Collaborator

cgsmith commented Dec 3, 2020

@skalinkin This issue was raised to address. #190

If you want to help test if the gem works before releasing it you can do so here: https://github.com/agiledivider/vagrant-hostsupdater/releases/tag/1.2.1-beta

@skalinkin
Copy link

skalinkin commented Dec 3, 2020 via email

@ryanpcmcquen
Copy link
Author

Wow, this bug won't die.

@skalinkin
Copy link

skalinkin commented Dec 3, 2020 via email

@cgsmith
Copy link
Collaborator

cgsmith commented Dec 3, 2020

@skalinkin that issue is known about. The other issues please create a new bug so we aren't resurrecting this one.

Repository owner locked as resolved and limited conversation to collaborators Dec 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests