sh: 1: ./support/app_slug_compile.sh: Permission denied
fydy opened this issue · comments
-----> Deleting 57 files matching .slugignore patterns.
-----> PHP app detected
-----> Bootstrapping...
-----> Installing platform packages...
- php (7.3.11)
- ext-gd (bundled with php)
- apache (2.4.41)
- nginx (1.16.1)
-----> Installing dependencies...
Composer version 1.9.0 2019-08-02 20:55:32
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 23 installs, 0 updates, 0 removals
- Installing composer/installers (v1.7.0): Downloading (100%)
- Installing cweagans/composer-patches (1.6.7): Downloading (100%)
- Installing automattic/batcache (dev-master 81d6fbf): Downloading (100%)
- Installing ralouphie/getallheaders (3.0.3): Downloading (100%)
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.6.1): Downloading (100%)
- Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
- Installing guzzlehttp/guzzle (6.4.1): Downloading (100%)
- Installing mtdowling/jmespath.php (2.4.0): Downloading (100%)
- Installing aws/aws-sdk-php (3.120.0): Downloading (100%)
- Installing humanmade/s3-uploads (2.2.1): Downloading (100%)
- Installing predis/predis (v1.1.1): Downloading (100%)
- Installing wordpress/wordpress (5.2.3): Downloading (100%)
- Installing wp-cli/php-cli-tools (v0.11.11): Downloading (100%)
- Installing wp-cli/mustangostang-spyc (0.6.3): Downloading (100%)
- Installing symfony/finder (v4.3.8): Downloading (100%)
- Installing rmccue/requests (v1.7.0): Downloading (100%)
- Installing mustache/mustache (v2.12.0): Downloading (100%)
- Installing wp-cli/wp-cli (v2.4.0): Downloading (100%)
- Installing wpackagist-plugin/jetpack (7.9.1): Downloading (100%)
- Installing wpackagist-plugin/redis-cache (1.5.2): Downloading (100%)
- Installing wpackagist-plugin/secure-db-connection (1.1.6): Downloading (100%)
- Installing wpackagist-plugin/sendgrid-email-delivery-simplified (1.11.8): Downloading (100%)
Generating optimized autoload files
> ./support/app_slug_compile.sh
sh: 1: ./support/app_slug_compile.sh: Permission denied
Script ./support/app_slug_compile.sh handling the post-install-cmd event returned with error code 126
! WARNING: A post-install-cmd script terminated with an error
! ERROR: Dependency installation failed!
!
! The 'composer install' process failed with an error. The cause
! may be the download or installation of packages, or a pre- or
! post-install hook (e.g. a 'post-install-cmd' item in 'scripts')
! in your 'composer.json'.
!
! Typical error cases are out-of-date or missing parts of code,
! timeouts when making external connections, or memory limits.
!
! Check the above error output closely to determine the cause of
! the problem, ensure the code you're pushing is functioning
! properly, and that all local changes are committed correctly.
!
! For more information on builds for PHP on Heroku, refer to
! https://devcenter.heroku.com/articles/php-support
!
! REMINDER: the following warnings were emitted during the build;
! check the details above, as they may be related to this error:
! - A post-install-cmd script terminated with an error
! Push rejected, failed to compile PHP app.
! Push failed
reference #91