Created
February 20, 2017 11:34
-
-
Save maticrivo/f1b591312c8bd1b4ee8686c76dd801bf to your computer and use it in GitHub Desktop.
dokku trace on
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git push dokku master -f | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo 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 ''\''office'\''' | |
+ 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:.* ]] | |
++ id -un | |
+ [[ dokku != \r\o\o\t ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ -n git-receive-pack 'office' ]] | |
+ export -n SSH_ORIGINAL_COMMAND | |
+ [[ git-receive-pack =~ config-* ]] | |
+ [[ git-receive-pack =~ docker-options* ]] | |
+ set -f | |
+ /usr/bin/dokku git-receive-pack ''\''office'\''' | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo 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 ''\''office'\''' | |
+ 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:.* ]] | |
++ id -un | |
+ [[ dokku != \r\o\o\t ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ -n '' ]] | |
+ dokku_auth git-receive-pack ''\''office'\''' | |
+ declare 'desc=calls user-auth plugin trigger' | |
+ export SSH_USER=dokku | |
+ SSH_USER=dokku | |
+ export SSH_NAME=matias | |
+ SSH_NAME=matias | |
+ plugn trigger user-auth dokku matias git-receive-pack ''\''office'\''' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ [[ ! -n '' ]] | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ [[ git-receive-pack =~ (ssh-keys:add|ssh-keys:remove) ]] | |
+ return 0 | |
+ case "$1" in | |
+ execute_dokku_cmd git-receive-pack ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/deployment-keys/commands git-receive-pack ''\''office'\''' | |
+ APP=''\''office'\''' | |
+ APP_SPECIFIC_KEY_FOLDER='/home/dokku/.deployment-keys/'\''office'\''/.ssh' | |
+ SHARED_KEY_FOLDER=/home/dokku/.deployment-keys/shared/.ssh | |
+ case "$1" in | |
+ exit 10 | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ source /var/lib/dokku/plugins/available/git/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/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 | |
++ 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 ''\''office'\''' | |
+ declare 'desc=catch-all for any other git-* commands' | |
+ local 'cmd=git-*' | |
++ echo ''\''office'\''' | |
++ sed 's/^\///g' | |
++ sed 's/\\'\''/'\''/g' | |
++ perl -pe 's/(?<!\\)'\''//g' | |
+ local APP=office | |
+ local APP_PATH=/home/dokku/office | |
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]] | |
+ [[ ! -d /home/dokku/office/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/office'\''' | |
+ git-shell -c 'git-receive-pack '\''/home/dokku/office'\''' | |
Total 0 (delta 0), reused 0 (delta 0) | |
remote: + export DOKKU_DISTRO | |
remote: ++ . /etc/os-release | |
remote: ++ echo 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 office | |
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: ++ id -un | |
remote: + [[ dokku != \r\o\o\t ]] | |
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth git-hook office | |
remote: + declare 'desc=calls user-auth plugin trigger' | |
remote: + export SSH_USER=dokku | |
remote: + SSH_USER=dokku | |
remote: + export SSH_NAME=matias | |
remote: + SSH_NAME=matias | |
remote: + plugn trigger user-auth dokku matias git-hook office | |
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-hook =~ (ssh-keys:add|ssh-keys:remove) ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd git-hook office | |
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 office | |
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 office | |
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 office | |
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 office | |
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 office | |
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 office | |
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/deployment-keys/commands git-hook office | |
remote: + APP=office | |
remote: + APP_SPECIFIC_KEY_FOLDER=/home/dokku/.deployment-keys/office/.ssh | |
remote: + SHARED_KEY_FOLDER=/home/dokku/.deployment-keys/shared/.ssh | |
remote: + case "$1" in | |
remote: + exit 10 | |
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 office | |
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 office | |
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 office | |
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 office | |
remote: + source /var/lib/dokku/plugins/available/git/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/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: ++ 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 office | |
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook' | |
remote: + local cmd=git-hook | |
remote: + local APP=office | |
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 office 498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
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/git/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/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: ++ 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: + git_receive_app office 498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + declare 'desc=git receive-app plugin trigger' | |
remote: + local trigger=git_receive_app | |
remote: + local APP=office | |
remote: + local REV=498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + [[ ! -d /home/dokku/office/refs ]] | |
remote: + acquire_app_deploy_lock office exclusive | |
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys' | |
remote: + local APP=office | |
remote: + verify_app_name office | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=office | |
remote: + [[ ! -n office ]] | |
remote: + [[ ! office =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/office ]] | |
remote: + return 0 | |
remote: + local LOCK_TYPE=exclusive | |
remote: + local APP_DEPLOY_LOCK_FD=200 | |
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/office/.deploy.lock | |
remote: + local 'LOCK_WAITING_MSG=office is currently being deployed. Waiting...' | |
remote: + local 'LOCK_FAILED_MSG=office is currently being deployed. Exiting...' | |
remote: + local SHOW_MSG=true | |
remote: + eval 'exec 200>/home/dokku/office/.deploy.lock' | |
remote: ++ exec | |
remote: + [[ exclusive == \w\a\i\t\i\n\g ]] | |
remote: + flock -n 200 | |
remote: + git_build office 498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + declare 'desc=setup and call git_build_app_repo' | |
remote: + local APP=office | |
remote: + [[ 2 -ge 2 ]] | |
remote: + local REF=498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + git_build_app_repo office 498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + declare 'desc=builds local git app repo for app' | |
remote: + verify_app_name office | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=office | |
remote: + [[ ! -n office ]] | |
remote: + [[ ! office =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/office ]] | |
remote: + return 0 | |
remote: + local APP=office | |
remote: + local REV=498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: ++ mktemp -d /tmp/dokku_git.XXXX | |
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.q1M1 | |
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT | |
remote: + local TMP_TAG=dokku/498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + chmod 755 /tmp/dokku_git.q1M1 | |
remote: + unset GIT_DIR GIT_WORK_TREE | |
remote: + pushd /tmp/dokku_git.q1M1 | |
remote: + [[ ! -d /home/dokku/office ]] | |
remote: + GIT_DIR=/home/dokku/office | |
remote: + git tag -d dokku/498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + GIT_DIR=/home/dokku/office | |
remote: + git tag dokku/498b74283702557d6b94b03e2ad7c611fd4a56e6 498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + git init | |
remote: + git config advice.detachedHead false | |
remote: + git remote add origin /home/dokku/office | |
remote: + git fetch --depth=1 origin refs/tags/dokku/498b74283702557d6b94b03e2ad7c611fd4a56e6 | |
remote: + git reset --hard FETCH_HEAD | |
remote: + git submodule update --init --recursive | |
remote: + rm -rf /tmp/dokku_git.q1M1 | |
remote: + exit_code=1 | |
remote: + set -e | |
remote: + [[ 1 -eq 10 ]] | |
remote: + implemented=1 | |
remote: + [[ 1 -ne 0 ]] | |
remote: + exit 1 | |
+ 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/hostkeys-plugin/commands git-receive-pack ''\''office'\''' | |
+ APP=''\''office'\''' | |
+ SHARED_KEY_TO_ADD=''\''office'\''' | |
+ SHARED_KEY_TO_ADD_APP= | |
+ HOSTNAME_TO_ADD=''\''office'\''' | |
+ HOSTNAME_TO_ADD_APP= | |
+ HOSTNAME_TO_REMOVE=''\''office'\''' | |
+ HOSTNAME_TO_REMOVE_APP= | |
+ APP_SPECIFIC_HOSTKEYS_FOLDER='/home/dokku/.hostkeys/'\''office'\''/.ssh' | |
+ APP_SPECIFIC_HOSTKEYS_FILE='/home/dokku/.hostkeys/'\''office'\''/.ssh/known_hosts' | |
+ SHARED_HOSTKEYS_FOLDER=/home/dokku/.hostkeys/shared/.ssh | |
+ SHARED_HOSTKEYS_FILE=/home/dokku/.hostkeys/shared/.ssh/known_hosts | |
+ case "$1" in | |
+ exit 10 | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/redis/commands git-receive-pack ''\''office'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/repo/commands git-receive-pack ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/ssh-keys/commands git-receive-pack ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ 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 ''\''office'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ [[ 1 -eq 0 ]] | |
+ set +f | |
+ exit 0 | |
To XXXXX:office | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'dokku@XXXXX:office' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment