Hi,
during "vagrant up" operation I had a system crash (blue screen).
After a reboot I tried to start the box from VirtualBox.
It doesn't work due to a problem with some device, so I deleted it from VirtualBox
and I tried to run "vagrant up" again but I had the error:
The metadata associated with the box 'ubuntu/trusty64' appears corrupted...[cut]
Then I tried "destroy", "remove", "halt", "box remove".. nothing work.
D:\m310-vagrant-env>vagrant destroy
The metadata associated with the box 'ubuntu/trusty64' appears corrupted.
This is most often caused by a disk issue or system crash. Please
remove the box, re-add it, and try again.
D:\m310-vagrant-env>vagrant box list
ubuntu/trusty64 (virtualbox, 20161109.0.0)
The metadata associated with the box 'ubuntu/trusty64' appears corrupted.
This is most often caused by a disk issue or system crash. Please
remove the box, re-add it, and try again.
D:\m310-vagrant-env>vagrant box remove ubuntu/trusty64
The metadata associated with the box 'ubuntu/trusty64' appears corrupted.
This is most often caused by a disk issue or system crash. Please
remove the box, re-add it, and try again.
I cannot run "vagrant init" because I already have vagrantfile.
"vagrant up" and "vagrant reload" return the same error as the other commands.
And I also removed the ".viagrant" folder and I tried to reboot...
It seems I'm stuck in this situation and the "help" or instructions from the output does not work.
What to do?
Windows 10, 64bit.
Latest VirtualBox version.
Vagrant version 1.8.7
Thanks,
Alessandro
I uninstalled and reinstalled both VirtualBox and Vagrant. The error persists.
I tried to install Vagrant 1.8.6 (previous version). The error persists.
Remove the .vagrant directory in the directory with the vagrant file and try again. That should fix the issue.
Already tried. The error persists.
I have a zip file (downloaded many times to exclude a possible file corruption) that contains these files: "provision-database", "provision-infrastructure" and "Vagrantfile".
I tried many times to unzip in a new folder, also in a different path.
The .vagrant file is created when I run "vagrant up" and I have the error.
More info.
The first run was going well for some minutes (there was an output with the indication of the progress percentage) then suddenly the blue screen (for the first time on this machine!).
I think the problem was about activating/deactivating the Hyper-V.
I didn't have it activated/deactivated, in fact I could not start Docker before. But now Docker starts without any problem, like as I changed the Hyper-V settings in the BIOS (but I didn't !).
After the auto-reboot I found the VM in VirtualBox but it was corrupted (a problem about network device). I deleted it and I have done the actions I described in the first comment.
When I had the error for the first time I have done as suggested, I removed the box using the ID obtained by "global-status" or "box list" (I don't remember exactly).
But now I'm blocked in this situation and I don't know how to remove that box or start again from a clean situation.
Thanks
the boxes are in
[HOME]/.vagrant.d/boxes/[user]-VAGRANTSLASH-[box]
Try vagrant box remove ubuntu/trusty64
or just deleting the folder in [HOME]/.vagrant.d/boxes/
"just deleting the folder in [HOME]/.vagrant.d/boxes/" is a good sulotion for me. Thanks.
Most helpful comment
"just deleting the folder in [HOME]/.vagrant.d/boxes/" is a good sulotion for me. Thanks.