Skip to content

Instantly share code, notes, and snippets.

@crisward
Created April 5, 2016 16:05
Show Gist options
  • Save crisward/ec59fccfe6b64e2ead85def638e63ffa to your computer and use it in GitHub Desktop.
Save crisward/ec59fccfe6b64e2ead85def638e63ffa to your computer and use it in GitHub Desktop.
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args git-receive-pack ''\''simplephp'\'''
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=2
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=3
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
++ /usr/bin/tty
++ true
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
+ return 1
+ DOKKU_QUIET_OUTPUT=1
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
++ id -un
+ [[ dokku != \r\o\o\t ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
+ [[ -n git-receive-pack 'simplephp' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ [[ git-receive-pack =~ docker-options* ]]
+ set -f
+ /usr/local/bin/dokku git-receive-pack ''\''simplephp'\'''
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args git-receive-pack ''\''simplephp'\'''
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=2
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=3
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
++ /usr/bin/tty
++ true
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
+ return 1
+ DOKKU_QUIET_OUTPUT=1
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
++ id -un
+ [[ dokku != \r\o\o\t ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
+ [[ -n '' ]]
+ dokku_auth git-receive-pack ''\''simplephp'\'''
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=admin
+ SSH_NAME=admin
+ plugn trigger user-auth dokku admin git-receive-pack ''\''simplephp'\'''
+ return 0
+ case "$1" in
+ execute_dokku_cmd git-receive-pack ''\''simplephp'\'''
+ declare 'desc=executes dokku sub-commands'
+ local PLUGIN_NAME=git-receive-pack
+ local PLUGIN_CMD=git-receive-pack
+ local implemented=0
+ local script
+ argv=("$@")
+ local argv
+ case "$PLUGIN_NAME" in
++ readlink -f /var/lib/dokku/plugins/enabled/git-receive-pack
+ [[ /var/lib/dokku/plugins/enabled/git-receive-pack == *core-plugins* ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/default ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-pack ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-pack ]]
+ [[ 0 -eq 0 ]]
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/20_events/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/apps/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/certs/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/checks/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/config/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/docker-options/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/domains/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/enter/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/git/commands git-receive-pack ''\''simplephp'\'''
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ source /var/lib/dokku/plugins/available/apps/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ source /var/lib/dokku/core-plugins/available/common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+ source /var/lib/dokku/plugins/available/config/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ source /var/lib/dokku/core-plugins/available/common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+ case "$1" in
+ git_glob_cmd git-receive-pack ''\''simplephp'\'''
+ declare 'desc=catch-all for any other git-* commands'
+ local 'cmd=git-*'
++ sed 's/^\///g'
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
++ echo ''\''simplephp'\'''
+ local APP=simplephp
+ local APP_PATH=/home/dokku/simplephp
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/simplephp/refs ]]
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ local 'args=git-receive-pack '\''/home/dokku/simplephp'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/simplephp'\'''
Counting objects: 3, done.
Writing objects: 100% (3/3), 243 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: + case "$(lsb_release -si)" in
remote: ++ lsb_release -si
remote: + export DOKKU_DISTRO=ubuntu
remote: + DOKKU_DISTRO=ubuntu
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args git-hook simplephp
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=2
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=3
remote: + return 0
remote: + args=("$@")
remote: + [[ git-hook =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-hook =~ ^plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-hook simplephp
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin git-hook simplephp
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-hook simplephp
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=git-hook
remote: + local PLUGIN_CMD=git-hook
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/git-hook
remote: + [[ /var/lib/dokku/plugins/enabled/git-hook == *core-plugins* ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
remote: + [[ 0 -eq 0 ]]
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/checks/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-hook simplephp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-hook simplephp
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/apps/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + case "$1" in
remote: + git_hook_cmd git-hook simplephp
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
remote: + local cmd=git-hook
remote: + local APP=simplephp
remote: + local oldrev newrev refname
remote: + read -r oldrev newrev refname
remote: + [[ refs/heads/master = \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
remote: + plugn trigger receive-app simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + git_receive_app simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=git receive-app plugin trigger'
remote: + local trigger=git_receive_app
remote: + local APP=simplephp
remote: + local REV=77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + [[ ! -d /home/dokku/simplephp/refs ]]
remote: + dokku git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + case "$(lsb_release -si)" in
remote: ++ lsb_release -si
remote: + export DOKKU_DISTRO=ubuntu
remote: + DOKKU_DISTRO=ubuntu
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=2
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=3
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=4
remote: + return 0
remote: + args=("$@")
remote: + [[ git-build =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-build =~ ^plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=git-build
remote: + local PLUGIN_CMD=git-build
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/git-build
remote: + [[ /var/lib/dokku/plugins/enabled/git-build == *core-plugins* ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build/subcommands/git-build ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build/subcommands/git-build ]]
remote: + [[ 0 -eq 0 ]]
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/checks/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/apps/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + case "$1" in
remote: + git_build_cmd git-build simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=lock git-build'
remote: + local cmd=git-build
remote: + local APP=simplephp
remote: + local APP_BUILD_LOCK=/home/dokku/simplephp/.build.lock
remote: + local 'APP_BUILD_LOCK_MSG=simplephp is currently being deployed or locked. Waiting...'
remote: ++ flock -n /home/dokku/simplephp/.build.lock true
remote: ++ echo 0
remote: + [[ 0 -ne 0 ]]
remote: + shift 1
remote: + flock -o /home/dokku/simplephp/.build.lock dokku git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + case "$(lsb_release -si)" in
remote: ++ lsb_release -si
remote: + export DOKKU_DISTRO=ubuntu
remote: + DOKKU_DISTRO=ubuntu
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=2
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=3
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=4
remote: + return 0
remote: + args=("$@")
remote: + [[ git-build-locked =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-build-locked =~ ^plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=git-build-locked
remote: + local PLUGIN_CMD=git-build-locked
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/git-build-locked
remote: + [[ /var/lib/dokku/plugins/enabled/git-build-locked == *core-plugins* ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build-locked/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build-locked/subcommands/git-build-locked ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build-locked/subcommands/git-build-locked ]]
remote: + [[ 0 -eq 0 ]]
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/checks/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/apps/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + case "$1" in
remote: + git_build_locked_cmd git-build-locked simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=setup and call git_build_app_repo'
remote: + local cmd=git-build-locked
remote: + local APP=simplephp
remote: + [[ 3 -ge 3 ]]
remote: + local REF=77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + git_build_app_repo simplephp 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + declare 'desc=builds local git app repo for app'
remote: + verify_app_name simplephp
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=simplephp
remote: + [[ ! -n simplephp ]]
remote: + [[ ! simplephp =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/simplephp ]]
remote: + return 0
remote: + local APP=simplephp
remote: + local REV=77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: ++ mktemp -d /tmp/dokku_git.XXXX
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.Y0S0
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT
remote: + local TMP_TAG=dokku/77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + chmod 755 /tmp/dokku_git.Y0S0
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/dokku_git.Y0S0
remote: + [[ ! -d /home/dokku/simplephp ]]
remote: + GIT_DIR=/home/dokku/simplephp
remote: + git tag -d dokku/77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + true
remote: + GIT_DIR=/home/dokku/simplephp
remote: + git tag dokku/77f703618d3caa83f9c1136ef18b2b9e9e7c6085 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + git init
remote: + git config advice.detachedHead false
remote: + git remote add origin /home/dokku/simplephp
remote: + git fetch --depth=1 origin refs/tags/dokku/77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + git reset --hard FETCH_HEAD
remote: + git submodule update --init --recursive
remote: + GIT_DIR=/home/dokku/simplephp
remote: + git tag -d dokku/77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + [[ -f Dockerfile ]]
remote: + plugn trigger pre-receive-app simplephp herokuish /tmp/dokku_git.Y0S0 77f703618d3caa83f9c1136ef18b2b9e9e7c6085
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
/'
remote: + dokku receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + case "$(lsb_release -si)" in
remote: ++ lsb_release -si
remote: + export DOKKU_DISTRO=ubuntu
remote: + DOKKU_DISTRO=ubuntu
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=2
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=3
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=4
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=5
remote: + return 0
remote: + args=("$@")
remote: + [[ receive =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ receive =~ ^plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=receive
remote: + local PLUGIN_CMD=receive
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: + local PLUGIN_NAME=00_dokku-standard
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/00_dokku-standard
remote: + [[ /var/lib/dokku/core-plugins/available/00_dokku-standard == *core-plugins* ]]
remote: + [[ receive == \r\e\c\e\i\v\e ]]
remote: + shift 1
remote: + [[ ! -z '' ]]
remote: + set -- receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/receive ]]
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/receive receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + dokku_receive_cmd receive simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=receives an app kicks off deploy process'
remote: + local cmd=receive
remote: + local APP=simplephp
remote: ++ get_app_image_name simplephp
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=simplephp
remote: ++ local IMAGE_TAG=
remote: +++ get_app_image_repo simplephp
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=simplephp
remote: +++ local IMAGE_REPO=dokku/simplephp
remote: +++ [[ -z simplephp ]]
remote: +++ echo dokku/simplephp
remote: ++ local IMAGE_REPO=dokku/simplephp
remote: ++ [[ -z simplephp ]]
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/simplephp:latest
remote: ++ echo dokku/simplephp:latest
remote: + local IMAGE=dokku/simplephp:latest
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.Y0S0
remote: + [[ -z '' ]]
remote: + dokku_log_info1 'Cleaning up...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Cleaning up...'
remote: + docker_cleanup
remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images'
-----> Cleaning up...
remote: ++ docker ps -a -f status=exited -f label=dokku -q
remote: + docker rm 2e1651c5ece2 643b170b9818 08a783ecba97 571a79a74cd3
remote: ++ docker ps -a -f status=dead -f label=dokku -q
remote: + docker rm
remote: + true
remote: + dokku_log_info1 'Building simplephp from herokuish...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Building simplephp from herokuish...'
remote: + config_set --no-restart simplephp DOKKU_APP_TYPE=herokuish
-----> Building simplephp from herokuish...
remote: ++ docker images -f dangling=true -q
remote: + docker rmi
remote: + dokku build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + case "$(lsb_release -si)" in
remote: ++ lsb_release -si
remote: + export DOKKU_DISTRO=ubuntu
remote: + DOKKU_DISTRO=ubuntu
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=2
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=3
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=4
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=5
remote: + return 0
remote: + args=("$@")
remote: + [[ build =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ build =~ ^plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=build
remote: + local PLUGIN_CMD=build
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: + local PLUGIN_NAME=00_dokku-standard
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/00_dokku-standard
remote: + [[ /var/lib/dokku/core-plugins/available/00_dokku-standard == *core-plugins* ]]
remote: + [[ build == \b\u\i\l\d ]]
remote: + shift 1
remote: + [[ ! -z '' ]]
remote: + set -- build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/build ]]
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/build build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + dokku_build_cmd build simplephp herokuish /tmp/dokku_git.Y0S0
remote: + declare 'desc=build phase'
remote: + local cmd=build
remote: + local APP=simplephp
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.Y0S0
remote: ++ get_app_image_name simplephp
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=simplephp
remote: ++ local IMAGE_TAG=
remote: +++ get_app_image_repo simplephp
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=simplephp
remote: +++ local IMAGE_REPO=dokku/simplephp
remote: +++ [[ -z simplephp ]]
remote: +++ echo dokku/simplephp
remote: ++ local IMAGE_REPO=dokku/simplephp
remote: ++ [[ -z simplephp ]]
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/simplephp:latest
remote: ++ echo dokku/simplephp:latest
remote: + local IMAGE=dokku/simplephp:latest
remote: + verify_app_name simplephp
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=simplephp
remote: + [[ ! -n simplephp ]]
remote: + [[ ! simplephp =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/simplephp ]]
remote: + return 0
remote: + local CACHE_DIR=/home/dokku/simplephp/cache
remote: ++ config_export app simplephp
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=simplephp
remote: ++ local ENV_FILE=/home/dokku/simplephp/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/simplephp/ENV ]]
remote: ++ [[ ! -s /home/dokku/simplephp/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/simplephp/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + eval 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: + pushd /tmp/dokku_git.Y0S0
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ docker run --label=dokku -i -a stdin gliderlabs/herokuish /bin/bash -c 'mkdir -p /app && tar -xC /app'
remote: ++ tar -c .
remote: + local id=9146c64df82f0c3ac54945aef5cbe36b729d3f1301847b2d1a17aaa47c30cb65
remote: ++ docker wait 9146c64df82f0c3ac54945aef5cbe36b729d3f1301847b2d1a17aaa47c30cb65
remote: + test 0 -eq 0
remote: + docker commit 9146c64df82f0c3ac54945aef5cbe36b729d3f1301847b2d1a17aaa47c30cb65 dokku/simplephp:latest
remote: + [[ -d /home/dokku/simplephp/cache ]]
remote: + plugn trigger pre-build-buildpack simplephp
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + build_env_pre_build_buildpack simplephp
remote: + declare 'desc=build-env pre-build-buildpack plugin trigger'
remote: + local trigger=build_env_pre_build_buildpack
remote: + local APP=simplephp
remote: ++ get_app_image_name simplephp
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=simplephp
remote: ++ local IMAGE_TAG=
remote: +++ get_app_image_repo simplephp
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=simplephp
remote: +++ local IMAGE_REPO=dokku/simplephp
remote: +++ [[ -z simplephp ]]
remote: +++ echo dokku/simplephp
remote: ++ local IMAGE_REPO=dokku/simplephp
remote: ++ [[ -z simplephp ]]
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/simplephp:latest
remote: ++ echo dokku/simplephp:latest
remote: + local IMAGE=dokku/simplephp:latest
remote: + local BUILD_ENV=
remote: + verify_app_name simplephp
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=simplephp
remote: + [[ ! -n simplephp ]]
remote: + [[ ! simplephp =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/simplephp ]]
remote: + return 0
remote: ++ config_get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get --global CURL_CONNECT_TIMEOUT
remote: ++ config_parse_args config:get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART
remote: ++ case "$2" in
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ APP=simplephp
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ global = \a\p\p ]]
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART
remote: ++ [[ -z CURL_CONNECT_TIMEOUT ]]
remote: ++ config_create /home/dokku/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: ++ local KEY=CURL_CONNECT_TIMEOUT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export CURL_CONNECT_TIMEOUT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: + [[ -z 5 ]]
remote: ++ config_get --global CURL_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get --global CURL_TIMEOUT
remote: ++ config_parse_args config:get --global CURL_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART
remote: ++ case "$2" in
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ APP=simplephp
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ global = \a\p\p ]]
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART
remote: ++ [[ -z CURL_TIMEOUT ]]
remote: ++ config_create /home/dokku/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: ++ local KEY=CURL_TIMEOUT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export CURL_TIMEOUT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: + [[ -z 30 ]]
remote: ++ config_export global
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=global
remote: ++ local APP=
remote: ++ local ENV_FILE=/home/dokku//ENV
remote: ++ [[ global == \g\l\o\b\a\l ]]
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ ! -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ local 'VARS=CURL_CONNECT_TIMEOUT='\''5'\''
remote: CURL_TIMEOUT='\''30'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'CURL_CONNECT_TIMEOUT='\''5'\''
remote: CURL_TIMEOUT='\''30'\'''
remote: ++ return 0
remote: + [[ -n export CURL_CONNECT_TIMEOUT='5'
remote: export CURL_TIMEOUT='30' ]]
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export global
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=global
remote: ++ local APP=
remote: ++ local ENV_FILE=/home/dokku//ENV
remote: ++ [[ global == \g\l\o\b\a\l ]]
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ ! -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ local 'VARS=CURL_CONNECT_TIMEOUT='\''5'\''
remote: CURL_TIMEOUT='\''30'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'CURL_CONNECT_TIMEOUT='\''5'\''
remote: CURL_TIMEOUT='\''30'\'''
remote: ++ return 0
remote: + local 'BUILD_ENV+=export CURL_CONNECT_TIMEOUT='\''5'\''
remote: export CURL_TIMEOUT='\''30'\'''
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export app simplephp
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=simplephp
remote: ++ local ENV_FILE=/home/dokku/simplephp/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/simplephp/ENV ]]
remote: ++ [[ ! -s /home/dokku/simplephp/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/simplephp/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + [[ -n export DOKKU_APP_TYPE='herokuish' ]]
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export app simplephp
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=simplephp
remote: ++ local ENV_FILE=/home/dokku/simplephp/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/simplephp/ENV ]]
remote: ++ [[ ! -s /home/dokku/simplephp/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/simplephp/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + local 'BUILD_ENV+=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'BUILD_ENV+=
remote: '
remote: + [[ ! -z
remote: export CURL_CONNECT_TIMEOUT='5'
remote: export CURL_TIMEOUT='30'
remote:
remote: export DOKKU_APP_TYPE='herokuish'
remote: ]]
remote: + dokku_log_info1 'Adding BUILD_ENV to build environment...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Adding BUILD_ENV to build environment...'
-----> Adding BUILD_ENV to build environment...
remote: ++ sed -e 's@export @@g' -e 's@\\n@ @g'
remote: ++ echo export 'CURL_CONNECT_TIMEOUT='\''5'\''' export 'CURL_TIMEOUT='\''30'\''' export 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: +++ cat
remote: ++ docker run --label=dokku -i -a stdin dokku/simplephp:latest /bin/bash -c 'for ENV_VAR in CURL_CONNECT_TIMEOUT='\''5'\'' CURL_TIMEOUT='\''30'\'' DOKKU_APP_TYPE='\''herokuish'\''; do echo $ENV_VAR |sed '\''s@^\([^=]*\)=\(.*\)$@echo \"\2\" >/tmp/env/\1@g'\'' >>/tmp/set_env.sh; done && mkdir -p /tmp/env && /bin/bash /tmp/set_env.sh'
remote: + local id=d5c4bfc6f61df930e883171d31972e716f3715c196256c6c35f02adf6e91355d
remote: ++ docker wait d5c4bfc6f61df930e883171d31972e716f3715c196256c6c35f02adf6e91355d
remote: + test 0 -eq 0
remote: + docker commit d5c4bfc6f61df930e883171d31972e716f3715c196256c6c35f02adf6e91355d dokku/simplephp:latest
remote: ++ docker run --label=dokku -i -a stdin dokku/simplephp:latest /bin/bash -c 'cat >> /app/.env'
remote: ++ echo -e '
remote: export CURL_CONNECT_TIMEOUT='\''5'\''
remote: export CURL_TIMEOUT='\''30'\''
remote:
remote: export DOKKU_APP_TYPE='\''herokuish'\''
remote: '
remote: + local id=025ed86527339a6a82a52f270742f85f4677e52729659046f2318ba97bf45e6b
remote: ++ docker wait 025ed86527339a6a82a52f270742f85f4677e52729659046f2318ba97bf45e6b
remote: + test 0 -eq 0
remote: + docker commit 025ed86527339a6a82a52f270742f85f4677e52729659046f2318ba97bf45e6b dokku/simplephp:latest
remote: ++ plugn trigger docker-args-build simplephp herokuish
remote: ++ :
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + docker_args simplephp herokuish
remote: + declare 'desc=docker args plugin trigger'
remote: + local trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-build
remote: ++ cat
remote: + local STDIN=
remote: + local APP=simplephp
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + case "$0" in
remote: + local PHASE=BUILD
remote: + local FILE_PREFIX=DOCKER_OPTIONS_
remote: + local PHASE_FILE_PATH=/home/dokku/simplephp/DOCKER_OPTIONS_BUILD
remote: + local output=
remote: + [[ -f /home/dokku/simplephp/DOCKER_OPTIONS_BUILD ]]
remote: + echo -n ''
remote: + local DOCKER_ARGS=
remote: + [[ -n 1 ]]
remote: + DOCKER_ARGS+=' -e TRACE=true '
remote: ++ docker run --label=dokku -d -v /home/dokku/simplephp/cache:/cache -e CACHE_PATH=/cache -e TRACE=true dokku/simplephp:latest /build
remote: + local id=39a021a43bd25565ad2621a89d919b5d20248475c85db17d33c965229f7e7d48
remote: + docker attach 39a021a43bd25565ad2621a89d919b5d20248475c85db17d33c965229f7e7d48
remote: + echo slug-import
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-import
remote: + cmd-export slug-generate
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-generate as=slug-generate
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug-generate
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo slug-generate
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-generate
remote: + cmd-export slug-export
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-export as=slug-export
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug-export
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo slug-export
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-export
remote: + cmd-export-ns procfile 'Use Procfiles and run app commands'
remote: + declare ns=procfile 'desc=Use Procfiles and run app commands'
remote: + eval 'procfile() {
remote: declare desc="Use Procfiles and run app commands"
remote: cmd-ns procfile "$@";
remote: }'
remote: + cmd-export procfile
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile as=procfile
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile
remote: + CMDS["$1"]=procfile
remote: + cmd-export procfile-start
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-start as=procfile-start
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile-start
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^procfile-'
remote: + echo procfile-start
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile-start
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-start
remote: + cmd-export procfile-exec
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-exec as=procfile-exec
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:start
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile-exec
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^procfile-'
remote: + echo procfile-exec
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile-exec
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-exec
remote: + cmd-export procfile-parse
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-parse as=procfile-parse
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:start
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:exec
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile-parse
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^procfile-'
remote: + echo procfile-parse
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile-parse
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-parse
remote: + case "$SELF" in
remote: + buildpack-build
remote: + declare 'desc=Build an application using installed buildpacks'
remote: + ensure-paths
remote: + mkdir -p /app /tmp/env /tmp/build /cache /tmp/buildpacks
remote: + [[ -n '' ]]
remote: + randomize-unprivileged
remote: + local userid=11528
remote: + local username=u11528
remote: + addgroup --quiet --gid 11528 u11528
remote: + adduser --shell /bin/bash --disabled-password --force-badname --no-create-home --uid 11528 --gid 11528 --gecos '' --quiet --home /app u11528
remote: + unprivileged_user=u11528
remote: + unprivileged_group=u11528
remote: + buildpack-setup
remote: + export APP_DIR=/app
remote: + APP_DIR=/app
remote: + export HOME=/app
remote: + HOME=/app
remote: + export REQUEST_ID=build-1914
remote: + REQUEST_ID=build-1914
remote: + export STACK=cedar-14
remote: + STACK=cedar-14
remote: + cp -r /app/. /tmp/build
remote: + usermod --home /app u11528
remote: + chown -R u11528:u11528 /app /tmp/build /cache /tmp/buildpacks
remote: + export CURL_CONNECT_TIMEOUT=30
remote: + CURL_CONNECT_TIMEOUT=30
remote: + export CURL_TIMEOUT=180
remote: + CURL_TIMEOUT=180
remote: + [[ -f /app/.env ]]
remote: + source /app/.env
remote: ++ export CURL_CONNECT_TIMEOUT=5
remote: ++ CURL_CONNECT_TIMEOUT=5
remote: ++ export CURL_TIMEOUT=30
remote: ++ CURL_TIMEOUT=30
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: + indent
remote: + read line
remote: + buildpack-execute
remote: + [[ -n '' ]]
remote: + ls /tmp/buildpacks/heroku-buildpack-multi
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-multi/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-multi/bin/detect /tmp/build
remote: + selected_name='no .buildpacks file'
remote: + [[ ! -n '' ]]
remote: + buildpacks=($buildpack_path/*)
remote: + local buildpacks
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/buildpack-nginx/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/buildpack-nginx/bin/detect /tmp/build
remote: + selected_name=
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-clojure/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-clojure/bin/detect /tmp/build
remote: + selected_name=no
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-erlang/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-erlang/bin/detect /tmp/build
remote: + selected_name=
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-go/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-go/bin/detect /tmp/build
-----> PHP app detected
remote: + selected_name=
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-gradle/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-gradle/bin/detect /tmp/build
remote: + selected_name=no
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-grails/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-grails/bin/detect /tmp/build
remote: + selected_name=no
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-java/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-java/bin/detect /tmp/build
remote: + selected_name=no
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-multi/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-multi/bin/detect /tmp/build
remote: + selected_name='no .buildpacks file'
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-nodejs/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-nodejs/bin/detect /tmp/build
remote: + selected_name=
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-php/bin/detect /tmp/build
remote: ++ setuidgid u11528 /tmp/buildpacks/heroku-buildpack-php/bin/detect /tmp/build
remote: + selected_name=PHP
remote: + selected_path=/tmp/buildpacks/heroku-buildpack-php
remote: + break
remote: + [[ -n /tmp/buildpacks/heroku-buildpack-php ]]
remote: + [[ -n PHP ]]
remote: + title 'PHP app detected'
----->' PHP app detected
-----> PHP app detected == --* ]]
-----> PHP app detected == ==* ]]
-----> PHP app detected'
remote: + read line
remote: cd /tmp/build
remote: + unprivileged /tmp/buildpacks/heroku-buildpack-php/bin/compile /tmp/build /cache /tmp/env
remote: + setuidgid u11528 /tmp/buildpacks/heroku-buildpack-php/bin/compile /tmp/build /cache /tmp/env
! WARNING: No 'composer.json' found.
Using 'index.php' to declare app type as PHP is considered legacy
functionality and may lead to unexpected behavior.
-----> Bootstrapping...
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
' ''
remote: + read line
remote: + [[ ! WARNING: No 'composer.json' found. == --* ]]
remote: + [[ ! WARNING: No 'composer.json' found. == ==* ]]
' '! WARNING: No '\''composer.json'\'' found.'
remote: + read line
remote: + [[ Using 'index.php' to declare app type as PHP is considered legacy == --* ]]
remote: + [[ Using 'index.php' to declare app type as PHP is considered legacy == ==* ]]
' 'Using '\''index.php'\'' to declare app type as PHP is considered legacy'
remote: + read line
remote: + [[ functionality and may lead to unexpected behavior. == --* ]]
remote: + [[ functionality and may lead to unexpected behavior. == ==* ]]
' 'functionality and may lead to unexpected behavior.'
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
' ''
remote: + read line
remote: + [[ -----> Bootstrapping... == --* ]]
----->' Bootstrapping...
remote: + read line
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: + rm -rf /tmp/dokku_git.Y0S0
remote: + exit_code=2
remote: + set -e
remote: + [[ 2 -eq 10 ]]
remote: + implemented=1
remote: + [[ 2 -ne 0 ]]
remote: + exit 2
remote: + exit_code=2
remote: + set -e
remote: + [[ 2 -eq 10 ]]
remote: + implemented=1
remote: + [[ 2 -ne 0 ]]
remote: + exit 2
remote: + exit_code=2
remote: + set -e
remote: + [[ 2 -eq 10 ]]
remote: + implemented=1
remote: + [[ 2 -ne 0 ]]
remote: + exit 2
+ exit_code=0
+ set -e
+ [[ 0 -eq 10 ]]
+ implemented=1
+ [[ 0 -ne 0 ]]
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/nginx-vhosts/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/plugin/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/proxy/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/ps/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/shell/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/storage/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/tags/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/tar/commands git-receive-pack ''\''simplephp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ set +f
+ exit 0
To dokku@dokku.me:simplephp
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@dokku.me:simplephp'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment