首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Laravel 5 Homestead / Vagrant和虚拟盒白皮书

Laravel 5 Homestead / Vagrant和虚拟盒白皮书
EN

Stack Overflow用户
提问于 2015-05-18 09:32:51
回答 2查看 2.6K关注 0票数 2

你好,各位程序员,

因此,我目前被指派安装和配置Laravel 5与家园和瓦格兰特,目前,我有各种问题。现在,我在gitbash中遇到了以下错误。在这个错误之前,我再次运行了init.sh,因为有人告诉我他用这种方式修复了他的家园。那么,我如何纠正这个错误呢?

哦,我正在Windows 7上工作。

代码语言:javascript
复制
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)
$
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2015-05-19 20:24:06

如错误消息中所述,您已经这样做了吗?

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

票数 5
EN

Stack Overflow用户

发布于 2017-09-27 04:47:23

我被这个响应搞糊涂了,因为我正在从虚拟盒管理器中删除机器。我转到了c/user/%user%/ vbox目录,删除了所有的框,并且能够重新加载vbox。我怀疑所有的数据都丢失了,但这是一个新的安装,但很好奇如何备份数据,并在这种情况下恢复数据。(也就是说,如果我在那里有我需要的数据。)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30299602

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档