SyntaxC4-MSFT / ComposerExtension

Brings Composer Support to Azure Websites via a Site Extension
http://www.siteextensions.net
MIT License
15 stars 7 forks source link

composer install frequently fails when using Git deployment #23

Open pb30 opened 3 years ago

pb30 commented 3 years ago

When using Local Git method for deployment, composer install frequently fails to install updates on deployment

remote: Updating branch 'master'.
remote: Updating submodules.
remote: Preparing deployment for commit id '9822aac992'.
remote: Running custom deployment command...
remote: Running deployment command...
remote: Install Dependencies with Composer
remote: Installing dependencies from lock file
remote: Verifying lock file contents can be installed on current platform.
remote: Package operations: 0 installs, 2 updates, 0 removals
remote:   - Downloading symfony/translation (v5.2.2)
remote:   - Downloading nesbot/carbon (2.44.0)
remote:   - Upgrading symfony/translation (v5.2.1 => v5.2.2): Extracting archive
remote:     Update of symfony/translation failed
remote: ......
remote:   - Upgrading nesbot/carbon (2.43.0 => 2.44.0): Extracting archive
remote:     Update of nesbot/carbon failed
remote:
remote:
remote:   [RuntimeException]
remote:   Could not delete D:\home\site\repository/vendor/composer/tmp-76b8eabe55017bfdfc0c60d8931c3967:
remote:   This can be due to an antivirus or the Windows Search Indexer locking the file while they are analyzed
remote:
remote:
remote: An error has occurred during web site deployment.