今早执行 vagrant up 突然出现以下错误,这个错误以前已出现过好几次,今天就随手记录一番吧

==> vagrant: A new version of Vagrant is available: 2.2.4 (installed version: 2.2.2)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html

Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: A newer version of the box 'laravel/homestead' for provider 'virtualbox' is
==> homestead-7: available! You currently have version '7.1.0'. The latest is version
==> homestead-7: '7.2.1'. Run `vagrant box update` to update.
Your VM has become "inaccessible." Unfortunately, this is a critical error
with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox
and clear out your inaccessible virtual machines or find a way to fix
them.

根据错误提示 Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them 打开 VirtualBox

file

提示该目录下 homestead-7.vbox , File not found

进入该目录发现确实没有该文件 ,但是有一个 .vbox-tmp 的文件,然后我们把该文件后缀修改为 .vbox去掉 -tmp

最后重启 homestead f发现没有问题了。

关于极客返利

极客返利 是由我个人开发的一款网课返利、返现平台。包含 极客时间返现、拉勾教育返现、掘金小册返现、GitChat返现。目前仅包含这几个平台。后续如果有需要可以考虑其他平台。 简而言之就是:你买课,我返现。让你花更少的钱,就可以买到课程。

https://geekfl.com

https://geek.laravelcode.cn

版权许可

本作品采用 知识共享署名 4.0 国际许可协议 进行许可。

转载无需与我联系,但须注明出处,注明文章来源 homestead vagrant up 报错 Your VM has become inaccessible

联系我

编程怪事
暂无回复
0 / 180