Failed to execute git status when updating Doctrine

0

I'm servicing a system, and I need to upload some changes to the production server. Some of these changes involve mapping and adding new entities to the database.

The problem: the ./vendor/bin/doctrine-module file is not on the server.

What I've done so far: I uploaded my composer.lock and gave an install.

The following error occurs when attempting to update Doctrine

 [RuntimeException]                                             
  Failed to execute git status --porcelain --untracked-files=no  
  error: bad index file sha1 signature                           
  fatal: index file corrupt    

I've tried user:

rm -f .git/index 
git reset

But the error persists when running the command again. Could Algume help me?

    
asked by anonymous 03.11.2015 / 19:33

1 answer

0

If you removed the .git/index file from the main project, it is probably the index of some of the dependencies that are causing problems.

Delete the vendor folder and install the project dependencies again with composer install .

    
04.11.2015 / 12:19