Skip to content

Instantly share code, notes, and snippets.

@dmmfll
Last active July 9, 2016 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmmfll/a6d35d32c8e35254a0dec45892f3f1c7 to your computer and use it in GitHub Desktop.
Save dmmfll/a6d35d32c8e35254a0dec45892f3f1c7 to your computer and use it in GitHub Desktop.
git submodule test
+ 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 ''\''gitsubmodules'\'''
+ 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 'gitsubmodules' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ [[ git-receive-pack =~ docker-options* ]]
+ set -f
+ /usr/bin/dokku git-receive-pack ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=dmmmd
+ SSH_NAME=dmmmd
+ plugn trigger user-auth dokku dmmmd git-receive-pack ''\''gitsubmodules'\'''
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ ! -n '' ]]
+ return 0
+ case "$1" in
+ execute_dokku_cmd git-receive-pack ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ declare 'desc=catch-all for any other git-* commands'
+ local 'cmd=git-*'
++ sed 's/^\///g'
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
++ echo ''\''gitsubmodules'\'''
+ local APP=gitsubmodules
+ local APP_PATH=/home/dokku/gitsubmodules
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/gitsubmodules/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/gitsubmodules'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/gitsubmodules'\'''
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 gitsubmodules
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 gitsubmodules
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=dmmmd
remote: + SSH_NAME=dmmmd
remote: + plugn trigger user-auth dokku dmmmd git-hook gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-hook gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
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 gitsubmodules
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
remote: + local cmd=git-hook
remote: + local APP=gitsubmodules
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 gitsubmodules c3bfa47c41994f813dd16f480a2a08ade68e5e00
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 gitsubmodules c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + declare 'desc=git receive-app plugin trigger'
remote: + local trigger=git_receive_app
remote: + local APP=gitsubmodules
remote: + local REV=c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + [[ ! -d /home/dokku/gitsubmodules/refs ]]
remote: + acquire_app_deploy_lock gitsubmodules exclusive
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local LOCK_TYPE=exclusive
remote: + local APP_DEPLOY_LOCK_FD=200
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/gitsubmodules/.deploy.lock
remote: + local 'LOCK_WAITING_MSG=gitsubmodules is currently being deployed. Waiting...'
remote: + local 'LOCK_FAILED_MSG=gitsubmodules is currently being deployed. Exiting...'
remote: + local SHOW_MSG=true
remote: + eval 'exec 200>/home/dokku/gitsubmodules/.deploy.lock'
remote: ++ exec
remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
remote: + flock -n 200
remote: + git_build gitsubmodules c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + declare 'desc=setup and call git_build_app_repo'
remote: + local APP=gitsubmodules
remote: + [[ 2 -ge 2 ]]
remote: + local REF=c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + git_build_app_repo gitsubmodules c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + declare 'desc=builds local git app repo for app'
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local APP=gitsubmodules
remote: + local REV=c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: ++ mktemp -d /tmp/dokku_git.XXXX
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.gpFc
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT
remote: + local TMP_TAG=dokku/c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + chmod 755 /tmp/dokku_git.gpFc
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/dokku_git.gpFc
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + GIT_DIR=/home/dokku/gitsubmodules
remote: + git tag -d dokku/c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + true
remote: + GIT_DIR=/home/dokku/gitsubmodules
remote: + git tag dokku/c3bfa47c41994f813dd16f480a2a08ade68e5e00 c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + git init
remote: + git config advice.detachedHead false
remote: + git remote add origin /home/dokku/gitsubmodules
remote: + git fetch --depth=1 origin refs/tags/dokku/c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + git reset --hard FETCH_HEAD
remote: + git submodule update --init --recursive
remote: + GIT_DIR=/home/dokku/gitsubmodules
remote: + git tag -d dokku/c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + [[ -f Dockerfile ]]
remote: + plugn trigger pre-receive-app gitsubmodules herokuish /tmp/dokku_git.gpFc c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + sed -u 's/^//'
remote: + dokku_receive gitsubmodules herokuish /tmp/dokku_git.gpFc
remote: + declare 'desc=receives an app kicks off deploy process'
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: + local APP=gitsubmodules
remote: ++ get_app_image_name gitsubmodules
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.gpFc
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'
remote: -----> Cleaning up...
remote: ++ docker ps -a -f status=exited -f label=dokku -q
remote: + docker rm eabdb55450f7 4396acb00fe4 34cce0592534 c0fc95c7790c 4cb4e842e990 05d83009ae4a fac4f312e2eb
remote: ++ docker ps -a -f status=dead -f label=dokku -q
remote: + docker rm
remote: + true
remote: + dokku_log_info1 'Building gitsubmodules from herokuish...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Building gitsubmodules from herokuish...'
remote: + config_set --no-restart gitsubmodules DOKKU_APP_TYPE=herokuish
remote: -----> Building gitsubmodules from herokuish...
remote: ++ docker images -f dangling=true -q
remote: + docker rmi
remote: + dokku_build gitsubmodules herokuish /tmp/dokku_git.gpFc
remote: + declare 'desc=build phase'
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: + local APP=gitsubmodules
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.gpFc
remote: ++ get_app_image_name gitsubmodules
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local CACHE_DIR=/home/dokku/gitsubmodules/cache
remote: ++ config_export app gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/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.gpFc
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=a6e6fd0c67037157801177d92ddc182c4cc0542410334f37e68a298e6f7abd78
remote: ++ docker wait a6e6fd0c67037157801177d92ddc182c4cc0542410334f37e68a298e6f7abd78
remote: + test 0 -eq 0
remote: + docker commit a6e6fd0c67037157801177d92ddc182c4cc0542410334f37e68a298e6f7abd78 dokku/gitsubmodules:latest
remote: + [[ -d /home/dokku/gitsubmodules/cache ]]
remote: + plugn trigger pre-build-buildpack gitsubmodules
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 gitsubmodules
remote: + declare 'desc=build-env pre-build-buildpack plugin trigger'
remote: + local trigger=build_env_pre_build_buildpack
remote: + local APP=gitsubmodules
remote: ++ get_app_image_name gitsubmodules
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local BUILD_ENV=
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
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 DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_CONNECT_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_CONNECT_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_CONNECT_TIMEOUT
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 DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_CONNECT_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_CONNECT_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_CONNECT_TIMEOUT
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 DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ CURL_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_TIMEOUT
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 DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_TIMEOUT
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 gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/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 gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/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...'
remote: -----> 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/gitsubmodules: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=000e097d5fd359013dc5aab75ff892558920a54f2f62362208b9587c84089a25
remote: ++ docker wait 000e097d5fd359013dc5aab75ff892558920a54f2f62362208b9587c84089a25
remote: + test 0 -eq 0
remote: + docker commit 000e097d5fd359013dc5aab75ff892558920a54f2f62362208b9587c84089a25 dokku/gitsubmodules:latest
remote: ++ docker run --label=dokku -i -a stdin dokku/gitsubmodules: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=a1052bfb5fe3ad4bf76be6bc4ee7181eecc7ac63f81be02968bdd76a0c08875d
remote: ++ docker wait a1052bfb5fe3ad4bf76be6bc4ee7181eecc7ac63f81be02968bdd76a0c08875d
remote: + test 0 -eq 0
remote: + docker commit a1052bfb5fe3ad4bf76be6bc4ee7181eecc7ac63f81be02968bdd76a0c08875d dokku/gitsubmodules:latest
remote: ++ plugn trigger docker-args-build gitsubmodules 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 gitsubmodules 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=gitsubmodules
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/gitsubmodules/DOCKER_OPTIONS_BUILD
remote: + local output=
remote: + [[ -f /home/dokku/gitsubmodules/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/gitsubmodules/cache:/cache -e CACHE_PATH=/cache -e TRACE=true dokku/gitsubmodules:latest /build
remote: + local id=42d00af2e4ba0324bcde233503050b114effc0f0c433622bd313466902c5ce17
remote: + docker attach 42d00af2e4ba0324bcde233503050b114effc0f0c433622bd313466902c5ce17
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 :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack
remote: + CMDS["$1"]=buildpack
remote: + cmd-export buildpack-build
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-build as=buildpack-build
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 :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-build
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-build
remote: + cmd-export buildpack-install
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-install as=buildpack-install
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 :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-install
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-install
remote: + cmd-export buildpack-list
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-list as=buildpack-list
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 buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-list
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-list
remote: + cmd-export-ns slug 'Manage application slugs'
remote: + declare ns=slug 'desc=Manage application slugs'
remote: + eval 'slug() { 
remote: declare desc="Manage application slugs"
remote: cmd-ns slug "$@"; 
remote: }'
remote: + cmd-export slug
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug as=slug
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 buildpack
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
remote: + CMDS["$ns:${as/#$ns-/}"]=slug
remote: + CMDS["$1"]=slug
remote: + cmd-export slug-import
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-import as=slug-import
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 buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug-import
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
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: ++ grep -v :
remote: ++ sort
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: + echo procfile-start
remote: + grep '^slug-'
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=4952
remote: + local username=u4952
remote: + addgroup --quiet --gid 4952 u4952
remote: + adduser --shell /bin/bash --disabled-password --force-badname --no-create-home --uid 4952 --gid 4952 --gecos '' --quiet --home /app u4952
remote: + unprivileged_user=u4952
remote: + unprivileged_group=u4952
remote: + buildpack-setup
remote: + export APP_DIR=/app
remote: + APP_DIR=/app
remote: + export HOME=/app
remote: + HOME=/app
remote: + export REQUEST_ID=build-7841
remote: + REQUEST_ID=build-7841
remote: + export STACK=cedar-14
remote: + STACK=cedar-14
remote: + cp -r /app/. /tmp/build
remote: + usermod --home /app u4952
remote: + chown -R u4952:u4952 /app /tmp/build /cache /tmp/env /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 u4952 /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 u4952 /tmp/buildpacks/buildpack-nginx/bin/detect /tmp/build
remote: + selected_name=
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/emberjs/bin/detect /tmp/build
remote: ++ setuidgid u4952 /tmp/buildpacks/emberjs/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 u4952 /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 u4952 /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 u4952 /tmp/buildpacks/heroku-buildpack-go/bin/detect /tmp/build
remote: + selected_name=
remote: + for buildpack in '"${buildpacks[@]}"'
remote: ++ unprivileged /tmp/buildpacks/heroku-buildpack-gradle/bin/detect /tmp/build
remote: ++ setuidgid u4952 /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 u4952 /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 u4952 /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 u4952 /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 u4952 /tmp/buildpacks/heroku-buildpack-nodejs/bin/detect /tmp/build
remote: + selected_name=Node.js
remote: + selected_path=/tmp/buildpacks/heroku-buildpack-nodejs
remote: + break
remote: + [[ -n /tmp/buildpacks/heroku-buildpack-nodejs ]]
remote: + [[ -n Node.js ]]
remote: + title 'Node.js app detected'
remote: + echo '----->' Node.js app detected
remote: + + [[ -----> Node.js app detected == --* ]]
remote: + [[ -----> Node.js app detected == ==* ]]
remote: + echo ' ' '-----> Node.js app detected'
remote:  -----> Node.js app detected
remote: + read line
remote: cd /tmp/build
remote: + unprivileged /tmp/buildpacks/heroku-buildpack-nodejs/bin/compile /tmp/build /cache /tmp/env
remote: + setuidgid u4952 /tmp/buildpacks/heroku-buildpack-nodejs/bin/compile /tmp/build /cache /tmp/env
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -----> Creating runtime environment == --* ]]
remote: + echo '----->' Creating runtime environment
remote: -----> Creating runtime environment
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ NPM_CONFIG_LOGLEVEL=error == --* ]]
remote: + [[ NPM_CONFIG_LOGLEVEL=error == ==* ]]
remote: + echo ' ' NPM_CONFIG_LOGLEVEL=error
remote:  NPM_CONFIG_LOGLEVEL=error
remote: + read line
remote: + [[ NPM_CONFIG_PRODUCTION=true == --* ]]
remote: + [[ NPM_CONFIG_PRODUCTION=true == ==* ]]
remote: + echo ' ' NPM_CONFIG_PRODUCTION=true
remote:  NPM_CONFIG_PRODUCTION=true
remote: + read line
remote: + [[ NODE_ENV=production == --* ]]
remote: + [[ NODE_ENV=production == ==* ]]
remote: + echo ' ' NODE_ENV=production
remote:  NODE_ENV=production
remote: + read line
remote: + [[ NODE_MODULES_CACHE=true == --* ]]
remote: + [[ NODE_MODULES_CACHE=true == ==* ]]
remote: + echo ' ' NODE_MODULES_CACHE=true
remote:  NODE_MODULES_CACHE=true
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -----> Installing binaries == --* ]]
remote: + echo '----->' Installing binaries
remote: -----> Installing binaries
remote: + read line
remote: + [[ engines.node (package.json): 4.2.x == --* ]]
remote: + [[ engines.node (package.json): 4.2.x == ==* ]]
remote: + echo ' ' 'engines.node (package.json): 4.2.x'
remote:  engines.node (package.json): 4.2.x
remote: + read line
remote: + [[ engines.npm (package.json): unspecified (use default) == --* ]]
remote: + [[ engines.npm (package.json): unspecified (use default) == ==* ]]
remote: + echo ' ' 'engines.npm (package.json): unspecified (use default)'
remote:  engines.npm (package.json): unspecified (use default)
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ Resolving node version 4.2.x via semver.io... == --* ]]
remote: + [[ Resolving node version 4.2.x via semver.io... == ==* ]]
remote: + echo ' ' 'Resolving node version 4.2.x via semver.io...'
remote:  Resolving node version 4.2.x via semver.io...
remote: + read line
remote: + [[ Downloading and installing node 4.2.6... == --* ]]
remote: + [[ Downloading and installing node 4.2.6... == ==* ]]
remote: + echo ' ' 'Downloading and installing node 4.2.6...'
remote:  Downloading and installing node 4.2.6...
remote: + read line
remote: + [[ Using default npm version: 2.14.12 == --* ]]
remote: + [[ Using default npm version: 2.14.12 == ==* ]]
remote: + echo ' ' 'Using default npm version: 2.14.12'
remote:  Using default npm version: 2.14.12
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -----> Restoring cache == --* ]]
remote: + echo '----->' Restoring cache
remote: -----> Restoring cache
remote: + read line
remote: + [[ Loading 2 from cacheDirectories (default): == --* ]]
remote: + [[ Loading 2 from cacheDirectories (default): == ==* ]]
remote: + echo ' ' 'Loading 2 from cacheDirectories (default):'
remote:  Loading 2 from cacheDirectories (default):
remote: + read line
remote: + [[ - node_modules == --* ]]
remote: + [[ - node_modules == ==* ]]
remote: + echo ' ' '- node_modules'
remote:  - node_modules
remote: + read line
remote: + [[ - bower_components (not cached - skipping) == --* ]]
remote: + [[ - bower_components (not cached - skipping) == ==* ]]
remote: + echo ' ' '- bower_components (not cached - skipping)'
remote:  - bower_components (not cached - skipping)
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -----> Building dependencies == --* ]]
remote: + echo '----->' Building dependencies
remote: -----> Building dependencies
remote: + read line
remote: + [[ Pruning any extraneous modules == --* ]]
remote: + [[ Pruning any extraneous modules == ==* ]]
remote: + echo ' ' 'Pruning any extraneous modules'
remote:  Pruning any extraneous modules
remote: + read line
remote: + [[ Installing node modules (package.json) == --* ]]
remote: + [[ Installing node modules (package.json) == ==* ]]
remote: + echo ' ' 'Installing node modules (package.json)'
remote:  Installing node modules (package.json)
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -----> Caching build == --* ]]
remote: + echo '----->' Caching build
remote: -----> Caching build
remote: + read line
remote: + [[ Clearing previous node cache == --* ]]
remote: + [[ Clearing previous node cache == ==* ]]
remote: + echo ' ' 'Clearing previous node cache'
remote:  Clearing previous node cache
remote: + read line
remote: + [[ Saving 2 cacheDirectories (default): == --* ]]
remote: + [[ Saving 2 cacheDirectories (default): == ==* ]]
remote: + echo ' ' 'Saving 2 cacheDirectories (default):'
remote:  Saving 2 cacheDirectories (default):
remote: + read line
remote: + [[ - node_modules == --* ]]
remote: + [[ - node_modules == ==* ]]
remote: + echo ' ' '- node_modules'
remote:  - node_modules
remote: + read line
remote: + [[ - bower_components (nothing to cache) == --* ]]
remote: + [[ - bower_components (nothing to cache) == ==* ]]
remote: + echo ' ' '- bower_components (nothing to cache)'
remote:  - bower_components (nothing to cache)
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -----> Build succeeded! == --* ]]
remote: + echo '----->' Build 'succeeded!'
remote: -----> Build succeeded!
remote: + read line
remote: + [[ └── express@3.3.8 == --* ]]
remote: + [[ └── express@3.3.8 == ==* ]]
remote: + echo ' ' '└── express@3.3.8'
remote:  └── express@3.3.8
remote: + read line
remote: + [[ '' == --* ]]
remote: + [[ '' == ==* ]]
remote: + echo ' ' ''
remote:  
remote: + read line
remote: + [[ -f /tmp/buildpacks/heroku-buildpack-nodejs/bin/release ]]
remote: + unprivileged /tmp/buildpacks/heroku-buildpack-nodejs/bin/release /tmp/build /cache
remote: + setuidgid u4952 /tmp/buildpacks/heroku-buildpack-nodejs/bin/release /tmp/build /cache
remote: + [[ -f /tmp/build/.release ]]
remote: + cat /tmp/build/.release
remote: + [[ addons: [] == --* ]]
remote: + [[ addons: [] == ==* ]]
remote: + echo ' ' 'addons: []'
remote:  addons: []
remote: + read line
remote: + [[ default_process_types: == --* ]]
remote: + [[ default_process_types: == ==* ]]
remote: + echo ' ' default_process_types:
remote:  default_process_types:
remote: + read line
remote: + [[ web: npm start == --* ]]
remote: + [[ web: npm start == ==* ]]
remote: + echo ' ' 'web: npm start'
remote:  web: npm start
remote: + read line
remote: ++ yaml-get config_vars
remote: ++ /bin/herokuish ::: yaml-get config_vars
remote: ++ cat /tmp/build/.release
remote: + config_vars=
remote: + [[ -n '' ]]
remote: + cd -
remote: + shopt -s dotglob nullglob
remote: + rm -rf /app/.basher /app/.env /app/.gitmodules /app/CHECKS /app/Procfile /app/check_deploy /app/node-js-sample /app/package.json /app/pre-commit
remote: + mv /tmp/build/.env /tmp/build/.gitmodules /tmp/build/.heroku /tmp/build/.profile.d /tmp/build/.release /tmp/build/CHECKS /tmp/build/Procfile /tmp/build/check_deploy /tmp/build/node-js-sample /tmp/build/node_modules /tmp/build/package.json /tmp/build/pre-commit /app
remote: + shopt -u dotglob nullglob
remote: + indent
remote: + read line
remote: + procfile-types
remote: + title 'Discovering process types'
remote: + echo '----->' Discovering process types
remote: + [[ -----> Discovering process types == --* ]]
remote: + [[ -----> Discovering process types == ==* ]]
remote: + echo ' ' '-----> Discovering process types'
remote:  -----> Discovering process types
remote: + read line
remote: + [[ -f /app/Procfile ]]
remote: + local types
remote: ++ xargs echo
remote: ++ yaml-esque-keys
remote: ++ declare 'desc=Get process type keys from colon-separated structure'
remote: ++ cat /app/Procfile
remote: +++ cat
remote: ++ read line
remote: ++ [[ web: node node-js-sample/index.js =~ ^#.* ]]
remote: ++ key=web
remote: ++ echo web
remote: ++ read line
remote: ++ [[ -n '' ]]
remote: + types=web
remote: + echo 'Procfile declares types -> web'
remote: + + [[ Procfile declares types -> web == --* ]]
remote: + [[ Procfile declares types -> web == ==* ]]
remote: + return
remote: echo ' ' 'Procfile declares types -> web'
remote:  Procfile declares types -> web
remote: + read line
remote: ++ docker wait 42d00af2e4ba0324bcde233503050b114effc0f0c433622bd313466902c5ce17
remote: + test 0 -eq 0
remote: + docker commit 42d00af2e4ba0324bcde233503050b114effc0f0c433622bd313466902c5ce17 dokku/gitsubmodules:latest
remote: + plugn trigger post-build-buildpack gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + release_and_deploy gitsubmodules
remote: + declare 'desc=main function for releasing and deploying an app'
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: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: ++ get_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + verify_image dokku/gitsubmodules:latest
remote: + declare 'desc=verify image existence'
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + docker inspect dokku/gitsubmodules:latest
remote: + return 0
remote: + is_image_herokuish_based dokku/gitsubmodules:latest
remote: + declare 'desc=returns true if app image is based on herokuish'
remote: + [[ ! -f /home/ubuntu/.circlerc ]]
remote: + local DOCKER_ARGS=--rm
remote: + docker run --label=dokku --entrypoint=/bin/sh --rm dokku/gitsubmodules:latest -c 'test -f /exec'
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: ++ config_get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ config_parse_args config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_SKIP_DEPLOY
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_SKIP_DEPLOY
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_SKIP_DEPLOY='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ true
remote: + local DOKKU_APP_SKIP_DEPLOY=
remote: ++ config_get --global DOKKU_SKIP_DEPLOY
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 DOKKU_SKIP_DEPLOY
remote: ++ config_parse_args config:get --global DOKKU_SKIP_DEPLOY
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_SKIP_DEPLOY == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global DOKKU_SKIP_DEPLOY
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' DOKKU_SKIP_DEPLOY
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get DOKKU_SKIP_DEPLOY
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 DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global DOKKU_SKIP_DEPLOY
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' DOKKU_SKIP_DEPLOY
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get DOKKU_SKIP_DEPLOY
remote: ++ [[ -z DOKKU_SKIP_DEPLOY ]]
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=DOKKU_SKIP_DEPLOY
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_SKIP_DEPLOY='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ true
remote: + local DOKKU_GLOBAL_SKIP_DEPLOY=
remote: + local DOKKU_SKIP_DEPLOY=
remote: + dokku_log_info1 'Releasing gitsubmodules (dokku/gitsubmodules:latest)...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Releasing gitsubmodules (dokku/gitsubmodules:latest)...'
remote: + dokku_release gitsubmodules herokuish ''
remote: + declare 'desc=release phase'
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: -----> Releasing gitsubmodules (dokku/gitsubmodules:latest)...
remote: + local APP=gitsubmodules
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local IMAGE_TAG=
remote: ++ get_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: + plugn trigger pre-release-buildpack gitsubmodules ''
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
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: ++ docker run --label=dokku -i -a stdin dokku/gitsubmodules:latest /bin/bash -c 'mkdir -p /app/.profile.d && cat > /app/.profile.d/00-global-env.sh'
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 id=7f91d592af41050ffc76cb43846d014b34551dff11fa1622fc65dbefe6707612
remote: ++ docker wait 7f91d592af41050ffc76cb43846d014b34551dff11fa1622fc65dbefe6707612
remote: + test 0 -eq 0
remote: + docker commit 7f91d592af41050ffc76cb43846d014b34551dff11fa1622fc65dbefe6707612 dokku/gitsubmodules:latest
remote: ++ config_export app gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/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: ++ docker run --label=dokku -i -a stdin dokku/gitsubmodules:latest /bin/bash -c 'mkdir -p /app/.profile.d && cat > /app/.profile.d/01-app-env.sh'
remote: ++ config_export app gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + local id=22f542e20021e30c6d1be0c227da5d63087226408e8399338a509376dbfc0e20
remote: ++ docker wait 22f542e20021e30c6d1be0c227da5d63087226408e8399338a509376dbfc0e20
remote: + test 0 -eq 0
remote: + docker commit 22f542e20021e30c6d1be0c227da5d63087226408e8399338a509376dbfc0e20 dokku/gitsubmodules:latest
remote: + plugn trigger post-release-buildpack gitsubmodules ''
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ '' != \t\r\u\e ]]
remote: + dokku_log_info1 'Deploying gitsubmodules (dokku/gitsubmodules:latest)...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Deploying gitsubmodules (dokku/gitsubmodules:latest)...'
remote: + dokku_deploy_cmd gitsubmodules ''
remote: + declare 'desc=deploy phase'
remote: + local cmd=deploy
remote: + source /var/lib/dokku/plugins/available/checks/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: -----> Deploying gitsubmodules (dokku/gitsubmodules:latest)...
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: + source /var/lib/dokku/core-plugins/available/proxy/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: + [[ -z gitsubmodules ]]
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: ++ get_deploying_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return deployed image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ local IMAGE_REPO=
remote: +++ plugn trigger deployed-app-repository gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local IMAGE_REMOTE_REPOSITORY=
remote: +++ plugn trigger deployed-app-image-tag gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local NEW_IMAGE_TAG=
remote: +++ plugn trigger deployed-app-image-repo gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local NEW_IMAGE_REPO=
remote: ++ [[ -n '' ]]
remote: ++ [[ -n '' ]]
remote: +++ get_app_image_name gitsubmodules '' ''
remote: +++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_TAG=
remote: +++ IMAGE_REPO=
remote: +++ [[ -z gitsubmodules ]]
remote: +++ [[ -z '' ]]
remote: ++++ get_app_image_repo gitsubmodules
remote: ++++ declare 'desc=central definition of image repo pattern'
remote: ++++ local APP=gitsubmodules
remote: ++++ local IMAGE_REPO=dokku/gitsubmodules
remote: ++++ [[ -z gitsubmodules ]]
remote: ++++ echo dokku/gitsubmodules
remote: +++ IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -n '' ]]
remote: +++ local IMAGE=dokku/gitsubmodules:latest
remote: +++ echo dokku/gitsubmodules:latest
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ [[ -n '' ]]
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + plugn trigger pre-deploy gitsubmodules ''
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/core-plugins/available/00_dokku-standard/exec-app-json-scripts
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: + exec_app_json_scripts gitsubmodules ''
remote: + declare 'desc=core app.json scripts execution'
remote: + local 'trigger=pre-deploy app_json_scripts'
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: + local PHASE_SCRIPT_KEY=predeploy
remote: + dokku_log_info1 'Attempting to run scripts.dokku.predeploy from app.json (if defined)'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Attempting to run scripts.dokku.predeploy from app.json (if defined)'
remote: -----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
remote: + execute_script gitsubmodules '' predeploy
remote: + declare 'desc=executes appropriate phase script key from app.json'
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: ++ get_deploying_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return deployed image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ local IMAGE_REPO=
remote: +++ plugn trigger deployed-app-repository gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local IMAGE_REMOTE_REPOSITORY=
remote: +++ plugn trigger deployed-app-image-tag gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local NEW_IMAGE_TAG=
remote: +++ plugn trigger deployed-app-image-repo gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local NEW_IMAGE_REPO=
remote: ++ [[ -n '' ]]
remote: ++ [[ -n '' ]]
remote: +++ get_app_image_name gitsubmodules '' ''
remote: +++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_TAG=
remote: +++ IMAGE_REPO=
remote: +++ [[ -z gitsubmodules ]]
remote: +++ [[ -z '' ]]
remote: ++++ get_app_image_repo gitsubmodules
remote: ++++ declare 'desc=central definition of image repo pattern'
remote: ++++ local APP=gitsubmodules
remote: ++++ local IMAGE_REPO=dokku/gitsubmodules
remote: ++++ [[ -z gitsubmodules ]]
remote: ++++ echo dokku/gitsubmodules
remote: +++ IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -n '' ]]
remote: +++ local IMAGE=dokku/gitsubmodules:latest
remote: +++ echo dokku/gitsubmodules:latest
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ [[ -n '' ]]
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local PHASE_SCRIPT_KEY=predeploy
remote: ++ get_phase_script dokku/gitsubmodules:latest predeploy
remote: + local SCRIPT_CMD=
remote: + [[ -n '' ]]
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/ps/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: + ps_pre_deploy gitsubmodules ''
remote: + declare 'desc=ps pre-deploy plugin trigger'
remote: + local trigger=ps_pre_deploy
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: + extract_procfile gitsubmodules ''
remote: + declare 'desc=extracts procfile from app image'
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: ++ get_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local DOKKU_PROCFILE=/home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + remove_procfile gitsubmodules
remote: + declare 'desc=removes DOKKU_PROCFILE'
remote: + local APP=gitsubmodules
remote: + local DOKKU_PROCFILE=/home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + [[ -f /home/dokku/gitsubmodules/DOKKU_PROCFILE ]]
remote: + rm -f /home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + copy_from_image dokku/gitsubmodules:latest Procfile /home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + [[ -f /home/dokku/gitsubmodules/DOKKU_PROCFILE ]]
remote: + dokku_log_info1_quiet 'App Procfile file found (/home/dokku/gitsubmodules/DOKKU_PROCFILE)'
remote: + declare 'desc=log info1 formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo '-----> App Procfile file found (/home/dokku/gitsubmodules/DOKKU_PROCFILE)'
remote: + generate_scale_file gitsubmodules ''
remote: + declare 'desc=generates DOKKU_SCALE file'
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: -----> App Procfile file found (/home/dokku/gitsubmodules/DOKKU_PROCFILE)
remote: ++ get_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local DOKKU_SCALE_FILE=/home/dokku/gitsubmodules/DOKKU_SCALE
remote: + local DOKKU_PROCFILE=/home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + copy_from_image dokku/gitsubmodules:latest DOKKU_SCALE /home/dokku/gitsubmodules
remote: + [[ ! -f /home/dokku/gitsubmodules/DOKKU_SCALE ]]
remote: + dokku_log_info1_quiet 'DOKKU_SCALE file found (/home/dokku/gitsubmodules/DOKKU_SCALE)'
remote: + declare 'desc=log info1 formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo '-----> DOKKU_SCALE file found (/home/dokku/gitsubmodules/DOKKU_SCALE)'
remote: + print_dokku_scale_file gitsubmodules
remote: + declare 'desc=prints contents of DOKKU_SCALE file'
remote: + local APP=gitsubmodules
remote: + local DOKKU_SCALE_FILE=/home/dokku/gitsubmodules/DOKKU_SCALE
remote: + read -r line
remote: + dokku_log_info2_quiet web=1
remote: + declare 'desc=log info2 formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo '=====> web=1'
remote: + read -r line
remote: + [[ -n '' ]]
remote: -----> DOKKU_SCALE file found (/home/dokku/gitsubmodules/DOKKU_SCALE)
remote: =====> web=1
remote: + is_image_herokuish_based dokku/gitsubmodules:latest
remote: + declare 'desc=returns true if app image is based on herokuish'
remote: + [[ ! -f /home/ubuntu/.circlerc ]]
remote: + local DOCKER_ARGS=--rm
remote: + docker run --label=dokku --entrypoint=/bin/sh --rm dokku/gitsubmodules:latest -c 'test -f /exec'
remote: + local DOKKU_HEROKUISH=true
remote: + local DOKKU_SCALE_FILE=/home/dokku/gitsubmodules/DOKKU_SCALE
remote: ++ get_app_container_ids gitsubmodules
remote: ++ declare 'desc=returns list of docker container ids for given app and optional container_type'
remote: ++ local APP=gitsubmodules
remote: ++ local CONTAINER_TYPE=
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ [[ -f /home/dokku/gitsubmodules/CONTAINER ]]
remote: ++ [[ -n '' ]]
remote: ++ local 'CONTAINER_PATTERN=/home/dokku/gitsubmodules/CONTAINER.*'
remote: ++ shopt -s nullglob
remote: ++ local DOKKU_CID_FILE
remote: ++ shopt -u nullglob
remote: ++ echo ''
remote: + local oldids=
remote: ++ plugn trigger docker-args-deploy gitsubmodules ''
remote: ++ :
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: + config_docker_args gitsubmodules ''
remote: + declare 'desc=config docker-args plugin trigger'
remote: + local 'trigger=/var/lib/dokku/plugins/enabled/config/docker-args-deploy config_docker_args'
remote: ++ cat
remote: + local STDIN=
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: ++ get_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local DOCKERFILE_ENV_FILE=/home/dokku/gitsubmodules/DOCKERFILE_ENV_FILE
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + is_image_herokuish_based dokku/gitsubmodules:latest
remote: + declare 'desc=returns true if app image is based on herokuish'
remote: + [[ ! -f /home/ubuntu/.circlerc ]]
remote: + local DOCKER_ARGS=--rm
remote: + docker run --label=dokku --entrypoint=/bin/sh --rm dokku/gitsubmodules:latest -c 'test -f /exec'
remote: + echo -n ''
remote: + docker_args gitsubmodules ''
remote: + declare 'desc=docker args plugin trigger'
remote: + local trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-deploy
remote: ++ cat
remote: + local STDIN=
remote: + local APP=gitsubmodules
remote: + local IMAGE_SOURCE_TYPE=
remote: + case "$0" in
remote: + local PHASE=DEPLOY
remote: + local FILE_PREFIX=DOCKER_OPTIONS_
remote: + local PHASE_FILE_PATH=/home/dokku/gitsubmodules/DOCKER_OPTIONS_DEPLOY
remote: + local output=
remote: + [[ -f /home/dokku/gitsubmodules/DOCKER_OPTIONS_DEPLOY ]]
remote: + echo -n ''
remote: + local DOKKU_DEFAULT_DOCKER_ARGS=
remote: ++ is_app_proxy_enabled gitsubmodules
remote: ++ declare 'desc=return true if proxy is enabled; otherwise return false'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local APP_PROXY_ENABLED=true
remote: +++ config_get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ config_parse_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_DISABLE_PROXY
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_DISABLE_PROXY='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local DOKKU_DISABLE_PROXY=
remote: ++ [[ -n '' ]]
remote: ++ echo true
remote: + local DOKKU_IS_APP_PROXY_ENABLED=true
remote: ++ config_get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ config_parse_args config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_DOCKER_STOP_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_DOCKER_STOP_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_DOCKER_STOP_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_DOCKER_STOP_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_DOCKER_STOP_TIMEOUT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_DOCKER_STOP_TIMEOUT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ true
remote: + local DOKKU_DOCKER_STOP_TIMEOUT=
remote: + [[ -n '' ]]
remote: + local line
remote: + local PROC_TYPE
remote: + local PROC_COUNT
remote: + local CONTAINER_INDEX
remote: + read -r line
remote: + [[ web=1 =~ ^#.* ]]
remote: ++ strip_inline_comments web=1
remote: ++ declare 'desc=removes bash-style comment from input line'
remote: ++ local line=web=1
remote: ++ local stripped_line=web=1
remote: ++ echo web=1
remote: + line=web=1
remote: + PROC_TYPE=web
remote: + PROC_COUNT=1
remote: + CONTAINER_INDEX=1
remote: ++ is_app_proctype_checks_disabled gitsubmodules web
remote: ++ declare 'desc=return true if app'\''s proctype(s) checks are disabled'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local PROCTYPE=web status=false
remote: +++ config_get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ config_parse_args config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_CHECKS_DISABLED
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_CHECKS_DISABLED='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: +++ true
remote: ++ local DOKKU_CHECKS_DISABLED=
remote: ++ [[ '' == \_\a\l\l\_ ]]
remote: +++ is_val_in_list web ''
remote: +++ declare 'desc=return true if value (web) is in list () separated by delimiter (); delimiter defaults to comma'
remote: +++ local value=web list= delimiter=,
remote: +++ local IFS=, val_in_list=false
remote: +++ echo false
remote: ++ [[ false == \t\r\u\e ]]
remote: ++ echo false
remote: + [[ false == \t\r\u\e ]]
remote: + [[ 1 -le 1 ]]
remote: + local id=
remote: + local port=
remote: + local ipaddr=
remote: + local DOKKU_CONTAINER_ID_FILE=/home/dokku/gitsubmodules/CONTAINER.web.1
remote: + local DOKKU_IP_FILE=/home/dokku/gitsubmodules/IP.web.1
remote: + local DOKKU_PORT_FILE=/home/dokku/gitsubmodules/PORT.web.1
remote: + local DOCKER_ARGS=
remote: + local 'DOCKER_ARGS+= -e DYNO='\''web.1'\'' '
remote: + [[ -n 1 ]]
remote: + local 'DOCKER_ARGS+= -e TRACE=true '
remote: + [[ -n true ]]
remote: + local 'START_CMD=/start web'
remote: + [[ -z true ]]
remote: + [[ web == \w\e\b ]]
remote: + [[ -z '' ]]
remote: + local port=5000
remote: + local 'DOKKU_DOCKER_PORT_ARGS+=-p 5000'
remote: + [[ true == \t\r\u\e ]]
remote: ++ docker run --label=dokku -d -e PORT=5000 -e 'DYNO='\''web.1'\''' -e TRACE=true dokku/gitsubmodules:latest /start web
remote: + local id=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ docker inspect '--format={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: + local ipaddr=172.17.0.3
remote: + [[ -z 172.17.0.3 ]]
remote: + trap 'kill_new $id' INT TERM EXIT
remote: ++ is_app_proctype_checks_disabled gitsubmodules web
remote: ++ declare 'desc=return true if app'\''s proctype(s) checks are disabled'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local PROCTYPE=web status=false
remote: +++ config_get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ config_parse_args config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_CHECKS_DISABLED == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_DISABLED
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_CHECKS_DISABLED
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_CHECKS_DISABLED='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: +++ true
remote: ++ local DOKKU_CHECKS_DISABLED=
remote: ++ [[ '' == \_\a\l\l\_ ]]
remote: +++ is_val_in_list web ''
remote: +++ declare 'desc=return true if value (web) is in list () separated by delimiter (); delimiter defaults to comma'
remote: +++ local value=web list= delimiter=,
remote: +++ local IFS=, val_in_list=false
remote: +++ echo false
remote: ++ [[ false == \t\r\u\e ]]
remote: ++ echo false
remote: + [[ false == \f\a\l\s\e ]]
remote: + dokku_log_info1 'Attempting pre-flight checks'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Attempting pre-flight checks'
remote: + plugn trigger check-deploy gitsubmodules eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b web 5000 172.17.0.3
remote: -----> Attempting pre-flight checks
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/checks/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: + checks_check_deploy gitsubmodules eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b web 5000 172.17.0.3
remote: + declare 'desc=checks check-deploy plugin trigger'
remote: + local trigger=checks_check_deploy
remote: + local APP=gitsubmodules
remote: + local DOKKU_APP_CONTAINER_ID=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: + local DOKKU_APP_CONTAINER_TYPE=web
remote: + local DOKKU_APP_LISTEN_PORT=5000
remote: + local DOKKU_APP_LISTEN_IP=172.17.0.3
remote: + [[ -z 5000 ]]
remote: + [[ -z 172.17.0.3 ]]
remote: + [[ -z eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b ]]
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: + eval 'export CURL_CONNECT_TIMEOUT='\''5'\''
remote: export CURL_TIMEOUT='\''30'\'''
remote: ++ export CURL_CONNECT_TIMEOUT=5
remote: ++ CURL_CONNECT_TIMEOUT=5
remote: ++ export CURL_TIMEOUT=30
remote: ++ CURL_TIMEOUT=30
remote: ++ config_export app gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/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: ++ is_app_proctype_checks_skipped gitsubmodules web
remote: ++ declare 'desc=return true if app'\''s proctype(s) checks are skipped'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local PROCTYPE=web status=false
remote: +++ config_get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ config_parse_args config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_CHECKS_SKIPPED == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_CHECKS_SKIPPED == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_CHECKS_SKIPPED == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_CHECKS_SKIPPED == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_CHECKS_SKIPPED
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_CHECKS_SKIPPED
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_CHECKS_SKIPPED='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: +++ true
remote: ++ local DOKKU_CHECKS_SKIPPED=
remote: ++ [[ '' == \_\a\l\l\_ ]]
remote: +++ is_val_in_list web ''
remote: +++ declare 'desc=return true if value (web) is in list () separated by delimiter (); delimiter defaults to comma'
remote: +++ local value=web list= delimiter=,
remote: +++ local IFS=, val_in_list=false
remote: +++ echo false
remote: ++ [[ false == \t\r\u\e ]]
remote: ++ echo false
remote: + [[ false == \t\r\u\e ]]
remote: + local WAIT=5
remote: + local TIMEOUT=30
remote: + local ATTEMPTS=5
remote: ++ mktemp -d /tmp/dokku_CHECKS.XXXXX
remote: + local CHECK_DEPLOY_TMP_WORK_DIR=/tmp/dokku_CHECKS.W7K2X
remote: + docker cp eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b:/app/CHECKS /tmp/dokku_CHECKS.W7K2X
remote: + local FILENAME=/tmp/dokku_CHECKS.W7K2X/CHECKS
remote: + trap 'checks_check_deploy_cleanup $DOKKU_APP_CONTAINER_ID' RETURN INT TERM EXIT
remote: + [[ ! -s /tmp/dokku_CHECKS.W7K2X/CHECKS ]]
remote: + [[ web != \w\e\b ]]
remote: ++ tail -c1 /tmp/dokku_CHECKS.W7K2X/CHECKS
remote: + [[ '' != '' ]]
remote: + exec
remote: + local line
remote: + local NAME
remote: + local VALUE
remote: + read -r line
remote: ++ strip_inline_comments '/ Hello'
remote: ++ declare 'desc=removes bash-style comment from input line'
remote: ++ local 'line=/ Hello'
remote: ++ local 'stripped_line=/ Hello'
remote: ++ echo '/ Hello'
remote: + line='/ Hello'
remote: + [[ / Hello =~ ^.+= ]]
remote: + read -r line
remote: + local ATTEMPT=0
remote: + [[ '' == 1 ]]
remote: + [[ 0 -ge 5 ]]
remote: + local FAILEDCHECKS=0
remote: + local ATTEMPT=1
remote: + dokku_log_info1 'Attempt 1/5 Waiting for 5 seconds ...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Attempt 1/5 Waiting for 5 seconds ...'
remote: + sleep 5
remote: -----> Attempt 1/5 Waiting for 5 seconds ...
remote: + local 'CURL_OPTIONS=-q --compressed --fail --location --max-time 30'
remote: + local SSL=/home/dokku/gitsubmodules/tls
remote: + [[ -e /home/dokku/gitsubmodules/tls/server.crt ]]
remote: + exec
remote: + local CHECK_URL
remote: + local EXPECTED
remote: + read -r CHECK_URL EXPECTED
remote: + [[ -z / ]]
remote: + [[ / =~ ^# ]]
remote: + [[ / =~ ^(http(s)?:)?/.* ]]
remote: + [[ / =~ ^https?: ]]
remote: + local URL_PROTOCOL=http
remote: + [[ / =~ ^//.+ ]]
remote: + local URL_HOSTNAME=localhost
remote: + local URL_PATHNAME=/
remote: + local LOG_URL=http://localhost/
remote: + local 'CURL_ARGS=-q --compressed --fail --location --max-time 30 http://172.17.0.3:5000/ '
remote: + dokku_log_verbose 'CHECKS expected result:'
remote: + declare 'desc=log verbose formatter'
remote: + echo ' CHECKS expected result:'
remote: + dokku_log_verbose 'http://localhost/ => "Hello"'
remote: + declare 'desc=log verbose formatter'
remote: + echo ' http://localhost/ => "Hello"'
remote: + [[ -n 1 ]]
remote: + dokku_log_verbose '$ curl -q --compressed --fail --location --max-time 30 http://172.17.0.3:5000/ '
remote: + declare 'desc=log verbose formatter'
remote: + echo ' $ curl -q --compressed --fail --location --max-time 30 http://172.17.0.3:5000/ '
remote:  CHECKS expected result:
remote:  http://localhost/ => "Hello"
remote:  $ curl -q --compressed --fail --location --max-time 30 http://172.17.0.3:5000/ 
remote: ++ curl -# -q --compressed --fail --location --max-time 30 http://172.17.0.3:5000/
remote: + OUTPUT='
remote: ######################################################################## 100.0%
remote: Hello World!'
remote: + [[ ! 
remote: ######################################################################## 100.0%
remote: Hello World! =~ Hello ]]
remote: + read -r CHECK_URL EXPECTED
remote: + [[ 0 -gt 0 ]]
remote: + local SUCCESS=1
remote: + [[ 1 == 1 ]]
remote: + [[ 0 -gt 0 ]]
remote: + trap - EXIT
remote: + dokku_log_info1 'All checks successful!'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> All checks successful!'
remote: ++ checks_check_deploy_cleanup eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ declare 'desc=cleans up CHECK_DEPLOY_TMP_WORK_DIR and print container output'
remote: ++ local id=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ rm -rf /tmp/dokku_CHECKS.W7K2X
remote: -----> All checks successful!
remote: ++ [[ -n eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b ]]
remote: ++ dokku_log_info2_quiet 'gitsubmodules web container output:'
remote: ++ declare 'desc=log info2 formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo '=====> gitsubmodules web container output:'
remote: ++ dokku_container_log_verbose_quiet eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ declare 'desc=log verbose container output (with quiet option)'
remote: ++ local CID=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ shift
remote: ++ OIFS=' 
remote: '
remote: ++ IFS='
remote: '
remote: ++ local line
remote: =====> gitsubmodules web container output:
remote: +++ docker logs eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ [[ -d /tmp/app ]]'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + [[ -d /tmp/app ]]'
remote:  + [[ -d /tmp/app ]]
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export paths'
remote:  + cmd-export paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=paths as=paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=paths as=paths'
remote:  + declare fn=paths as=paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=paths'
remote:  + CMDS["$ns:${as/#$ns-/}"]=paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export version'
remote:  + cmd-export version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=version as=version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=version as=version'
remote:  + declare fn=version as=version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=version'
remote:  + CMDS["$ns:${as/#$ns-/}"]=version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export herokuish-test test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export herokuish-test test'
remote:  + cmd-export herokuish-test test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=herokuish-test as=test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=herokuish-test as=test'
remote:  + declare fn=herokuish-test as=test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=herokuish-test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=herokuish-test'
remote:  + CMDS["$ns:${as/#$ns-/}"]=herokuish-test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export-ns buildpack '\''Use and install buildpacks'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export-ns buildpack '\''Use and install buildpacks'\'''
remote:  + cmd-export-ns buildpack 'Use and install buildpacks'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare ns=buildpack '\''desc=Use and install buildpacks'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare ns=buildpack '\''desc=Use and install buildpacks'\'''
remote:  + declare ns=buildpack 'desc=Use and install buildpacks'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ eval '\''buildpack() { '
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + eval '\''buildpack() { '
remote:  + eval 'buildpack() { 
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' declare desc="Use and install buildpacks"'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' declare desc="Use and install buildpacks"'
remote:  declare desc="Use and install buildpacks"
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' cmd-ns buildpack "$@"; '
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' cmd-ns buildpack "$@"; '
remote:  cmd-ns buildpack "$@"; 
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' }'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' }'\'''
remote:  }'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export buildpack'
remote:  + cmd-export buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=buildpack as=buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=buildpack as=buildpack'
remote:  + declare fn=buildpack as=buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=buildpack'
remote:  + CMDS["$ns:${as/#$ns-/}"]=buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$1"]=buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$1"]=buildpack'
remote:  + CMDS["$1"]=buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export buildpack-build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export buildpack-build'
remote:  + cmd-export buildpack-build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=buildpack-build as=buildpack-build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=buildpack-build as=buildpack-build'
remote:  + declare fn=buildpack-build as=buildpack-build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo buildpack-build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo buildpack-build'
remote:  + echo buildpack-build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=buildpack'
remote:  + ns=buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=buildpack-build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=buildpack-build'
remote:  + CMDS["$ns:${as/#$ns-/}"]=buildpack-build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export buildpack-install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export buildpack-install'
remote:  + cmd-export buildpack-install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=buildpack-install as=buildpack-install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=buildpack-install as=buildpack-install'
remote:  + declare fn=buildpack-install as=buildpack-install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo buildpack-install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo buildpack-install'
remote:  + echo buildpack-install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=buildpack'
remote:  + ns=buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=buildpack-install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=buildpack-install'
remote:  + CMDS["$ns:${as/#$ns-/}"]=buildpack-install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export buildpack-list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export buildpack-list'
remote:  + cmd-export buildpack-list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=buildpack-list as=buildpack-list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=buildpack-list as=buildpack-list'
remote:  + declare fn=buildpack-list as=buildpack-list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo buildpack-list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo buildpack-list'
remote:  + echo buildpack-list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=buildpack'
remote:  + ns=buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=buildpack-list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=buildpack-list'
remote:  + CMDS["$ns:${as/#$ns-/}"]=buildpack-list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export-ns slug '\''Manage application slugs'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export-ns slug '\''Manage application slugs'\'''
remote:  + cmd-export-ns slug 'Manage application slugs'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare ns=slug '\''desc=Manage application slugs'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare ns=slug '\''desc=Manage application slugs'\'''
remote:  + declare ns=slug 'desc=Manage application slugs'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ eval '\''slug() { '
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + eval '\''slug() { '
remote:  + eval 'slug() { 
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' declare desc="Manage application slugs"'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' declare desc="Manage application slugs"'
remote:  declare desc="Manage application slugs"
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' cmd-ns slug "$@"; '
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' cmd-ns slug "$@"; '
remote:  cmd-ns slug "$@"; 
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' }'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' }'\'''
remote:  }'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export slug'
remote:  + cmd-export slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=slug as=slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=slug as=slug'
remote:  + declare fn=slug as=slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug'
remote:  + echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=slug'
remote:  + CMDS["$ns:${as/#$ns-/}"]=slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$1"]=slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$1"]=slug'
remote:  + CMDS["$1"]=slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export slug-import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export slug-import'
remote:  + cmd-export slug-import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=slug-import as=slug-import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=slug-import as=slug-import'
remote:  + declare fn=slug-import as=slug-import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug-import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug-import'
remote:  + echo slug-import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug-import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug-import'
remote:  + echo slug-import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=slug'
remote:  + ns=slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=slug-import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=slug-import'
remote:  + CMDS["$ns:${as/#$ns-/}"]=slug-import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export slug-generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export slug-generate'
remote:  + cmd-export slug-generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=slug-generate as=slug-generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=slug-generate as=slug-generate'
remote:  + declare fn=slug-generate as=slug-generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:import'
remote:  ++ echo slug:import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug-generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug-generate'
remote:  + echo slug-generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug-generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug-generate'
remote:  + echo slug-generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=slug'
remote:  + ns=slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=slug-generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=slug-generate'
remote:  + CMDS["$ns:${as/#$ns-/}"]=slug-generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export slug-export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export slug-export'
remote:  + cmd-export slug-export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=slug-export as=slug-export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=slug-export as=slug-export'
remote:  + declare fn=slug-export as=slug-export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:generate'
remote:  ++ echo slug:generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:import'
remote:  ++ echo slug:import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug-export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug-export'
remote:  + echo slug-export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo slug-export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo slug-export'
remote:  + echo slug-export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=slug'
remote:  + ns=slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=slug-export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=slug-export'
remote:  + CMDS["$ns:${as/#$ns-/}"]=slug-export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export-ns procfile '\''Use Procfiles and run app commands'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export-ns procfile '\''Use Procfiles and run app commands'\'''
remote:  + cmd-export-ns procfile 'Use Procfiles and run app commands'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare ns=procfile '\''desc=Use Procfiles and run app commands'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare ns=procfile '\''desc=Use Procfiles and run app commands'\'''
remote:  + declare ns=procfile 'desc=Use Procfiles and run app commands'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ eval '\''procfile() { '
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + eval '\''procfile() { '
remote:  + eval 'procfile() { 
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' declare desc="Use Procfiles and run app commands"'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' declare desc="Use Procfiles and run app commands"'
remote:  declare desc="Use Procfiles and run app commands"
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' cmd-ns procfile "$@"; '
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' cmd-ns procfile "$@"; '
remote:  cmd-ns procfile "$@"; 
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet ' }'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' }'\'''
remote:  }'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export procfile'
remote:  + cmd-export procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=procfile as=procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=procfile as=procfile'
remote:  + declare fn=procfile as=procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:generate'
remote:  ++ echo slug:generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:import'
remote:  ++ echo slug:import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:export'
remote:  ++ echo slug:export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile'
remote:  + echo procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile'
remote:  + echo procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=procfile'
remote:  + CMDS["$ns:${as/#$ns-/}"]=procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$1"]=procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$1"]=procfile'
remote:  + CMDS["$1"]=procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export procfile-start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export procfile-start'
remote:  + cmd-export procfile-start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=procfile-start as=procfile-start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=procfile-start as=procfile-start'
remote:  + declare fn=procfile-start as=procfile-start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :procfile'
remote:  ++ echo :procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:generate'
remote:  ++ echo slug:generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:import'
remote:  ++ echo slug:import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:export'
remote:  ++ echo slug:export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo procfile'
remote:  ++ echo procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-start'
remote:  + echo procfile-start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^procfile-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^procfile-'\'''
remote:  + grep '^procfile-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-start'
remote:  + echo procfile-start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=procfile'
remote:  + ns=procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-start'
remote:  + echo procfile-start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=procfile-start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=procfile-start'
remote:  + CMDS["$ns:${as/#$ns-/}"]=procfile-start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export procfile-exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export procfile-exec'
remote:  + cmd-export procfile-exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=procfile-exec as=procfile-exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=procfile-exec as=procfile-exec'
remote:  + declare fn=procfile-exec as=procfile-exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :procfile'
remote:  ++ echo :procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo procfile:start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo procfile:start'
remote:  ++ echo procfile:start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:generate'
remote:  ++ echo slug:generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:import'
remote:  ++ echo slug:import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:export'
remote:  ++ echo slug:export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo procfile'
remote:  ++ echo procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-exec'
remote:  + echo procfile-exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^procfile-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^procfile-'\'''
remote:  + grep '^procfile-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-exec'
remote:  + echo procfile-exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=procfile'
remote:  + ns=procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-exec'
remote:  + echo procfile-exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=procfile-exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=procfile-exec'
remote:  + CMDS["$ns:${as/#$ns-/}"]=procfile-exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cmd-export procfile-parse'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cmd-export procfile-parse'
remote:  + cmd-export procfile-parse
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Exports a function as a command'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Exports a function as a command'\'''
remote:  + declare 'desc=Exports a function as a command'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare fn=procfile-parse as=procfile-parse'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare fn=procfile-parse as=procfile-parse'
remote:  + declare fn=procfile-parse as=procfile-parse
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ local ns='
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + local ns='
remote:  + local ns=
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd-list-ns'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd-list-ns'
remote:  ++ cmd-list-ns
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ sort'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ sort'
remote:  ++ sort
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ grep -v :'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ grep -v :'
remote:  ++ grep -v :
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :version'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :version'
remote:  ++ echo :version
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :help'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :help'
remote:  ++ echo :help
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :procfile'
remote:  ++ echo :procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:install'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:install'
remote:  ++ echo buildpack:install
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo procfile:start'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo procfile:start'
remote:  ++ echo procfile:start
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :test'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :test'
remote:  ++ echo :test
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:generate'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:generate'
remote:  ++ echo slug:generate
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :buildpack'
remote:  ++ echo :buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :paths'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :paths'
remote:  ++ echo :paths
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug'
remote:  ++ echo slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo :slug'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo :slug'
remote:  ++ echo :slug
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack'
remote:  ++ echo buildpack
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:import'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:import'
remote:  ++ echo slug:import
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:list'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:list'
remote:  ++ echo buildpack:list
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo slug:export'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo slug:export'
remote:  ++ echo slug:export
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo buildpack:build'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo buildpack:build'
remote:  ++ echo buildpack:build
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo procfile:exec'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo procfile:exec'
remote:  ++ echo procfile:exec
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ for k in '\''"${!CMDS[@]}"'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ for k in '\''"${!CMDS[@]}"'\'''
remote:  ++ for k in '"${!CMDS[@]}"'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo procfile'
remote:  ++ echo procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-parse'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-parse'
remote:  + echo procfile-parse
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^buildpack-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^buildpack-'\'''
remote:  + grep '^buildpack-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^procfile-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^procfile-'\'''
remote:  + grep '^procfile-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-parse'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-parse'
remote:  + echo procfile-parse
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ ns=procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + ns=procfile'
remote:  + ns=procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for n in '\''$(cmd-list-ns)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for n in '\''$(cmd-list-ns)'\'''
remote:  + for n in '$(cmd-list-ns)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ grep '\''^slug-'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + grep '\''^slug-'\'''
remote:  + grep '^slug-'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ echo procfile-parse'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + echo procfile-parse'
remote:  + echo procfile-parse
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CMDS["$ns:${as/#$ns-/}"]=procfile-parse'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CMDS["$ns:${as/#$ns-/}"]=procfile-parse'
remote:  + CMDS["$ns:${as/#$ns-/}"]=procfile-parse
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ case "$SELF" in'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + case "$SELF" in'
remote:  + case "$SELF" in
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ procfile-start web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + procfile-start web'
remote:  + procfile-start web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Run process type command from Procfile through exec'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Run process type command from Procfile through exec'\'''
remote:  + declare 'desc=Run process type command from Procfile through exec'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare type=web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare type=web'
remote:  + declare type=web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ procfile-parse web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ procfile-parse web'
remote:  ++ procfile-parse web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ declare '\''desc=Get command string for a process type from Procfile'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ declare '\''desc=Get command string for a process type from Procfile'\'''
remote:  ++ declare 'desc=Get command string for a process type from Procfile'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ declare type=web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ declare type=web'
remote:  ++ declare type=web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ yaml-esque-get web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ yaml-esque-get web'
remote:  ++ yaml-esque-get web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ declare '\''desc=Get key value from colon-separated structure'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ declare '\''desc=Get key value from colon-separated structure'\'''
remote:  ++ declare 'desc=Get key value from colon-separated structure'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ declare key=web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ declare key=web'
remote:  ++ declare key=web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ local inputkey'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ local inputkey'
remote:  ++ local inputkey
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ local cmd'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ local cmd'
remote:  ++ local cmd
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cat /app/Procfile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cat /app/Procfile'
remote:  ++ cat /app/Procfile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ cat'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ cat'
remote:  +++ cat
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ read line'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ read line'
remote:  ++ read line
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ [[ web: node node-js-sample/index.js =~ ^#.* ]]'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ [[ web: node node-js-sample/index.js =~ ^#.* ]]'
remote:  ++ [[ web: node node-js-sample/index.js =~ ^#.* ]]
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ inputkey=web'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ inputkey=web'
remote:  ++ inputkey=web
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cmd='\'' node node-js-sample/index.js'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cmd='\'' node node-js-sample/index.js'\'''
remote:  ++ cmd=' node node-js-sample/index.js'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ [[ web == \w\e\b ]]'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ [[ web == \w\e\b ]]'
remote:  ++ [[ web == \w\e\b ]]
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ echo '\'' node node-js-sample/index.js'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ echo '\'' node node-js-sample/index.js'\'''
remote:  ++ echo ' node node-js-sample/index.js'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ read line'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ read line'
remote:  ++ read line
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ [[ -n '\'''\'' ]]'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ [[ -n '\'''\'' ]]'
remote:  ++ [[ -n '' ]]
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ procfile-exec '\'' node node-js-sample/index.js'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + procfile-exec '\'' node node-js-sample/index.js'\'''
remote:  + procfile-exec ' node node-js-sample/index.js'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ declare '\''desc=Run as unprivileged user with Heroku-like env'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + declare '\''desc=Run as unprivileged user with Heroku-like env'\'''
remote:  + declare 'desc=Run as unprivileged user with Heroku-like env'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ [[ -n '\'''\'' ]]'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + [[ -n '\'''\'' ]]'
remote:  + [[ -n '' ]]
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ detect-unprivileged'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + detect-unprivileged'
remote:  + detect-unprivileged
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ stat -c %U /app'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ stat -c %U /app'
remote:  ++ stat -c %U /app
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ unprivileged_user=u4952'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + unprivileged_user=u4952'
remote:  + unprivileged_user=u4952
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ unprivileged_group=u4952'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + unprivileged_group=u4952'
remote:  + unprivileged_group=u4952
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ procfile-setup-home'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + procfile-setup-home'
remote:  + procfile-setup-home
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ export HOME=/app'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + export HOME=/app'
remote:  + export HOME=/app
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ HOME=/app'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + HOME=/app'
remote:  + HOME=/app
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ usermod --home /app u4952'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + usermod --home /app u4952'
remote:  + usermod --home /app u4952
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ xargs -0 -r chown u4952:u4952'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + xargs -0 -r chown u4952:u4952'
remote:  + xargs -0 -r chown u4952:u4952
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ find /app '\''('\'' '\''!'\'' -user u4952 -o '\''!'\'' -group u4952 '\'')'\'' -print0'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + find /app '\''('\'' '\''!'\'' -user u4952 -o '\''!'\'' -group u4952 '\'')'\'' -print0'
remote:  + find /app '(' '!' -user u4952 -o '!' -group u4952 ')' -print0
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ procfile-load-env'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + procfile-load-env'
remote:  + procfile-load-env
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ [[ -d /tmp/env ]]'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + [[ -d /tmp/env ]]'
remote:  + [[ -d /tmp/env ]]
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ ls /tmp/env'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ ls /tmp/env'
remote:  ++ ls /tmp/env
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for e in '\''$(ls $env_path)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for e in '\''$(ls $env_path)'\'''
remote:  + for e in '$(ls $env_path)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cat /tmp/env/CURL_CONNECT_TIMEOUT'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cat /tmp/env/CURL_CONNECT_TIMEOUT'
remote:  ++ cat /tmp/env/CURL_CONNECT_TIMEOUT
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ export CURL_CONNECT_TIMEOUT=5'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + export CURL_CONNECT_TIMEOUT=5'
remote:  + export CURL_CONNECT_TIMEOUT=5
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CURL_CONNECT_TIMEOUT=5'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CURL_CONNECT_TIMEOUT=5'
remote:  + CURL_CONNECT_TIMEOUT=5
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for e in '\''$(ls $env_path)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for e in '\''$(ls $env_path)'\'''
remote:  + for e in '$(ls $env_path)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cat /tmp/env/CURL_TIMEOUT'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cat /tmp/env/CURL_TIMEOUT'
remote:  ++ cat /tmp/env/CURL_TIMEOUT
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ export CURL_TIMEOUT=30'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + export CURL_TIMEOUT=30'
remote:  + export CURL_TIMEOUT=30
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ CURL_TIMEOUT=30'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + CURL_TIMEOUT=30'
remote:  + CURL_TIMEOUT=30
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for e in '\''$(ls $env_path)'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for e in '\''$(ls $env_path)'\'''
remote:  + for e in '$(ls $env_path)'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ cat /tmp/env/DOKKU_APP_TYPE'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ cat /tmp/env/DOKKU_APP_TYPE'
remote:  ++ cat /tmp/env/DOKKU_APP_TYPE
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ export DOKKU_APP_TYPE=herokuish'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + export DOKKU_APP_TYPE=herokuish'
remote:  + export DOKKU_APP_TYPE=herokuish
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ DOKKU_APP_TYPE=herokuish'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + DOKKU_APP_TYPE=herokuish'
remote:  + DOKKU_APP_TYPE=herokuish
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ procfile-load-profile'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + procfile-load-profile'
remote:  + procfile-load-profile
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ shopt -s nullglob'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + shopt -s nullglob'
remote:  + shopt -s nullglob
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ mkdir -p /app/.profile.d'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + mkdir -p /app/.profile.d'
remote:  + mkdir -p /app/.profile.d
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for file in '\''$app_path/.profile.d/*.sh'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for file in '\''$app_path/.profile.d/*.sh'\'''
remote:  + for file in '$app_path/.profile.d/*.sh'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ source /app/.profile.d/00-global-env.sh'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + source /app/.profile.d/00-global-env.sh'
remote:  + source /app/.profile.d/00-global-env.sh
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export CURL_CONNECT_TIMEOUT=5'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export CURL_CONNECT_TIMEOUT=5'
remote:  ++ export CURL_CONNECT_TIMEOUT=5
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ CURL_CONNECT_TIMEOUT=5'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ CURL_CONNECT_TIMEOUT=5'
remote:  ++ CURL_CONNECT_TIMEOUT=5
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export CURL_TIMEOUT=30'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export CURL_TIMEOUT=30'
remote:  ++ export CURL_TIMEOUT=30
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ CURL_TIMEOUT=30'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ CURL_TIMEOUT=30'
remote:  ++ CURL_TIMEOUT=30
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for file in '\''$app_path/.profile.d/*.sh'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for file in '\''$app_path/.profile.d/*.sh'\'''
remote:  + for file in '$app_path/.profile.d/*.sh'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ source /app/.profile.d/01-app-env.sh'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + source /app/.profile.d/01-app-env.sh'
remote:  + source /app/.profile.d/01-app-env.sh
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export DOKKU_APP_TYPE=herokuish'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export DOKKU_APP_TYPE=herokuish'
remote:  ++ export DOKKU_APP_TYPE=herokuish
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ DOKKU_APP_TYPE=herokuish'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ DOKKU_APP_TYPE=herokuish'
remote:  ++ DOKKU_APP_TYPE=herokuish
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ for file in '\''$app_path/.profile.d/*.sh'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + for file in '\''$app_path/.profile.d/*.sh'\'''
remote:  + for file in '$app_path/.profile.d/*.sh'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ source /app/.profile.d/nodejs.sh'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + source /app/.profile.d/nodejs.sh'
remote:  + source /app/.profile.d/nodejs.sh
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export PATH=/app/.heroku/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin:/app/node_modules/.bin'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export PATH=/app/.heroku/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin:/app/node_modules/.bin'
remote:  ++ export PATH=/app/.heroku/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin:/app/node_modules/.bin
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ PATH=/app/.heroku/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin:/app/node_modules/.bin'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ PATH=/app/.heroku/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin:/app/node_modules/.bin'
remote:  ++ PATH=/app/.heroku/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin:/app/node_modules/.bin
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export NODE_HOME=/app/.heroku/node'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export NODE_HOME=/app/.heroku/node'
remote:  ++ export NODE_HOME=/app/.heroku/node
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ NODE_HOME=/app/.heroku/node'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ NODE_HOME=/app/.heroku/node'
remote:  ++ NODE_HOME=/app/.heroku/node
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export NODE_ENV=production'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export NODE_ENV=production'
remote:  ++ export NODE_ENV=production
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ NODE_ENV=production'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ NODE_ENV=production'
remote:  ++ NODE_ENV=production
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ calculate_concurrency'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ calculate_concurrency'
remote:  ++ calculate_concurrency
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ detect_memory 512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ detect_memory 512'
remote:  +++ detect_memory 512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ local default=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ local default=512'
remote:  +++ local default=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++++ ulimit -u'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++++ ulimit -u'
remote:  ++++ ulimit -u
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ local limit=524288'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ local limit=524288'
remote:  +++ local limit=524288
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ case $limit in'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ case $limit in'
remote:  +++ case $limit in
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ echo 512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ echo 512'
remote:  +++ echo 512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ MEMORY_AVAILABLE=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ MEMORY_AVAILABLE=512'
remote:  ++ MEMORY_AVAILABLE=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ WEB_MEMORY=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ WEB_MEMORY=512'
remote:  ++ WEB_MEMORY=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ WEB_CONCURRENCY=1'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ WEB_CONCURRENCY=1'
remote:  ++ WEB_CONCURRENCY=1
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ (( WEB_CONCURRENCY < 1 ))'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ (( WEB_CONCURRENCY < 1 ))'
remote:  ++ (( WEB_CONCURRENCY < 1 ))
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ (( WEB_CONCURRENCY > 32 ))'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ (( WEB_CONCURRENCY > 32 ))'
remote:  ++ (( WEB_CONCURRENCY > 32 ))
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ WEB_CONCURRENCY=1'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ WEB_CONCURRENCY=1'
remote:  ++ WEB_CONCURRENCY=1
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export MEMORY_AVAILABLE=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export MEMORY_AVAILABLE=512'
remote:  ++ export MEMORY_AVAILABLE=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ MEMORY_AVAILABLE=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ MEMORY_AVAILABLE=512'
remote:  ++ MEMORY_AVAILABLE=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export WEB_MEMORY=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export WEB_MEMORY=512'
remote:  ++ export WEB_MEMORY=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ WEB_MEMORY=512'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ WEB_MEMORY=512'
remote:  ++ WEB_MEMORY=512
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ export WEB_CONCURRENCY=1'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ export WEB_CONCURRENCY=1'
remote:  ++ export WEB_CONCURRENCY=1
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ WEB_CONCURRENCY=1'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ WEB_CONCURRENCY=1'
remote:  ++ WEB_CONCURRENCY=1
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ '\''['\'' '\'''\'' = true '\'']'\'''
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ '\''['\'' '\'''\'' = true '\'']'\'''
remote:  ++ '[' '' = true ']'
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ shopt -u nullglob'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + shopt -u nullglob'
remote:  + shopt -u nullglob
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ hash -r'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + hash -r'
remote:  + hash -r
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ cd /app'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + cd /app'
remote:  + cd /app
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '++ eval echo node node-js-sample/index.js'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' ++ eval echo node node-js-sample/index.js'
remote:  ++ eval echo node node-js-sample/index.js
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+++ echo node node-js-sample/index.js'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' +++ echo node node-js-sample/index.js'
remote:  +++ echo node node-js-sample/index.js
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet '+ exec setuidgid u4952 node node-js-sample/index.js'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' + exec setuidgid u4952 node node-js-sample/index.js'
remote:  + exec setuidgid u4952 node node-js-sample/index.js
remote: ++ for line in '$(docker logs "$CID" 2>&1)'
remote: ++ dokku_log_verbose_quiet 'Node app is running at localhost:5000'
remote: ++ declare 'desc=log verbose formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo ' Node app is running at localhost:5000'
remote:  Node app is running at localhost:5000
remote: ++ IFS=' 
remote: '
remote: ++ dokku_log_info2_quiet 'end gitsubmodules web container output'
remote: ++ declare 'desc=log info2 formatter (with quiet option)'
remote: ++ [[ -z '' ]]
remote: ++ echo '=====> end gitsubmodules web container output'
remote: =====> end gitsubmodules web container output
remote: + trap - INT TERM EXIT
remote: + [[ -n eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b ]]
remote: + echo eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: + [[ -n 172.17.0.3 ]]
remote: + echo 172.17.0.3
remote: + [[ -n 5000 ]]
remote: + echo 5000
remote: + rm -f /home/dokku/gitsubmodules/CONTAINER /home/dokku/gitsubmodules/IP /home/dokku/gitsubmodules/PORT
remote: + local CONTAINER_INDEX=2
remote: + [[ 2 -le 1 ]]
remote: + [[ 1 == 0 ]]
remote: + local CONTAINER_IDX_OFFSET=2
remote: + local container_state_filetype
remote: + for container_state_filetype in CONTAINER IP PORT
remote: + cd /home/dokku/gitsubmodules
remote: + xargs rm -f
remote: + tail -n +2
remote: + sort -t . -k 3 -n
remote: + find . -maxdepth 1 -name 'CONTAINER.web.*' -printf '%f\n'
remote: + for container_state_filetype in CONTAINER IP PORT
remote: + cd /home/dokku/gitsubmodules
remote: + xargs rm -f
remote: + tail -n +2
remote: + sort -t . -k 3 -n
remote: + find . -maxdepth 1 -name 'IP.web.*' -printf '%f\n'
remote: + for container_state_filetype in CONTAINER IP PORT
remote: + cd /home/dokku/gitsubmodules
remote: + xargs rm -f
remote: + tail -n +2
remote: + sort -t . -k 3 -n
remote: + find . -maxdepth 1 -name 'PORT.web.*' -printf '%f\n'
remote: + read -r line
remote: + [[ -n '' ]]
remote: + dokku_log_info1 'Running post-deploy'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Running post-deploy'
remote: + plugn trigger post-deploy gitsubmodules 5000 172.17.0.3 ''
remote: -----> Running post-deploy
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/core-plugins/available/00_dokku-standard/exec-app-json-scripts
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: + exec_app_json_scripts gitsubmodules 5000 172.17.0.3 ''
remote: + declare 'desc=core app.json scripts execution'
remote: + local 'trigger=pre-deploy app_json_scripts'
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: + local PHASE_SCRIPT_KEY=postdeploy
remote: + dokku_log_info1 'Attempting to run scripts.dokku.postdeploy from app.json (if defined)'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Attempting to run scripts.dokku.postdeploy from app.json (if defined)'
remote: -----> Attempting to run scripts.dokku.postdeploy from app.json (if defined)
remote: + execute_script gitsubmodules '' postdeploy
remote: + declare 'desc=executes appropriate phase script key from app.json'
remote: + local APP=gitsubmodules
remote: + local IMAGE_TAG=
remote: ++ get_deploying_app_image_name gitsubmodules ''
remote: ++ declare 'desc=return deployed image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ local IMAGE_REPO=
remote: +++ plugn trigger deployed-app-repository gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local IMAGE_REMOTE_REPOSITORY=
remote: +++ plugn trigger deployed-app-image-tag gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local NEW_IMAGE_TAG=
remote: +++ plugn trigger deployed-app-image-repo gitsubmodules
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ local NEW_IMAGE_REPO=
remote: ++ [[ -n '' ]]
remote: ++ [[ -n '' ]]
remote: +++ get_app_image_name gitsubmodules '' ''
remote: +++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_TAG=
remote: +++ IMAGE_REPO=
remote: +++ [[ -z gitsubmodules ]]
remote: +++ [[ -z '' ]]
remote: ++++ get_app_image_repo gitsubmodules
remote: ++++ declare 'desc=central definition of image repo pattern'
remote: ++++ local APP=gitsubmodules
remote: ++++ local IMAGE_REPO=dokku/gitsubmodules
remote: ++++ [[ -z gitsubmodules ]]
remote: ++++ echo dokku/gitsubmodules
remote: +++ IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -n '' ]]
remote: +++ local IMAGE=dokku/gitsubmodules:latest
remote: +++ echo dokku/gitsubmodules:latest
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ [[ -n '' ]]
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local PHASE_SCRIPT_KEY=postdeploy
remote: ++ get_phase_script dokku/gitsubmodules:latest postdeploy
remote: + local SCRIPT_CMD=
remote: + [[ -n '' ]]
remote: + cleanup_container_state gitsubmodules 5000 172.17.0.3 ''
remote: + declare 'desc=core post-deploy state cleanup'
remote: + local 'trigger=post-deploy cleanup_container_state'
remote: + local APP=gitsubmodules
remote: ++ xargs
remote: ++ awk -F = '{ print $1 }'
remote: ++ egrep -v '^#' /home/dokku/gitsubmodules/DOKKU_SCALE
remote: + local PROCTYPES=web
remote: ++ xargs
remote: ++ sort -t . -k 3 -n
remote: ++ find /home/dokku/gitsubmodules -maxdepth 1 -name 'CONTAINER.*' -printf '%f\n'
remote: + local CONTAINER_FILES=CONTAINER.web.1
remote: + local CONTAINER_FILE
remote: + for CONTAINER_FILE in '$CONTAINER_FILES'
remote: ++ awk -F . '{ print $2 }'
remote: + local CONTAINER_TYPE=web
remote: ++ is_val_in_list web web ' '
remote: ++ declare 'desc=return true if value (web) is in list (web) separated by delimiter ( ); delimiter defaults to comma'
remote: ++ local value=web list=web 'delimiter= '
remote: ++ local 'IFS= ' val_in_list=false
remote: ++ for val in '$list'
remote: ++ [[ web == \w\e\b ]]
remote: ++ val_in_list=true
remote: ++ echo true
remote: + [[ true == \f\a\l\s\e ]]
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: + named_containers_post_deploy gitsubmodules 5000 172.17.0.3 ''
remote: + declare 'desc=names deployed app container is consistent manner'
remote: + local trigger=named_containers_post_deploy
remote: + local APP=gitsubmodules
remote: + local APP_ROOT=/home/dokku/gitsubmodules
remote: + local container
remote: + shopt -s nullglob
remote: + for container in '$APP_ROOT/CONTAINER.*'
remote: ++ sed -r 's/.*CONTAINER\.(.*)/\1/'
remote: ++ echo /home/dokku/gitsubmodules/CONTAINER.web.1
remote: + local DYNO=web.1
remote: + local NAME=gitsubmodules.web.1
remote: + local CURRENT_CONTAINER_ID=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ xargs
remote: ++ docker ps -a -q -f 'name=^.?gitsubmodules.web.1$'
remote: + local PREVIOUS_CIDS=
remote: + [[ -n '' ]]
remote: ++ cat /home/dokku/gitsubmodules/CONTAINER.web.1
remote: + local ID=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ tr -d /
remote: ++ docker inspect -f '{{.Name}}' eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: + local CURRENT_NAME=hopeful_mcnulty
remote: + [[ -n hopeful_mcnulty ]]
remote: + dokku_log_info2_quiet 'renaming container (eed90fced484) hopeful_mcnulty to gitsubmodules.web.1'
remote: + declare 'desc=log info2 formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo '=====> renaming container (eed90fced484) hopeful_mcnulty to gitsubmodules.web.1'
remote: + docker rename hopeful_mcnulty gitsubmodules.web.1
remote: =====> renaming container (eed90fced484) hopeful_mcnulty to gitsubmodules.web.1
remote: + shopt -u nullglob
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/domains/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/nginx-vhosts/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/certs/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/domains/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/ps/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/proxy/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: ++ get_app_proxy_type gitsubmodules
remote: ++ declare 'desc=return app proxy type'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ config_parse_args config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_APP_PROXY_TYPE
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_APP_PROXY_TYPE='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: +++ true
remote: ++ local DOKKU_APP_PROXY_TYPE=
remote: ++ local APP_PROXY_TYPE=nginx
remote: ++ echo nginx
remote: + [[ nginx == \n\g\i\n\x ]]
remote: + nginx_post_deploy gitsubmodules 5000 172.17.0.3 ''
remote: + declare 'desc=nginx-vhosts post-deploy plugin trigger'
remote: + local trigger=nginx_post_deploy
remote: + local APP=gitsubmodules
remote: + [[ -f /home/dokku/gitsubmodules/IP.web.1 ]]
remote: + [[ -f /home/dokku/gitsubmodules/PORT.web.1 ]]
remote: ++ is_app_vhost_enabled gitsubmodules
remote: ++ declare 'desc=returns true or false if vhost support is enabled for a given application'
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: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules NO_VHOST
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ config_parse_args config:get gitsubmodules NO_VHOST
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ NO_VHOST == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ NO_VHOST == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ NO_VHOST == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ NO_VHOST == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules NO_VHOST
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules NO_VHOST
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=NO_VHOST
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export NO_VHOST='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local NO_VHOST=
remote: ++ local APP_VHOST_ENABLED=true
remote: ++ [[ '' == \1 ]]
remote: ++ echo true
remote: + [[ true == \f\a\l\s\e ]]
remote: + [[ ! -f /home/dokku/gitsubmodules/VHOST ]]
remote: + domains_setup gitsubmodules
remote: + declare 'desc=setup domains to default state'
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local APP=gitsubmodules
remote: + local APP_VHOST_PATH=/home/dokku/gitsubmodules/VHOST
remote: + local GLOBAL_VHOST_PATH=/home/dokku/VHOST
remote: ++ get_ipv4_regex
remote: ++ declare 'desc=returns ipv4 regex'
remote: +++ _ipv4_regex
remote: +++ declare 'desc=ipv4 regex'
remote: +++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: + local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: ++ get_ipv6_regex
remote: ++ declare 'desc=returns ipv6 regex'
remote: +++ _ipv6_regex
remote: +++ declare 'desc=ipv6 regex'
remote: ++++ _ipv4_regex
remote: ++++ declare 'desc=ipv4 regex'
remote: ++++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ echo '([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++ echo '([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: + local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: ++ get_default_vhost gitsubmodules
remote: ++ declare 'desc=return default vhost'
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local APP=gitsubmodules
remote: +++ get_ipv4_regex
remote: +++ declare 'desc=returns ipv4 regex'
remote: ++++ _ipv4_regex
remote: ++++ declare 'desc=ipv4 regex'
remote: ++++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: ++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: +++ get_ipv6_regex
remote: +++ declare 'desc=returns ipv6 regex'
remote: ++++ _ipv6_regex
remote: ++++ declare 'desc=ipv6 regex'
remote: +++++ _ipv4_regex
remote: +++++ declare 'desc=ipv4 regex'
remote: +++++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ echo '([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++ echo '([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: ++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: +++ is_global_vhost_enabled
remote: +++ declare 'desc=returns true if we have a valid global vhost set; otherwise returns false'
remote: ++++ get_global_vhost
remote: ++++ declare 'desc=return global vhost'
remote: ++++ local GLOBAL_VHOST_FILE=/home/dokku/VHOST
remote: ++++ [[ -f /home/dokku/VHOST ]]
remote: ++++ echo ''
remote: +++ local GLOBAL_VHOST=
remote: +++ local GLOBAL_VHOST_ENABLED=true
remote: ++++ get_ipv4_regex
remote: ++++ declare 'desc=returns ipv4 regex'
remote: +++++ _ipv4_regex
remote: +++++ declare 'desc=ipv4 regex'
remote: +++++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: +++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: ++++ get_ipv6_regex
remote: ++++ declare 'desc=returns ipv6 regex'
remote: +++++ _ipv6_regex
remote: +++++ declare 'desc=ipv6 regex'
remote: ++++++ _ipv4_regex
remote: ++++++ declare 'desc=ipv4 regex'
remote: ++++++ echo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++++ local 'RE_IPV4=([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|'
remote: +++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: +++++ echo '([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: ++++ echo '([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: +++ local 'RE_IPV6=([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: +++ [[ -z '' ]]
remote: +++ local GLOBAL_VHOST_ENABLED=false
remote: +++ echo false
remote: ++ [[ false == \t\r\u\e ]]
remote: ++ echo ''
remote: + local DEFAULT_VHOST=
remote: + [[ ! -f /home/dokku/gitsubmodules/VHOST ]]
remote: + [[ -n '' ]]
remote: + dokku_log_info2 'no global VHOST set. disabling vhost support'
remote: + declare 'desc=log info2 formatter'
remote: + echo '=====> no global VHOST set. disabling vhost support'
remote: + disable_app_vhost gitsubmodules --no-restart
remote: + declare 'desc=disable vhost support for given application'
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: =====> no global VHOST set. disabling vhost support
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local APP_VHOST_FILE=/home/dokku/gitsubmodules/VHOST
remote: + local APP_URLS_FILE=/home/dokku/gitsubmodules/URLS
remote: + plugn trigger pre-disable-vhost gitsubmodules
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: + source /var/lib/dokku/plugins/available/proxy/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: + nginx_pre_disable_vhost_trigger gitsubmodules
remote: + declare 'desc=unset port prior to vhosts being disabled'
remote: + local trigger=nginx_pre_disable_vhost_trigger
remote: + local APP=gitsubmodules
remote: ++ get_app_proxy_type gitsubmodules
remote: ++ declare 'desc=return app proxy type'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ config_parse_args config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_APP_PROXY_TYPE == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_APP_PROXY_TYPE
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_APP_PROXY_TYPE
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_APP_PROXY_TYPE='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: +++ true
remote: ++ local DOKKU_APP_PROXY_TYPE=
remote: ++ local APP_PROXY_TYPE=nginx
remote: ++ echo nginx
remote: + [[ nginx == \n\g\i\n\x ]]
remote: + config_unset --no-restart gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + declare 'desc=unset given config var'
remote: + source /var/lib/dokku/plugins/available/ps/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: + [[ --no-restart == \c\o\n\f\i\g\:\u\n\s\e\t ]]
remote: + set -- config:unset --no-restart gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + config_parse_args config:unset --no-restart gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + declare 'desc=parse config plugin args'
remote: + unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + for var in '"$@"'
remote: + [[ config:unset == \-\-\g\l\o\b\a\l ]]
remote: + [[ config:unset == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ config:unset == \-\-\e\x\p\o\r\t ]]
remote: + [[ config:unset == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ --no-restart == \-\-\g\l\o\b\a\l ]]
remote: + [[ --no-restart == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ --no-restart == \-\-\e\x\p\o\r\t ]]
remote: + [[ --no-restart == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: + [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ DOKKU_NGINX_PORT == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_NGINX_PORT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ DOKKU_NGINX_PORT == \-\-\e\x\p\o\r\t ]]
remote: + [[ DOKKU_NGINX_PORT == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ DOKKU_NGINX_SSL_PORT == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_NGINX_SSL_PORT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ DOKKU_NGINX_SSL_PORT == \-\-\e\x\p\o\r\t ]]
remote: + [[ DOKKU_NGINX_SSL_PORT == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ DOKKU_PROXY_PORT_MAP == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_PROXY_PORT_MAP == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ DOKKU_PROXY_PORT_MAP == \-\-\e\x\p\o\r\t ]]
remote: + [[ DOKKU_PROXY_PORT_MAP == \-\-\s\h\e\l\l ]]
remote: + SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++ get_sanitized_config_args config:unset --no-restart gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: ++ local 'desc=return sanitized arguments for config plugin'
remote: ++ SANITIZED_ARGS=("$@")
remote: ++ local SANITIZED_ARGS
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++ echo config:unset '' gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + local SANITIZED_ARGS
remote: + set -- config:unset gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + DOKKU_CONFIG_TYPE=app
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ app == \a\p\p ]]
remote: + [[ -z gitsubmodules ]]
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + APP=gitsubmodules
remote: + ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++ get_sanitized_config_args config:unset --no-restart gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: ++ local 'desc=return sanitized arguments for config plugin'
remote: ++ SANITIZED_ARGS=("$@")
remote: ++ local SANITIZED_ARGS
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++ echo config:unset '' gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + local SANITIZED_ARGS
remote: + set -- config:unset gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + [[ -z gitsubmodules ]]
remote: + config_create /home/dokku/gitsubmodules/ENV
remote: + declare 'desc=create config env file'
remote: + local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ cat /home/dokku/gitsubmodules/ENV
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'VARS=gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP'
remote: + for var in '$VARS'
remote: + dokku_log_info1 'Unsetting gitsubmodules'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Unsetting gitsubmodules'
remote: -----> Unsetting gitsubmodules
remote: ++ sed '/^export gitsubmodules=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + for var in '$VARS'
remote: + dokku_log_info1 'Unsetting DOKKU_NGINX_PORT'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Unsetting DOKKU_NGINX_PORT'
remote: -----> Unsetting DOKKU_NGINX_PORT
remote: ++ sed '/^export DOKKU_NGINX_PORT=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + for var in '$VARS'
remote: + dokku_log_info1 'Unsetting DOKKU_NGINX_SSL_PORT'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Unsetting DOKKU_NGINX_SSL_PORT'
remote: -----> Unsetting DOKKU_NGINX_SSL_PORT
remote: ++ sed '/^export DOKKU_NGINX_SSL_PORT=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + for var in '$VARS'
remote: + dokku_log_info1 'Unsetting DOKKU_PROXY_PORT_MAP'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Unsetting DOKKU_PROXY_PORT_MAP'
remote: -----> Unsetting DOKKU_PROXY_PORT_MAP
remote: ++ sed '/^export DOKKU_PROXY_PORT_MAP=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + plugn trigger post-config-update gitsubmodules unset config:unset gitsubmodules DOKKU_NGINX_PORT DOKKU_NGINX_SSL_PORT DOKKU_PROXY_PORT_MAP
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ -n gitsubmodules ]]
remote: ++ config_get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ config_parse_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_APP_RESTORE
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_APP_RESTORE='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ true
remote: + local DOKKU_APP_RESTORE=
remote: + [[ false == \t\r\u\e ]]
remote: + [[ -f /home/dokku/gitsubmodules/VHOST ]]
remote: + [[ -f /home/dokku/gitsubmodules/URLS ]]
remote: + [[ --no-restart == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + local CONFIG_SET_ARGS=--no-restart
remote: + config_set --no-restart gitsubmodules NO_VHOST=1
remote: + declare 'desc=set value of given config var'
remote: + source /var/lib/dokku/plugins/available/ps/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: + [[ --no-restart == \c\o\n\f\i\g\:\s\e\t ]]
remote: + set -- config:set --no-restart gitsubmodules NO_VHOST=1
remote: + config_parse_args config:set --no-restart gitsubmodules NO_VHOST=1
remote: + declare 'desc=parse config plugin args'
remote: + unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + for var in '"$@"'
remote: + [[ config:set == \-\-\g\l\o\b\a\l ]]
remote: + [[ config:set == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ config:set == \-\-\e\x\p\o\r\t ]]
remote: + [[ config:set == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ --no-restart == \-\-\g\l\o\b\a\l ]]
remote: + [[ --no-restart == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ --no-restart == \-\-\e\x\p\o\r\t ]]
remote: + [[ --no-restart == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: + [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ NO_VHOST=1 == \-\-\g\l\o\b\a\l ]]
remote: + [[ NO_VHOST=1 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ NO_VHOST=1 == \-\-\e\x\p\o\r\t ]]
remote: + [[ NO_VHOST=1 == \-\-\s\h\e\l\l ]]
remote: + SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++ get_sanitized_config_args config:set --no-restart gitsubmodules NO_VHOST=1
remote: ++ local 'desc=return sanitized arguments for config plugin'
remote: ++ SANITIZED_ARGS=("$@")
remote: ++ local SANITIZED_ARGS
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++ echo config:set '' gitsubmodules NO_VHOST=1
remote: + local SANITIZED_ARGS
remote: + set -- config:set gitsubmodules NO_VHOST=1
remote: + DOKKU_CONFIG_TYPE=app
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ app == \a\p\p ]]
remote: + [[ -z gitsubmodules ]]
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + APP=gitsubmodules
remote: + ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + [[ -z gitsubmodules NO_VHOST=1 ]]
remote: + config_create /home/dokku/gitsubmodules/ENV
remote: + declare 'desc=create config env file'
remote: + local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: + local ENV_ADD=
remote: ++ cat /home/dokku/gitsubmodules/ENV
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local RESTART_APP=false
remote: + shift 2
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ gitsubmodules == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + shift 1
remote: + for var in '"$@"'
remote: + [[ NO_VHOST=1 == \-\-\g\l\o\b\a\l ]]
remote: + [[ NO_VHOST=1 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ NO_VHOST=1 == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + [[ NO_VHOST=1 != *\=* ]]
remote: + for var in '"$@"'
remote: ++ cut -d= -f1
remote: ++ echo NO_VHOST=1
remote: + local KEY=NO_VHOST
remote: ++ cut -d= -f2-
remote: ++ echo NO_VHOST=1
remote: + local VALUE=1
remote: + [[ NO_VHOST =~ [a-zA-Z_][a-zA-Z0-9_]* ]]
remote: + local RESTART_APP=true
remote: ++ sed '/^export NO_VHOST=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: ++ sed '/^NO_VHOST=/ d'
remote: ++ echo -e ''
remote: + local ENV_ADD=
remote: + local 'ENV_ADD=$
remote: NO_VHOST=1'
remote: ++ tail -n +2
remote: ++ echo '$
remote: NO_VHOST=1'
remote: + local ENV_ADD=NO_VHOST=1
remote: + [[ -n true ]]
remote: + dokku_log_info1 'Setting config vars'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Setting config vars'
remote: + config_styled_hash NO_VHOST=1 ' '
remote: + declare 'desc=internal config hash'
remote: + local vars=NO_VHOST=1
remote: + local 'prefix= '
remote: + local longest=
remote: + read -r word
remote: -----> Setting config vars
remote: ++ cut -d= -f1
remote: ++ echo NO_VHOST=1
remote: + local KEY=NO_VHOST
remote: + [[ 8 -gt 0 ]]
remote: + local longest=NO_VHOST
remote: + read -r word
remote: + read -r word
remote: ++ cut -d= -f1
remote: ++ echo NO_VHOST=1
remote: + local KEY=NO_VHOST
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//' -e 's/$$//g'
remote: ++ cut -d= -f2-
remote: ++ echo NO_VHOST=1
remote: + local VALUE=1
remote: + local num_zeros=0
remote: + local 'zeros= '
remote: + [[ 0 -gt 0 ]]
remote: + echo ' NO_VHOST: 1'
remote: + read -r word
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote:  NO_VHOST: 1
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + cp -f /home/dokku/gitsubmodules/ENV.tmp /home/dokku/gitsubmodules/ENV
remote: + chmod 600 /home/dokku/gitsubmodules/ENV
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + plugn trigger post-config-update gitsubmodules set NO_VHOST=1
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ -n gitsubmodules ]]
remote: ++ config_get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ config_parse_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_APP_RESTORE
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_APP_RESTORE='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ true
remote: + local DOKKU_APP_RESTORE=
remote: + [[ false == \t\r\u\e ]]
remote: + nginx_build_config gitsubmodules
remote: + declare 'desc=build nginx config to proxy app containers using sigil'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local DOKKU_APP_LISTEN_PORT=
remote: + local DOKKU_APP_LISTEN_IP=
remote: + local VHOST_PATH=/home/dokku/gitsubmodules/VHOST
remote: + local URLS_PATH=/home/dokku/gitsubmodules/URLS
remote: + local NGINX_TEMPLATE_NAME=nginx.conf.sigil
remote: + local DEFAULT_NGINX_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/nginx.conf.sigil
remote: + local NGINX_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/nginx.conf.sigil
remote: + local SCHEME=http
remote: + local NGINX_TEMPLATE_SOURCE=built-in
remote: + local APP_SSL_PATH=/home/dokku/gitsubmodules/tls
remote: ++ get_app_raw_tcp_ports gitsubmodules
remote: ++ declare 'desc=extracts raw tcp port numbers from DOCKERFILE_PORTS config variable'
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: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ config_parse_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_DOCKERFILE_PORTS
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_DOCKERFILE_PORTS='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local DOCKERFILE_PORTS=
remote: +++ xargs
remote: +++ echo ''
remote: ++ local raw_tcp_ports=
remote: ++ echo ''
remote: + local RAW_TCP_PORTS=
remote: ++ config_get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ config_parse_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_DISABLE_PROXY == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_DISABLE_PROXY == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_DISABLE_PROXY == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_DISABLE_PROXY == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_DISABLE_PROXY
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_DISABLE_PROXY='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local DOKKU_DISABLE_PROXY=
remote: ++ is_app_vhost_enabled gitsubmodules
remote: ++ declare 'desc=returns true or false if vhost support is enabled for a given application'
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: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules NO_VHOST
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ config_parse_args config:get gitsubmodules NO_VHOST
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ NO_VHOST == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ NO_VHOST == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ NO_VHOST == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ NO_VHOST == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules NO_VHOST
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules NO_VHOST
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=NO_VHOST
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export NO_VHOST='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local NO_VHOST=1
remote: ++ local APP_VHOST_ENABLED=true
remote: ++ [[ 1 == \1 ]]
remote: ++ local APP_VHOST_ENABLED=false
remote: ++ echo false
remote: + local IS_APP_VHOST_ENABLED=false
remote: + [[ -z '' ]]
remote: + [[ -z '' ]]
remote: + [[ -z '' ]]
remote: + shopt -s nullglob
remote: + local DOKKU_APP_IP_FILE
remote: + for DOKKU_APP_IP_FILE in '$DOKKU_ROOT/$APP/IP.web.*'
remote: + local DOKKU_APP_PORT_FILE=/home/dokku/gitsubmodules/PORT.web.1
remote: + local DOKKU_APP_LISTENER_IP=172.17.0.3
remote: + local DOKKU_APP_LISTENER_PORT=5000
remote: + local 'DOKKU_APP_LISTENERS+=172.17.0.3:5000 '
remote: ++ xargs
remote: ++ echo '172.17.0.3:5000 '
remote: + local DOKKU_APP_LISTENERS=172.17.0.3:5000
remote: + shopt -u nullglob
remote: + configure_nginx_ports gitsubmodules
remote: + declare 'desc=configure nginx listening ports'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: ++ get_app_raw_tcp_ports gitsubmodules
remote: ++ declare 'desc=extracts raw tcp port numbers from DOCKERFILE_PORTS config variable'
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: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ config_parse_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_DOCKERFILE_PORTS
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_DOCKERFILE_PORTS='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local DOCKERFILE_PORTS=
remote: +++ xargs
remote: +++ echo ''
remote: ++ local raw_tcp_ports=
remote: ++ echo ''
remote: + local RAW_TCP_PORTS=
remote: ++ config_get gitsubmodules DOKKU_NGINX_PORT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ config_parse_args config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_NGINX_PORT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_NGINX_PORT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local DOKKU_NGINX_PORT=
remote: ++ config_get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ config_parse_args config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_NGINX_SSL_PORT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_NGINX_SSL_PORT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local DOKKU_NGINX_SSL_PORT=
remote: ++ config_get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ config_parse_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_PROXY_PORT_MAP
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_PROXY_PORT_MAP='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local DOKKU_PROXY_PORT_MAP=
remote: ++ is_app_vhost_enabled gitsubmodules
remote: ++ declare 'desc=returns true or false if vhost support is enabled for a given application'
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: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules NO_VHOST
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ config_parse_args config:get gitsubmodules NO_VHOST
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ NO_VHOST == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ NO_VHOST == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ NO_VHOST == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ NO_VHOST == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules NO_VHOST
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules NO_VHOST
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules NO_VHOST
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=NO_VHOST
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export NO_VHOST='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local NO_VHOST=1
remote: ++ local APP_VHOST_ENABLED=true
remote: ++ [[ 1 == \1 ]]
remote: ++ local APP_VHOST_ENABLED=false
remote: ++ echo false
remote: + local IS_APP_VHOST_ENABLED=false
remote: + local UPSTREAM_PORT=5000
remote: + [[ -z '' ]]
remote: + [[ -z '' ]]
remote: + [[ false == \f\a\l\s\e ]]
remote: + dokku_log_info1 'no nginx port set. setting to random open high port'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> no nginx port set. setting to random open high port'
remote: -----> no nginx port set. setting to random open high port
remote: ++ get_available_port
remote: ++ declare 'desc=returns first currently unused port > 1024'
remote: ++ true
remote: +++ shuf -i 1025-65535 -n 1
remote: ++ local port=39697
remote: ++ nc -z 0.0.0.0 39697
remote: ++ echo 39697
remote: ++ return 0
remote: + local NGINX_PORT=39697
remote: + config_set --no-restart gitsubmodules DOKKU_NGINX_PORT=39697
remote: + declare 'desc=set value of given config var'
remote: + source /var/lib/dokku/plugins/available/ps/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: + [[ --no-restart == \c\o\n\f\i\g\:\s\e\t ]]
remote: + set -- config:set --no-restart gitsubmodules DOKKU_NGINX_PORT=39697
remote: + config_parse_args config:set --no-restart gitsubmodules DOKKU_NGINX_PORT=39697
remote: + declare 'desc=parse config plugin args'
remote: + unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + for var in '"$@"'
remote: + [[ config:set == \-\-\g\l\o\b\a\l ]]
remote: + [[ config:set == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ config:set == \-\-\e\x\p\o\r\t ]]
remote: + [[ config:set == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ --no-restart == \-\-\g\l\o\b\a\l ]]
remote: + [[ --no-restart == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ --no-restart == \-\-\e\x\p\o\r\t ]]
remote: + [[ --no-restart == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: + [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ DOKKU_NGINX_PORT=39697 == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_NGINX_PORT=39697 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ DOKKU_NGINX_PORT=39697 == \-\-\e\x\p\o\r\t ]]
remote: + [[ DOKKU_NGINX_PORT=39697 == \-\-\s\h\e\l\l ]]
remote: + SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++ get_sanitized_config_args config:set --no-restart gitsubmodules DOKKU_NGINX_PORT=39697
remote: ++ local 'desc=return sanitized arguments for config plugin'
remote: ++ SANITIZED_ARGS=("$@")
remote: ++ local SANITIZED_ARGS
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++ echo config:set '' gitsubmodules DOKKU_NGINX_PORT=39697
remote: + local SANITIZED_ARGS
remote: + set -- config:set gitsubmodules DOKKU_NGINX_PORT=39697
remote: + DOKKU_CONFIG_TYPE=app
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ app == \a\p\p ]]
remote: + [[ -z gitsubmodules ]]
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + APP=gitsubmodules
remote: + ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + [[ -z gitsubmodules DOKKU_NGINX_PORT=39697 ]]
remote: + config_create /home/dokku/gitsubmodules/ENV
remote: + declare 'desc=create config env file'
remote: + local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: + local ENV_ADD=
remote: ++ cat /home/dokku/gitsubmodules/ENV
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: + local RESTART_APP=false
remote: + shift 2
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ gitsubmodules == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + shift 1
remote: + for var in '"$@"'
remote: + [[ DOKKU_NGINX_PORT=39697 == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_NGINX_PORT=39697 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ DOKKU_NGINX_PORT=39697 == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + [[ DOKKU_NGINX_PORT=39697 != *\=* ]]
remote: + for var in '"$@"'
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_NGINX_PORT=39697
remote: + local KEY=DOKKU_NGINX_PORT
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_NGINX_PORT=39697
remote: + local VALUE=39697
remote: + [[ DOKKU_NGINX_PORT =~ [a-zA-Z_][a-zA-Z0-9_]* ]]
remote: + local RESTART_APP=true
remote: ++ sed '/^export DOKKU_NGINX_PORT=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_NGINX_PORT='\''39697'\'''
remote: ++ sed '/^DOKKU_NGINX_PORT=/ d'
remote: ++ echo -e ''
remote: + local ENV_ADD=
remote: + local 'ENV_ADD=$
remote: DOKKU_NGINX_PORT=39697'
remote: ++ tail -n +2
remote: ++ echo '$
remote: DOKKU_NGINX_PORT=39697'
remote: + local ENV_ADD=DOKKU_NGINX_PORT=39697
remote: + [[ -n true ]]
remote: + dokku_log_info1 'Setting config vars'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Setting config vars'
remote: + config_styled_hash DOKKU_NGINX_PORT=39697 ' '
remote: + declare 'desc=internal config hash'
remote: + local vars=DOKKU_NGINX_PORT=39697
remote: + local 'prefix= '
remote: + local longest=
remote: + read -r word
remote: -----> Setting config vars
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_NGINX_PORT=39697
remote: + local KEY=DOKKU_NGINX_PORT
remote: + [[ 16 -gt 0 ]]
remote: + local longest=DOKKU_NGINX_PORT
remote: + read -r word
remote: + read -r word
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_NGINX_PORT=39697
remote: + local KEY=DOKKU_NGINX_PORT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//' -e 's/$$//g'
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_NGINX_PORT=39697
remote: + local VALUE=39697
remote: + local num_zeros=0
remote: + local 'zeros= '
remote: + [[ 0 -gt 0 ]]
remote: + echo ' DOKKU_NGINX_PORT: 39697'
remote: + read -r word
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_NGINX_PORT='\''39697'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_NGINX_PORT='\''39697'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote:  DOKKU_NGINX_PORT: 39697
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_NGINX_PORT='\''39697'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + cp -f /home/dokku/gitsubmodules/ENV.tmp /home/dokku/gitsubmodules/ENV
remote: + chmod 600 /home/dokku/gitsubmodules/ENV
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + plugn trigger post-config-update gitsubmodules set DOKKU_NGINX_PORT=39697
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ -n gitsubmodules ]]
remote: ++ config_get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ config_parse_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_APP_RESTORE
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_APP_RESTORE='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ true
remote: + local DOKKU_APP_RESTORE=
remote: + [[ false == \t\r\u\e ]]
remote: + [[ -z '' ]]
remote: + is_ssl_enabled gitsubmodules
remote: + declare 'desc=returns 0 if ssl is enabled for given app'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local APP_SSL_PATH=/home/dokku/gitsubmodules/tls
remote: + [[ -e /home/dokku/gitsubmodules/tls/server.crt ]]
remote: + return 1
remote: + [[ -z '' ]]
remote: + [[ -n '' ]]
remote: + local NGINX_PORT=39697
remote: + local NGINX_SSL_PORT=
remote: + [[ -f /home/dokku/gitsubmodules/PORT.web.1 ]]
remote: + local UPSTREAM_PORT=5000
remote: + [[ -n 39697 ]]
remote: + [[ -n '' ]]
remote: + [[ -n 39697 ]]
remote: + local 'PROXY_PORT_MAP+= http:39697:5000 '
remote: + [[ -n http:39697:5000 ]]
remote: ++ xargs
remote: ++ echo ' http:39697:5000 '
remote: + local PROXY_PORT_MAP=http:39697:5000
remote: +++ remove_val_from_list '' '' ' '
remote: +++ declare 'desc=remove value () from list () separated by delimiter ( ) (delimiter defaults to comma) and return list'
remote: +++ local value= list= 'delimiter= '
remote: +++ list=
remote: +++ list=
remote: +++ list=
remote: +++ list=
remote: +++ echo ''
remote: ++ merge_dedupe_list '' ' '
remote: ++ declare 'desc=combine lists () separated by delimiter ( ) (delimiter defaults to comma), dedupe and return list'
remote: ++ local input_lists= 'delimiter= '
remote: +++ xargs
remote: +++ uniq
remote: +++ sort
remote: +++ tr ' ' '
remote: '
remote: ++ local merged_list=
remote: ++ echo ''
remote: + local 'PROXY_PORT_MAP+= '
remote: + config_set --no-restart gitsubmodules 'DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + declare 'desc=set value of given config var'
remote: + source /var/lib/dokku/plugins/available/ps/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: + [[ --no-restart == \c\o\n\f\i\g\:\s\e\t ]]
remote: + set -- config:set --no-restart gitsubmodules 'DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + config_parse_args config:set --no-restart gitsubmodules 'DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + declare 'desc=parse config plugin args'
remote: + unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + for var in '"$@"'
remote: + [[ config:set == \-\-\g\l\o\b\a\l ]]
remote: + [[ config:set == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ config:set == \-\-\e\x\p\o\r\t ]]
remote: + [[ config:set == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ --no-restart == \-\-\g\l\o\b\a\l ]]
remote: + [[ --no-restart == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ --no-restart == \-\-\e\x\p\o\r\t ]]
remote: + [[ --no-restart == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: + [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \-\-\e\x\p\o\r\t ]]
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \-\-\s\h\e\l\l ]]
remote: + SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++ get_sanitized_config_args config:set --no-restart gitsubmodules 'DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: ++ local 'desc=return sanitized arguments for config plugin'
remote: ++ SANITIZED_ARGS=("$@")
remote: ++ local SANITIZED_ARGS
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++ echo config:set '' gitsubmodules 'DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + local SANITIZED_ARGS
remote: + set -- config:set gitsubmodules DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + DOKKU_CONFIG_TYPE=app
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ app == \a\p\p ]]
remote: + [[ -z gitsubmodules ]]
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + APP=gitsubmodules
remote: + ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + [[ -z gitsubmodules DOKKU_PROXY_PORT_MAP=http:39697:5000 ]]
remote: + config_create /home/dokku/gitsubmodules/ENV
remote: + declare 'desc=create config env file'
remote: + local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: + local ENV_ADD=
remote: ++ cat /home/dokku/gitsubmodules/ENV
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\'''
remote: + local RESTART_APP=false
remote: + shift 2
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ gitsubmodules == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + shift 1
remote: + for var in '"$@"'
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + [[ DOKKU_PROXY_PORT_MAP=http:39697:5000 != *\=* ]]
remote: + for var in '"$@"'
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + local KEY=DOKKU_PROXY_PORT_MAP
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + local VALUE=http:39697:5000
remote: + [[ DOKKU_PROXY_PORT_MAP =~ [a-zA-Z_][a-zA-Z0-9_]* ]]
remote: + local RESTART_APP=true
remote: ++ sed '/^export DOKKU_PROXY_PORT_MAP=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\'''
remote: ++ sed '/^DOKKU_PROXY_PORT_MAP=/ d'
remote: ++ echo -e ''
remote: + local ENV_ADD=
remote: + local 'ENV_ADD=$
remote: DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: ++ tail -n +2
remote: ++ echo '$
remote: DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + local 'ENV_ADD=DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + [[ -n true ]]
remote: + dokku_log_info1 'Setting config vars'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Setting config vars'
remote: + config_styled_hash 'DOKKU_PROXY_PORT_MAP=http:39697:5000 ' ' '
remote: + declare 'desc=internal config hash'
remote: + local 'vars=DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + local 'prefix= '
remote: + local longest=
remote: + read -r word
remote: -----> Setting config vars
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + local KEY=DOKKU_PROXY_PORT_MAP
remote: + [[ 20 -gt 0 ]]
remote: + local longest=DOKKU_PROXY_PORT_MAP
remote: + read -r word
remote: + read -r word
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + local KEY=DOKKU_PROXY_PORT_MAP
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//' -e 's/$$//g'
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + local VALUE=http:39697:5000
remote: + local num_zeros=0
remote: + local 'zeros= '
remote: + [[ 0 -gt 0 ]]
remote: + echo ' DOKKU_PROXY_PORT_MAP: http:39697:5000'
remote: + read -r word
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote:  DOKKU_PROXY_PORT_MAP: http:39697:5000
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + cp -f /home/dokku/gitsubmodules/ENV.tmp /home/dokku/gitsubmodules/ENV
remote: + chmod 600 /home/dokku/gitsubmodules/ENV
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + plugn trigger post-config-update gitsubmodules set 'DOKKU_PROXY_PORT_MAP=http:39697:5000 '
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ -n gitsubmodules ]]
remote: ++ config_get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ config_parse_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_APP_RESTORE
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_APP_RESTORE='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ true
remote: + local DOKKU_APP_RESTORE=
remote: + [[ false == \t\r\u\e ]]
remote: ++ config_get gitsubmodules DOKKU_NGINX_PORT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ config_parse_args config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_NGINX_PORT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_PORT
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_NGINX_PORT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_NGINX_PORT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local NGINX_PORT=39697
remote: ++ config_get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ config_parse_args config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_NGINX_SSL_PORT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_NGINX_SSL_PORT
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_NGINX_SSL_PORT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_NGINX_SSL_PORT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local NGINX_SSL_PORT=
remote: ++ config_get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ config_parse_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_PROXY_PORT_MAP
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_PROXY_PORT_MAP='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local PROXY_PORT_MAP=http:39697:5000
remote: + local PORT_MAP
remote: + for PORT_MAP in '$PROXY_PORT_MAP'
remote: ++ awk -F : '{ print $3 }'
remote: + local PROXY_UPSTREAM_PORT=5000
remote: ++ is_val_in_list 5000 '' ' '
remote: ++ declare 'desc=return true if value (5000) is in list () separated by delimiter ( ); delimiter defaults to comma'
remote: ++ local value=5000 list= 'delimiter= '
remote: ++ local 'IFS= ' val_in_list=false
remote: ++ echo false
remote: + [[ false == \f\a\l\s\e ]]
remote: + local 'PROXY_UPSTREAM_PORTS+=5000 '
remote: ++ xargs
remote: ++ echo '5000 '
remote: + local PROXY_UPSTREAM_PORTS=5000
remote: ++ mktemp -d /tmp/dokku_nginx_template.XXXXX
remote: + local NGINX_BUILD_CONFIG_TMP_WORK_DIR=/tmp/dokku_nginx_template.Ol8Kh
remote: ++ mktemp --tmpdir=/tmp/dokku_nginx_template.Ol8Kh nginx.conf.XXXXXX
remote: + local NGINX_CONF=/tmp/dokku_nginx_template.Ol8Kh/nginx.conf.N7h9kG
remote: + local CUSTOM_NGINX_TEMPLATE=/tmp/dokku_nginx_template.Ol8Kh/nginx.conf.sigil
remote: + trap 'rm -rf $NGINX_CONF $NGINX_BUILD_CONFIG_TMP_WORK_DIR > /dev/null' RETURN INT TERM EXIT
remote: + get_custom_nginx_template gitsubmodules /tmp/dokku_nginx_template.Ol8Kh/nginx.conf.sigil
remote: + declare 'desc=attempts to copy custom nginx template from app image'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local DESTINATION=/tmp/dokku_nginx_template.Ol8Kh/nginx.conf.sigil
remote: ++ get_running_image_tag gitsubmodules
remote: ++ declare 'desc=retrieve current image tag for a given app. returns empty string if no deployed containers are found'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ CIDS=($(get_app_container_ids "$APP"))
remote: +++ get_app_container_ids gitsubmodules
remote: +++ declare 'desc=returns list of docker container ids for given app and optional container_type'
remote: +++ local APP=gitsubmodules
remote: +++ local CONTAINER_TYPE=
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ [[ -f /home/dokku/gitsubmodules/CONTAINER ]]
remote: +++ [[ -n '' ]]
remote: +++ local 'CONTAINER_PATTERN=/home/dokku/gitsubmodules/CONTAINER.*'
remote: +++ shopt -s nullglob
remote: +++ local DOKKU_CID_FILE
remote: +++ for DOKKU_CID_FILE in '$CONTAINER_PATTERN'
remote: +++ local 'DOKKU_CIDS+= '
remote: +++ local DOKKU_CIDS+=eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: +++ local 'DOKKU_CIDS+= '
remote: +++ shopt -u nullglob
remote: +++ echo ' eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b '
remote: ++ local CIDS
remote: +++ awk -F: '{ print $2 }'
remote: +++ docker inspect -f '{{ .Config.Image }}' eed90fced484566155b1cc0a764e80112fed924d3fa9db7a8e175544e8b1997b
remote: ++ local RUNNING_IMAGE_TAG=latest
remote: ++ echo latest
remote: + local IMAGE_TAG=latest
remote: ++ get_app_image_name gitsubmodules latest
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=gitsubmodules
remote: ++ local IMAGE_TAG=latest
remote: ++ IMAGE_REPO=
remote: ++ [[ -z gitsubmodules ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo gitsubmodules
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=gitsubmodules
remote: +++ local IMAGE_REPO=dokku/gitsubmodules
remote: +++ [[ -z gitsubmodules ]]
remote: +++ echo dokku/gitsubmodules
remote: ++ IMAGE_REPO=dokku/gitsubmodules
remote: ++ [[ -n latest ]]
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ verify_image dokku/gitsubmodules:latest
remote: ++ declare 'desc=verify image existence'
remote: ++ local IMAGE=dokku/gitsubmodules:latest
remote: ++ docker inspect dokku/gitsubmodules:latest
remote: ++ return 0
remote: ++ echo dokku/gitsubmodules:latest
remote: + local IMAGE=dokku/gitsubmodules:latest
remote: + local NGINX_TEMPLATE_NAME=nginx.conf.sigil
remote: + copy_from_image dokku/gitsubmodules:latest nginx.conf.sigil /tmp/dokku_nginx_template.Ol8Kh/nginx.conf.sigil
remote: + [[ -f /tmp/dokku_nginx_template.Ol8Kh/nginx.conf.sigil ]]
remote: ++ get_app_domains gitsubmodules
remote: ++ declare 'desc=return app domains'
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local APP=gitsubmodules
remote: ++ local APP_VHOST_FILE=/home/dokku/gitsubmodules/VHOST
remote: ++ local GLOBAL_VHOST_PATH=/home/dokku/VHOST
remote: ++ local GLOBAL_HOSTNAME_PATH=/home/dokku/HOSTNAME
remote: +++ is_app_vhost_enabled gitsubmodules
remote: +++ declare 'desc=returns true or false if vhost support is enabled for a given application'
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: +++ local APP=gitsubmodules
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: ++++ config_get gitsubmodules NO_VHOST
remote: ++++ declare 'desc=get value of given config var'
remote: ++++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++++ set -- config:get gitsubmodules NO_VHOST
remote: ++++ config_parse_args config:get gitsubmodules NO_VHOST
remote: ++++ declare 'desc=parse config plugin args'
remote: ++++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++++ for var in '"$@"'
remote: ++++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++++ for var in '"$@"'
remote: ++++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++++ for var in '"$@"'
remote: ++++ [[ NO_VHOST == \-\-\g\l\o\b\a\l ]]
remote: ++++ [[ NO_VHOST == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++++ [[ NO_VHOST == \-\-\e\x\p\o\r\t ]]
remote: ++++ [[ NO_VHOST == \-\-\s\h\e\l\l ]]
remote: ++++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: +++++ local 'desc=return sanitized arguments for config plugin'
remote: +++++ SANITIZED_ARGS=("$@")
remote: +++++ local SANITIZED_ARGS
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++++ echo config:get gitsubmodules NO_VHOST
remote: ++++ local SANITIZED_ARGS
remote: ++++ set -- config:get gitsubmodules NO_VHOST
remote: ++++ DOKKU_CONFIG_TYPE=app
remote: ++++ DOKKU_CONFIG_RESTART=true
remote: ++++ [[ app == \a\p\p ]]
remote: ++++ [[ -z gitsubmodules ]]
remote: ++++ verify_app_name gitsubmodules
remote: ++++ declare 'desc=verify app name format and app existence'
remote: ++++ local APP=gitsubmodules
remote: ++++ [[ ! -n gitsubmodules ]]
remote: ++++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++++ return 0
remote: ++++ APP=gitsubmodules
remote: ++++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++++ get_sanitized_config_args config:get gitsubmodules NO_VHOST
remote: +++++ local 'desc=return sanitized arguments for config plugin'
remote: +++++ SANITIZED_ARGS=("$@")
remote: +++++ local SANITIZED_ARGS
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++++ echo config:get gitsubmodules NO_VHOST
remote: ++++ local SANITIZED_ARGS
remote: ++++ set -- config:get gitsubmodules NO_VHOST
remote: ++++ [[ -z gitsubmodules ]]
remote: ++++ config_create /home/dokku/gitsubmodules/ENV
remote: ++++ declare 'desc=create config env file'
remote: ++++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++++ local KEY=NO_VHOST
remote: ++++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++++ cut -d= -f2-
remote: ++++ grep '^export NO_VHOST='
remote: ++++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: +++ local NO_VHOST=1
remote: +++ local APP_VHOST_ENABLED=true
remote: +++ [[ 1 == \1 ]]
remote: +++ local APP_VHOST_ENABLED=false
remote: +++ echo false
remote: ++ [[ false == \t\r\u\e ]]
remote: + local NONSSL_VHOSTS=
remote: ++ xargs
remote: ++ echo ''
remote: + local NOSSL_SERVER_NAME=
remote: + is_ssl_enabled gitsubmodules
remote: + declare 'desc=returns 0 if ssl is enabled for given app'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local APP_SSL_PATH=/home/dokku/gitsubmodules/tls
remote: + [[ -e /home/dokku/gitsubmodules/tls/server.crt ]]
remote: + return 1
remote: ++ cut -d/ -f 2
remote: ++ nginx -v
remote: + local NGINX_VERSION=1.10.1
remote: ++ is_spdy_enabled 1.10.1
remote: ++ declare 'desc=detects whether the installed nginx version has spdy or http2 support'
remote: ++ local NGINX_VERSION=1.10.1
remote: ++ local MAJOR_VERSION MINOR_VERSION PATCH_VERSION
remote: ++ local HAS_SUPPORT=true
remote: ++ which nginx
remote: +++ awk '{split($0,a,"."); print a[1]}'
remote: +++ echo 1.10.1
remote: ++ MAJOR_VERSION=1
remote: +++ awk '{split($0,a,"."); print a[2]}'
remote: +++ echo 1.10.1
remote: ++ MINOR_VERSION=10
remote: +++ awk '{split($0,a,"."); print a[3]}'
remote: +++ echo 1.10.1
remote: ++ PATCH_VERSION=1
remote: ++ [[ 1 -ge 2 ]]
remote: ++ [[ 1 -eq 1 ]]
remote: ++ [[ 10 -ge 10 ]]
remote: ++ HAS_SUPPORT=false
remote: ++ echo false
remote: + local SPDY_SUPPORTED=false
remote: ++ config_export app gitsubmodules
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=gitsubmodules
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\''
remote: DOKKU_NGINX_PORT='\''39697'\''
remote: DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: NO_VHOST='\''1'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\''
remote: DOKKU_NGINX_PORT='\''39697'\''
remote: DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: NO_VHOST='\''1'\'''
remote: ++ return 0
remote: + eval 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\'''
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: ++ export DOKKU_NGINX_PORT=39697
remote: ++ DOKKU_NGINX_PORT=39697
remote: ++ export DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: ++ DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: ++ export NO_VHOST=1
remote: ++ NO_VHOST=1
remote: + SIGIL_PARAMS=(-f $NGINX_TEMPLATE APP="$APP" DOKKU_ROOT="$DOKKU_ROOT" NOSSL_SERVER_NAME="$NOSSL_SERVER_NAME" DOKKU_APP_LISTENERS="$DOKKU_APP_LISTENERS" PASSED_LISTEN_IP_PORT="$PASSED_LISTEN_IP_PORT" SPDY_SUPPORTED="$SPDY_SUPPORTED" DOKKU_APP_LISTEN_PORT="$DOKKU_APP_LISTEN_PORT" DOKKU_APP_LISTEN_IP="$DOKKU_APP_LISTEN_IP" APP_SSL_PATH="$APP_SSL_PATH" SSL_INUSE="$SSL_INUSE" SSL_SERVER_NAME="$SSL_SERVER_NAME" NGINX_PORT="$NGINX_PORT" NGINX_SSL_PORT="$NGINX_SSL_PORT" RAW_TCP_PORTS="$RAW_TCP_PORTS" PROXY_PORT_MAP="$PROXY_PORT_MAP" PROXY_UPSTREAM_PORTS="$PROXY_UPSTREAM_PORTS")
remote: + local SIGIL_PARAMS
remote: + xargs -i echo '-----> Configuring {}...(using built-in template)'
remote: ++ sort -u
remote: ++ tr ' ' '\n'
remote: ++ echo '' ''
remote: + cat -s
remote: + sigil -f /var/lib/dokku/plugins/available/nginx-vhosts/templates/nginx.conf.sigil APP=gitsubmodules DOKKU_ROOT=/home/dokku NOSSL_SERVER_NAME= DOKKU_APP_LISTENERS=172.17.0.3:5000 PASSED_LISTEN_IP_PORT= SPDY_SUPPORTED=false DOKKU_APP_LISTEN_PORT= DOKKU_APP_LISTEN_IP= APP_SSL_PATH=/home/dokku/gitsubmodules/tls SSL_INUSE= SSL_SERVER_NAME= NGINX_PORT=39697 NGINX_SSL_PORT= RAW_TCP_PORTS= PROXY_PORT_MAP=http:39697:5000 PROXY_UPSTREAM_PORTS=5000
remote: + is_deployed gitsubmodules
remote: + declare 'desc=return 0 if given app has a running container'
remote: + local APP=gitsubmodules
remote: + [[ -f /home/dokku/gitsubmodules/CONTAINER ]]
remote: ++ ls /home/dokku/gitsubmodules/CONTAINER.web.1
remote: ++ echo 0
remote: + [[ 0 -eq 0 ]]
remote: + return 0
remote: + dokku_log_info1 'Creating http nginx.conf'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Creating http nginx.conf'
remote: + mv /tmp/dokku_nginx_template.Ol8Kh/nginx.conf.N7h9kG /home/dokku/gitsubmodules/nginx.conf
remote: -----> Creating http nginx.conf
remote: + is_deployed gitsubmodules
remote: + declare 'desc=return 0 if given app has a running container'
remote: + local APP=gitsubmodules
remote: + [[ -f /home/dokku/gitsubmodules/CONTAINER ]]
remote: ++ ls /home/dokku/gitsubmodules/CONTAINER.web.1
remote: ++ echo 0
remote: + [[ 0 -eq 0 ]]
remote: + return 0
remote: + dokku_log_info1 'Running nginx-pre-reload'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Running nginx-pre-reload'
remote: + plugn trigger nginx-pre-reload gitsubmodules '' ''
remote: -----> Running nginx-pre-reload
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + dokku_log_verbose 'Reloading nginx'
remote: + declare 'desc=log verbose formatter'
remote: + echo ' Reloading nginx'
remote: + validate_nginx
remote: + declare 'desc=validate entire nginx config'
remote: + set +e
remote: + sudo /usr/sbin/nginx -t
remote:  Reloading nginx
remote: + local exit_code=0
remote: + set -e
remote: + [[ 0 -ne 0 ]]
remote: + restart_nginx
remote: + declare 'desc=restart nginx for given distros'
remote: + case "$DOKKU_DISTRO" in
remote: + sudo /etc/init.d/nginx reload
remote: + [[ -n '' ]]
remote: + [[ -n '' ]]
remote: ++ rm -rf /tmp/dokku_nginx_template.Ol8Kh/nginx.conf.N7h9kG /tmp/dokku_nginx_template.Ol8Kh
remote: ++ rm -rf
remote: + rm -rf
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/ps/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: + ps_post_deploy gitsubmodules 5000 172.17.0.3 ''
remote: + declare 'desc=ps post-deploy plugin trigger'
remote: + local trigger=ps_post_deploy
remote: + local APP=gitsubmodules
remote: + remove_procfile gitsubmodules
remote: + declare 'desc=removes DOKKU_PROCFILE'
remote: + local APP=gitsubmodules
remote: + local DOKKU_PROCFILE=/home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + [[ -f /home/dokku/gitsubmodules/DOKKU_PROCFILE ]]
remote: + rm -f /home/dokku/gitsubmodules/DOKKU_PROCFILE
remote: + config_set --no-restart gitsubmodules DOKKU_APP_RESTORE=1
remote: + declare 'desc=set value of given config var'
remote: + source /var/lib/dokku/plugins/available/ps/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: + [[ --no-restart == \c\o\n\f\i\g\:\s\e\t ]]
remote: + set -- config:set --no-restart gitsubmodules DOKKU_APP_RESTORE=1
remote: + config_parse_args config:set --no-restart gitsubmodules DOKKU_APP_RESTORE=1
remote: + declare 'desc=parse config plugin args'
remote: + unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + for var in '"$@"'
remote: + [[ config:set == \-\-\g\l\o\b\a\l ]]
remote: + [[ config:set == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ config:set == \-\-\e\x\p\o\r\t ]]
remote: + [[ config:set == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ --no-restart == \-\-\g\l\o\b\a\l ]]
remote: + [[ --no-restart == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ --no-restart == \-\-\e\x\p\o\r\t ]]
remote: + [[ --no-restart == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: + [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: + for var in '"$@"'
remote: + [[ DOKKU_APP_RESTORE=1 == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_APP_RESTORE=1 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ DOKKU_APP_RESTORE=1 == \-\-\e\x\p\o\r\t ]]
remote: + [[ DOKKU_APP_RESTORE=1 == \-\-\s\h\e\l\l ]]
remote: + SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++ get_sanitized_config_args config:set --no-restart gitsubmodules DOKKU_APP_RESTORE=1
remote: ++ local 'desc=return sanitized arguments for config plugin'
remote: ++ SANITIZED_ARGS=("$@")
remote: ++ local SANITIZED_ARGS
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++ echo config:set '' gitsubmodules DOKKU_APP_RESTORE=1
remote: + local SANITIZED_ARGS
remote: + set -- config:set gitsubmodules DOKKU_APP_RESTORE=1
remote: + DOKKU_CONFIG_TYPE=app
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ app == \a\p\p ]]
remote: + [[ -z gitsubmodules ]]
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + APP=gitsubmodules
remote: + ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: + [[ -z gitsubmodules DOKKU_APP_RESTORE=1 ]]
remote: + config_create /home/dokku/gitsubmodules/ENV
remote: + declare 'desc=create config env file'
remote: + local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: + [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: + local ENV_ADD=
remote: ++ cat /home/dokku/gitsubmodules/ENV
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\'''
remote: + local RESTART_APP=false
remote: + shift 2
remote: + for var in '"$@"'
remote: + [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: + [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ gitsubmodules == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + shift 1
remote: + for var in '"$@"'
remote: + [[ DOKKU_APP_RESTORE=1 == \-\-\g\l\o\b\a\l ]]
remote: + [[ DOKKU_APP_RESTORE=1 == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + [[ -n gitsubmodules ]]
remote: + [[ DOKKU_APP_RESTORE=1 == \g\i\t\s\u\b\m\o\d\u\l\e\s ]]
remote: + [[ DOKKU_APP_RESTORE=1 != *\=* ]]
remote: + for var in '"$@"'
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_APP_RESTORE=1
remote: + local KEY=DOKKU_APP_RESTORE
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_APP_RESTORE=1
remote: + local VALUE=1
remote: + [[ DOKKU_APP_RESTORE =~ [a-zA-Z_][a-zA-Z0-9_]* ]]
remote: + local RESTART_APP=true
remote: ++ sed '/^export DOKKU_APP_RESTORE=/ d'
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\'''
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_APP_RESTORE='\''1'\'''
remote: ++ sed '/^DOKKU_APP_RESTORE=/ d'
remote: ++ echo -e ''
remote: + local ENV_ADD=
remote: + local 'ENV_ADD=$
remote: DOKKU_APP_RESTORE=1'
remote: ++ tail -n +2
remote: ++ echo '$
remote: DOKKU_APP_RESTORE=1'
remote: + local ENV_ADD=DOKKU_APP_RESTORE=1
remote: + [[ -n true ]]
remote: + dokku_log_info1 'Setting config vars'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Setting config vars'
remote: + config_styled_hash DOKKU_APP_RESTORE=1 ' '
remote: + declare 'desc=internal config hash'
remote: + local vars=DOKKU_APP_RESTORE=1
remote: + local 'prefix= '
remote: + local longest=
remote: + read -r word
remote: -----> Setting config vars
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_APP_RESTORE=1
remote: + local KEY=DOKKU_APP_RESTORE
remote: + [[ 17 -gt 0 ]]
remote: + local longest=DOKKU_APP_RESTORE
remote: + read -r word
remote: + read -r word
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_APP_RESTORE=1
remote: + local KEY=DOKKU_APP_RESTORE
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//' -e 's/$$//g'
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_APP_RESTORE=1
remote: + local VALUE=1
remote: + local num_zeros=0
remote: + local 'zeros= '
remote: + [[ 0 -gt 0 ]]
remote: + echo ' DOKKU_APP_RESTORE: 1'
remote: + read -r word
remote: + config_write 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_APP_RESTORE='\''1'\'''
remote: + declare 'desc=writes config vars out to appropriate file path'
remote: + local 'ENV_TEMP=export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_APP_RESTORE='\''1'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/gitsubmodules/ENV.tmp
remote:  DOKKU_APP_RESTORE: 1
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export DOKKU_NGINX_PORT='\''39697'\''
remote: export DOKKU_PROXY_PORT_MAP='\''http:39697:5000'\''
remote: export NO_VHOST='\''1'\''
remote: export DOKKU_APP_RESTORE='\''1'\'''
remote: + cmp -s /home/dokku/gitsubmodules/ENV /home/dokku/gitsubmodules/ENV.tmp
remote: + cp -f /home/dokku/gitsubmodules/ENV.tmp /home/dokku/gitsubmodules/ENV
remote: + chmod 600 /home/dokku/gitsubmodules/ENV
remote: + rm -f /home/dokku/gitsubmodules/ENV.tmp
remote: + plugn trigger post-config-update gitsubmodules set DOKKU_APP_RESTORE=1
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ -n gitsubmodules ]]
remote: ++ config_get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ config_parse_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_RESTORE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_APP_RESTORE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_APP_RESTORE
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_APP_RESTORE
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_APP_RESTORE='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local DOKKU_APP_RESTORE=1
remote: + [[ false == \t\r\u\e ]]
remote: + [[ -n '' ]]
remote: + dokku_log_info2 'Application deployed:'
remote: + declare 'desc=log info2 formatter'
remote: + echo '=====> Application deployed:'
remote: =====> Application deployed:
remote: + sed 's/^/ /'
remote: + get_app_urls urls gitsubmodules
remote: + declare 'desc=print an app'\''s available urls'
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/domains/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/proxy/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: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: ++ get_app_raw_tcp_ports gitsubmodules
remote: ++ declare 'desc=extracts raw tcp port numbers from DOCKERFILE_PORTS config variable'
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: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: +++ config_get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ config_parse_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DOCKERFILE_PORTS == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DOCKERFILE_PORTS
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_DOCKERFILE_PORTS
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_DOCKERFILE_PORTS='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local DOCKERFILE_PORTS=
remote: +++ xargs
remote: +++ echo ''
remote: ++ local raw_tcp_ports=
remote: ++ echo ''
remote: + local RAW_TCP_PORTS=
remote: + local URLS_FILE=/home/dokku/gitsubmodules/URLS
remote: ++ config_get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ config_parse_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_PROXY_PORT_MAP == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z gitsubmodules ]]
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ APP=gitsubmodules
remote: ++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get gitsubmodules DOKKU_PROXY_PORT_MAP
remote: ++ [[ -z gitsubmodules ]]
remote: ++ config_create /home/dokku/gitsubmodules/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: ++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: ++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: ++ local KEY=DOKKU_PROXY_PORT_MAP
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_PROXY_PORT_MAP='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: + local DOKKU_PROXY_PORT_MAP=http:39697:5000
remote: + [[ -s /home/dokku/gitsubmodules/URLS ]]
remote: + local SCHEME=http
remote: + local SSL=/home/dokku/gitsubmodules/tls
remote: + [[ -e /home/dokku/gitsubmodules/tls/server.crt ]]
remote: ++ is_app_proxy_enabled gitsubmodules
remote: ++ declare 'desc=return true if proxy is enabled; otherwise return false'
remote: ++ local APP=gitsubmodules
remote: ++ verify_app_name gitsubmodules
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=gitsubmodules
remote: ++ [[ ! -n gitsubmodules ]]
remote: ++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: ++ return 0
remote: ++ local APP_PROXY_ENABLED=true
remote: +++ config_get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ gitsubmodules == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ config_parse_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ gitsubmodules == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ gitsubmodules == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ gitsubmodules == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DISABLE_PROXY == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z gitsubmodules ]]
remote: +++ verify_app_name gitsubmodules
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=gitsubmodules
remote: +++ [[ ! -n gitsubmodules ]]
remote: +++ [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/gitsubmodules ]]
remote: +++ return 0
remote: +++ APP=gitsubmodules
remote: +++ ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get gitsubmodules DOKKU_DISABLE_PROXY
remote: +++ [[ -z gitsubmodules ]]
remote: +++ config_create /home/dokku/gitsubmodules/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/gitsubmodules/ENV
remote: +++ [[ -f /home/dokku/gitsubmodules/ENV ]]
remote: +++ [[ ! -s /home/dokku/gitsubmodules/ENV ]]
remote: +++ local KEY=DOKKU_DISABLE_PROXY
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_DISABLE_PROXY='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/gitsubmodules/ENV
remote: ++ local DOKKU_DISABLE_PROXY=
remote: ++ [[ -n '' ]]
remote: ++ echo true
remote: + [[ true == \f\a\l\s\e ]]
remote: + [[ -n http:39697:5000 ]]
remote: + local port_map
remote: + for port_map in '$DOKKU_PROXY_PORT_MAP'
remote: ++ awk -F : '{ print $1 }'
remote: + local scheme=http
remote: ++ awk -F : '{ print $2 }'
remote: + local listen_port=39697
remote: + echo http://dokku.me:39697
remote: + echo
remote:  http://dokku.me:39697
remote: 
remote: ++ rm -rf /tmp/dokku_git.gpFc
remote: ++ rm -rf ''
remote: + release_app_deploy_lock gitsubmodules
remote: + declare 'desc=release advisory lock used in git/tar deploys'
remote: + local APP=gitsubmodules
remote: + verify_app_name gitsubmodules
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=gitsubmodules
remote: + [[ ! -n gitsubmodules ]]
remote: + [[ ! gitsubmodules =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/gitsubmodules ]]
remote: + return 0
remote: + local APP_DEPLOY_LOCK_FD=200
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/gitsubmodules/.deploy.lock
remote: + flock -u 200
remote: + rm -f /home/dokku/gitsubmodules/.deploy.lock
remote: ++ rm -rf ''
remote: + rm -rf ''
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/tar/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: + tar_receive_app gitsubmodules c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + declare 'desc=tar receive-app plugin trigger'
remote: + local trigger=tar_receive_app
remote: + local APP=gitsubmodules
remote: + local REV=c3bfa47c41994f813dd16f480a2a08ade68e5e00
remote: + [[ ! -f /home/dokku/gitsubmodules/src.tar ]]
remote: + true
remote: + read -r oldrev newrev refname
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/logs/commands git-hook gitsubmodules
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/nginx-vhosts/commands git-hook gitsubmodules
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/plugin/commands git-hook gitsubmodules
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/postgres/commands git-hook gitsubmodules
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/proxy/commands git-hook gitsubmodules
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/ps/commands git-hook gitsubmodules
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/repo/commands git-hook gitsubmodules
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/shell/commands git-hook gitsubmodules
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/storage/commands git-hook gitsubmodules
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/tags/commands git-hook gitsubmodules
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/tar/commands git-hook gitsubmodules
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + [[ 1 -eq 0 ]]
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/postgres/commands git-receive-pack ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ 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 ''\''gitsubmodules'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ set +f
+ exit 0
To dokku@zip.thruhere.net:gitsubmodules
* [new branch] master -> master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment