Skip to content

composer install frequently fails when using Git deployment #23

@pb30

Description

@pb30

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions