Laravel 5 Homestead w / Vagrant和Virtual Box白页

时间:2015-05-18 09:32:52

标签: laravel vagrant virtualbox homestead

Hello其他程序员,

所以我目前被分配安装和配置Laravel 5 with homestead和Vagrant目前我有各种各样的问题..现在我在我的gitbash中遇到了以下错误。在此错误之前,我再次运行了init.sh,因为有人告诉我他修理了他的宅基地。 那我怎么能解决这个错误呢?

哦,我正在使用Windows 7。

Welcome to Git (version 1.9.5-preview20150319)


Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.


Stefano@STEFANO-PC ~/Homestead/Homestead (master)
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
The name of your virtual machine couldn't be set because VirtualBox
is reporting another VM with that name already exists. Most of the
time, this is because of an error with VirtualBox not cleaning up
properly. To fix this, verify that no VMs with that name do exist
(by opening the VirtualBox GUI). If they don't, then look at the
folder in the error message from VirtualBox below and remove it
if there isn't any information you need in there.

VirtualBox error:

VBoxManage.exe: error: Could not rename the directory 'C:\Users\Stefano\VirtualB
ox VMs\settler_default_1430450956915_11366_1431938089885_29938' to 'C:\Users\Ste
fano\VirtualBox VMs\homestead' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachi
ne, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "SaveSettings()" at line 2788 of file VBoxManage
ModifyVM.cpp


Stefano@STEFANO-PC ~/Homestead/Homestead (master)
$

2 个答案:

答案 0 :(得分:5)

您已经按照错误消息中的说明执行了此操作?

  

要解决此问题,请确认不存在具有该名称的VM(通过打开VirtualBox GUI)。如果没有,请查看下面VirtualBox错误消息中的文件夹,如果没有您需要的任何信息,请将其删除。

答案 1 :(得分:0)

我对响应感到困惑,因为我正在删除机器形式的虚拟盒管理器。我转到c / users /%user%/ Vbox目录并删除了所有框,并能够重新加载vbox。我怀疑所有数据都丢失了,但这是一个全新的安装但很好奇如何备份数据并在这种情况下恢复它。 (即,如果我需要数据,我需要。)

相关问题