今早执行 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发现没有问题了。

版权许可

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

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

联系我

编程怪事
暂无回复
0 / 180