vagrant icon indicating copy to clipboard operation
vagrant copied to clipboard

vagrant up failed

Open jeff900911 opened this issue 5 years ago • 4 comments

when i tried to use vagrant to install the miniKF, and after i followed the instruction (vagrant init arrikto/minikf vagrant up), i got the following error: Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'arrikto/minikf' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'arrikto/minikf' default: URL: https://vagrantcloud.com/arrikto/minikf ==> default: Adding box 'arrikto/minikf' (v20200305.1.0) for provider: virtualbox default: Downloading: https://vagrantcloud.com/arrikto/boxes/minikf/versions/20200305.1.0/providers/virtualbox.box ==> default: Box download is resuming from prior download progress Download redirected to host: storage.googleapis.com default: The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any):

x ./box.ovf x ./box-disk1.vmdk: Write failed x ./include/ x ./include/_Vagrantfile x ./Vagrantfile bsdtar.EXE: Error exit delayed from previous errors. i have no idea how to fix this problem, could anyone can help me to fix it. thank you

jeff900911 avatar Aug 25 '20 11:08 jeff900911

From the error, it looks like maybe there is not enough space on your machine to extract the box. It seems like the box is about 22 G when unpacked. Do you have at least 22 G available on your machine?

soapy1 avatar Aug 25 '20 17:08 soapy1

From the error, it looks like maybe there is not enough space on your machine to extract the box. It seems like the box is about 22 G when unpacked. Do you have at least 22 G available on your machine?

thank you soapy, i think my machine have enough space for this box, i tried to unpacked this box in my windows10 system and virtual machine with centos7 system。For windows10 system, i installed vagrant in the D-disk which has more than 200G available space. And also, my virtual machine installed on a disk which has enough space, and i allocated the virtual machine about 200G space. But they have the same error as i posted.

jeff900911 avatar Aug 26 '20 00:08 jeff900911

Having this problem as well. @jeff900911 did you find a way to fix this I have enough memory.

Soot3 avatar Jan 27 '21 17:01 Soot3

try opening the cmd in admin mode, even if this does'nt work look for environment.rb file where you have installed your vgrnt and then change on line 117 to

@home_path = Util::Platform.fs_real_path("D:/vagrant/home/") # a path you know which has enough space.

niteshgupta2711 avatar Jun 27 '22 11:06 niteshgupta2711

I have the same issue. OS: Windows 10 Vagrant version: 2.3.6

RobKwiatkowski avatar May 30 '23 19:05 RobKwiatkowski