after cloning the existing openshift app using
rhc app create dev --from-app sample/live
, I push the repo to execute the build
.
Then it raises an error while building.
server reponse:
...
~/.env/user_vars/APP_ENV: Permission denied
...
... Error activating gear: CLIENT_ERROR: Failed to execute action hook 'deploy' ...
deploy hook command: that triggers the error
if [ "$(type -t set_env_var)" == "function" ]; then
set_env_var 'APP_ENV' $APP_ENV $OPENSHIFT_HOMEDIR/.env/user_vars
set_env_var 'APP_DEBUG' $APP_DEBUG $OPENSHIFT_HOMEDIR/.env/user_vars
fi