-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
can't start my VM on Vagrant 1.5.1 #3195
Comments
The upgrade didn't suceed for some reason:
Run vagrant again |
that helped, thank you. $ echo "1.1" > ~/.vagrant.d/setup_version $~/portals/tools/vagrant (master) |
I had the same issue, I would love to have some explanation on this @mitchellh ! Should we nuke that file when installing a new version? I normally delete the content of ~/.vagrant.d/gems directory and ~/.vagrant.d/plugins.json when upgrading to a major version. |
I upgraded from Vagrant 1.4.? to Vagrant 1.5.2 yesterday and found the same problem. @mitchellh instruction fixed it for me. The content of the
When I read "The upgrade didn't succeed for some reason" in Mitchell's comment I was hoping to find a value lower than |
Very helpful, fixed my issue with the same name. Thanks! |
I tried deleting |
+1 for @ammmze's solution - Note that you'll have to download your boxes again. Sparing the directory containing the boxes is probably a good idea. |
Also you'll have to install plugins again. |
FWIW - Just hit this upgrading my Mac from 1.4.3 to 1.5.4. |
I upgraded to 1.6.3 and had this same issue. Thanks |
I hit this from 1.3.5 to 1.6.3. I tried setting the file to 1.6, but got an error from Vagrant about new version being installed and a request to reinstall vagrant (which I did). Also, 1.6.3 didn't see any of my boxes with 'vagrant box list' so I rm -ef .vagrant.d which seemed to fix the issue. |
Same story as @lsaffie After upgrading from 1.4 to 1.6.3, I got this error and the following seems to have fixed it:
|
+1 rm -rf ~/.vagrant.d |
Thanks it works. |
+1 rm -rf ~/.vagrant.d |
💯 👍 rm -rf ~/.vagrant.d |
This is not a solution. I have 22 vagrant boxes built and defined, and (re)building 340gb of boxes I have spent months and months building and refining because some install/upgrade error cannot be fixed is totally uncalled for. Even the thought of having to export/reinstall/import them is seriously out of line! |
I have the same problem and nothing seem to be able to resolve it. The box is built with Packer (which should be irrelevant). I can list boxes with Update: I even tried the popular boxes by Chef from https://github.com/chef/bento, and the same issue. |
What worked for me was making sure the
to your box name, for example:
You can find out the box name with
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Windows 7 64bit.
I have a VM created with Vagrant 1.4. I downloaded Vagrant 1.5.1 today and tried bringing the machine up with it (tried up/halt/reload) :
$~/vagrant (master)
'$ vagrant reload
c:/Vagrant/embedded/lib/ruby/2.0.0/rubygems/version.rb:191:in
initialize': Malformed version number string virtualbox (ArgumentError) from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:273:in
new'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:273:in
block (2 levels) in find' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:270:in
map'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:270:in
block in find' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:416:in
block in with_collection_lock'from c:/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in
mon_synchronize' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:415:in
with_collection_lock'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:263:in
find' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/vagrantfile.rb:147:in
block in machine_config'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/vagrantfile.rb:180:in
call' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/vagrantfile.rb:180:in
machine_config'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/vagrantfile.rb:45:in
machine' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb:416:in
machine'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/command.rb:142:in
block in with_target_vms' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/command.rb:175:in
call'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/command.rb:175:in
block in with_target_vms' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/command.rb:174:in
map'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/command.rb:174:in
with_target_vms' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/commands/reload/command.rb:36:in
execute'from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/cli.rb:42:in
execute' from c:/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb:248:in
cli'from c:/Vagrant/bin/../embedded/gems/gems/vagrant-1.5.1/bin/vagrant:158:in `
The text was updated successfully, but these errors were encountered: