web-dev-qa-db-fra.com

Fichier d'index corrompu Vagrant C: \ Users \ USERNAME \ .vagrant.d / data / machine-index / index

Mon Windows 8.1 vient de planter. Maintenant, j'ai des fichiers corrompus sur ma dist. Cela inclut mon index de machine vagabond (pas sûr si la dénomination est correcte mais je sais que c'est ce fichier -> C:\Users\USERNAME.vagrant.d/data/machine-index/index).

Donc, il y a beaucoup de choses binaires ou hexdécimales là-dedans (Encore une fois pas shure parce que je ne m'occupe pas de ces choses habituellement, corrigez-moi si je me trompe!) Et Vagrant crache le message suivant si j'essaie de tout recommencer après démarrage.

vagrant up renvoie ceci

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
44
Thomas Venturini

Il m'est arrivé la même chose. J'ai donc supprimé le fichier d'index et le fichier .lock du dossier machine-index pour que Vagrant fonctionne à nouveau.

119
Jukka Puranen