When trying to push and deploy my app to cloudControlled PaaS:
$ cctrlapp MY_APP/default push
I get the following error (reduced output):
remote: -----> Receiving push
remote: /srv/www/buildpacks/php/bin/compile: line 81: /srv/tmp/builddir/code/composer.phar: Permission denied
remote: ! cloudControl push rejected, failed to compile php app
remote: !
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/repository.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/repository.git'
Command '['PATH_TO_GIT', 'push', u'ssh://[email protected]/repository.git', 'master']'
returned non-zero exit status 1
Anyone has any idea?
I found out I have to remove the
composer.phar
file from the root directory of my repository. Too keep it in my local filesystem, I did