spil-ruslan / vagrant-box-updater

vagrant plugin which check updates of remote boxes during "vagrant up/box add" and provide interactive prompt to update box when remote update is detected
MIT License
34 stars 7 forks source link

Error: Can not collect image status #10

Open jamesbebbington opened 10 years ago

jamesbebbington commented 10 years ago

Having just followed the README, using the URL from my Vagrantfile, I'm getting the following error:

$ vagrant box add --force precise32 http://files.vagrantup.com/precise32.box
Downloading or copying the box...
Extracting box...te: 526k/s, Estimated time remaining: --:--:--)
Successfully added box 'precise32' with provider 'virtualbox'!
Unable access: http://files.vagrantup.com/precise32.box
Can not collect image status, please check box url and repeat action
jamesbebbington commented 10 years ago

Just tried again but same result.

More info:

OS X 10.9 Vagrant 1.3.5

Is there anything I can do to debug this?

linuxmaniac commented 10 years ago

Hi, can you please apply this changes and post the output?

linuxmaniac/vagrant-box-updater@ec7398bbe1ccfca0158069a9200dc9fb8970b9a7

jamesbebbington commented 10 years ago

Thanks, will do when I get a spare min.

tautrimas commented 10 years ago

Hello, has this been resolved?

@fractious Did you find a workaround?

thom4parisot commented 10 years ago

This is the issue I got:

$ vagrant box add hashicorp/precise32 --force
==> box: Loading metadata for box 'hashicorp/precise32'
    box: URL: https://vagrantcloud.com/hashicorp/precise32
==> box: Adding box 'hashicorp/precise32' (v1.0.0) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/hashicorp/boxes/precise32/versions/1/providers/virtualbox.box
==> box: Successfully added box 'hashicorp/precise32' (v1.0.0) for 'virtualbox'!
==> box: Unable access: hashicorp/precise32
==> box: Error: No such file or directory - hashicorp/precise32
==> box: Can not collect image status, please check box url and repeat action

Although there is a file named ubuntu12.04.stat located in ~/.vagrant.d.

alexhouse commented 10 years ago

If the box you're using is now on Vagrant Cloud then you can use the versioning aspect of that instead, and completely remove this plugin

thom4parisot commented 10 years ago

I never installed it so I suppose it is a legacy from an old install of Vagrant :-) (I migrated to brew cask meanwhile).

I removed the ~/.vagrant.d folder and it worked like a charm (I did not have other VM on my laptop).

Thanks!