How to fix Vagrant machine index has become corrupt
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: /Users/flemieux/.vagrant.d/data/machine-index/index
We are very lucky because removing both the index and index.lock files resolves the problem!
Solution
Delete index.lock from ~/.vagrant.d/data/machine-index/
Move index => index.bkp
Run again $> make product-dev (or whatever your custom command is to launch)
On stackoverflow: http://stackoverflow.com/questions/24911021/vagrant-corrupted-index-file-c-users-username-vagrant-d-data-machine-index-ind
it work! thx so much
That worked for me too. Just don\'t forget to delete BOTH files (if present) index.lock and index. I firstly deleted only .lock and it did not worked
portuguese: Isso funcionou comigo. Apenas não esqueça de deletar os dois arquivos (se presentes) ´index.lock´ e ´index´. Primeiramente eu deletei apenas o ´.lock´ e isso não funcionou.
Thanks, it worked on the latest version of Vagrant!
funciono gracias
it worked thanks
not working