virtual-machine - Vagrant 损坏的索引文件 C :\Users\USERNAME\. vagrant.d/data/machine-index/index

标签 virtual-machine vagrant windows-8.1

我的 Windows 8.1 刚刚崩溃了。现在我的分区上有一些文件已损坏。这包括我的 Vagrant 机器索引(不确定命名是否正确,但我知道它是这个文件 -> C:\Users\USERNAME.vagrant.d/data/machine-index/index)。

所以里面有很多二进制或十六进制的东西(再次不确定,因为我通常不处理这些东西,所以如果我错了请纠正我!)如果我尝试这样做,Vagrant会吐出以下消息启动后启动一切。

vagrant up 返回此

The machine index which stores all required information about
running Vagrant environments has become corrupt. This is usually
caused by external tampering of the Vagrant data folder.

Vagrant cannot manage any Vagrant environments if the index is
corrupt. Please attempt to manually correct it. If you are unable
to manually correct it, then remove the data file at the path below.
This will leave all existing Vagrant environments "orphaned" and
they'll have to be destroyed manually.

Path: C:/Users/Username/.vagrant.d/data/machine-index/index

最佳答案

同样的事情也发生在我身上。因此,我只是从 machine-index 文件夹中删除了索引文件和 .lock 文件,以使 Vagrant 再次工作。

关于virtual-machine - Vagrant 损坏的索引文件 C :\Users\USERNAME\. vagrant.d/data/machine-index/index,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24911021/

相关文章:

vagrant - vagrant up 后未知文件系统类型 'vboxsf'

json - 使用 json 模板从 Visual Studio 部署 Azure VM?

windbg - WARNING : [something] overlaps [something] in Windows Debugger mean? 是什么意思

ruby - 无法在 OS X 上安装没有 sudo 的 vagrant 插件

vagrant - 我可以在 vagrant up 上看到启动屏幕吗?

java - 如何在javaFX中创建自定义光标?

sharepoint-2010 - 与 SharePoint 集成的 Internet Explorer 11 SSRS 报告 - 缺少打印选项

Azure 虚拟机麦克风和扬声器

redis - 从使用 Redis 的 Vagrant Vbox,在主机上设置本地主机

windows-8 - 在 Windows 应用商店应用程序的代码隐藏中转到网格内的视觉状态