Skip to content

Instantly share code, notes, and snippets.

@cu12
Last active February 11, 2016 10:15
Show Gist options
  • Save cu12/9fbdc4ebe4d998df44a1 to your computer and use it in GitHub Desktop.
Save cu12/9fbdc4ebe4d998df44a1 to your computer and use it in GitHub Desktop.
Dokku dockerfile trace
+ parse_args git-receive-pack ''\''samson'\'''
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_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 'samson' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ [[ git-receive-pack =~ docker-options* ]]
+ set -f
+ /usr/local/bin/dokku git-receive-pack ''\''samson'\'''
+ [[ -f /home/dokku/dokkurc ]]
+ [[ -d /home/dokku/.dokkurc ]]
+ for f in '$DOKKU_ROOT/.dokkurc/*'
+ source /home/dokku/.dokkurc/DOKKU_TRACE
++ export DOKKU_TRACE=1
++ DOKKU_TRACE=1
+ [[ -n 1 ]]
+ set -x
+ parse_args git-receive-pack ''\''samson'\'''
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_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 ''\''samson'\'''
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=dczinke
+ SSH_NAME=dczinke
+ plugn trigger user-auth dokku dczinke git-receive-pack ''\''samson'\'''
+ return 0
+ case "$1" in
+ implemented=0
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-receive-pack ''\''samson'\'''
+ 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 ''\''samson'\'''
+ 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 ''\''samson'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/backup/commands git-receive-pack ''\''samson'\'''
+ 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 ''\''samson'\'''
+ 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 ''\''samson'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/deployment-keys/commands git-receive-pack ''\''samson'\'''
+ APP=''\''samson'\'''
+ APP_SPECIFIC_KEY_FOLDER='/home/dokku/.deployment-keys/'\''samson'\''/.ssh'
+ SHARED_KEY_FOLDER=/home/dokku/.deployment-keys/shared/.ssh
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/docker-options/commands git-receive-pack ''\''samson'\'''
+ 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 ''\''samson'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/elasticsearch/commands git-receive-pack ''\''samson'\'''
+ PLUGIN_BASE_PATH=/var/lib/dokku/plugins
+ [[ -n 1 ]]
+ PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
+ source /var/lib/dokku/plugins/enabled/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
+ source /var/lib/dokku/plugins/enabled/elasticsearch/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
++ source /var/lib/dokku/plugins/enabled/elasticsearch/config
+++ export ELASTICSEARCH_IMAGE=elasticsearch
+++ ELASTICSEARCH_IMAGE=elasticsearch
+++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
+++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
+++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
+++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
+++ export PLUGIN_COMMAND_PREFIX=elasticsearch
+++ PLUGIN_COMMAND_PREFIX=elasticsearch
+++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
+++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
+++ PLUGIN_DATASTORE_PORTS=(9200 9300)
+++ export PLUGIN_DATASTORE_PORTS
+++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
+++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
+++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
+++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
+++ export PLUGIN_IMAGE=elasticsearch
+++ PLUGIN_IMAGE=elasticsearch
+++ export PLUGIN_IMAGE_VERSION=2.1.1
+++ PLUGIN_IMAGE_VERSION=2.1.1
+++ export PLUGIN_SCHEME=http
+++ PLUGIN_SCHEME=http
+++ export PLUGIN_SERVICE=Elasticsearch
+++ PLUGIN_SERVICE=Elasticsearch
++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
+ source /var/lib/dokku/plugins/enabled/elasticsearch/config
++ export ELASTICSEARCH_IMAGE=elasticsearch
++ ELASTICSEARCH_IMAGE=elasticsearch
++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
++ export PLUGIN_COMMAND_PREFIX=elasticsearch
++ PLUGIN_COMMAND_PREFIX=elasticsearch
++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
++ PLUGIN_DATASTORE_PORTS=(9200 9300)
++ export PLUGIN_DATASTORE_PORTS
++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
++ export PLUGIN_IMAGE=elasticsearch
++ PLUGIN_IMAGE=elasticsearch
++ export PLUGIN_IMAGE_VERSION=2.1.1
++ PLUGIN_IMAGE_VERSION=2.1.1
++ export PLUGIN_SCHEME=http
++ PLUGIN_SCHEME=http
++ export PLUGIN_SERVICE=Elasticsearch
++ PLUGIN_SERVICE=Elasticsearch
+ [[ git-receive-pack == elasticsearch:* ]]
+ [[ -d /var/lib/dokku/services/elasticsearch/* ]]
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/enter/commands git-receive-pack ''\''samson'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/fake_sns/commands git-receive-pack ''\''samson'\'''
+ PLUGIN_BASE_PATH=/var/lib/dokku/plugins
+ [[ -n 1 ]]
+ PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
+ source /var/lib/dokku/plugins/enabled/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
+ source /var/lib/dokku/plugins/enabled/fake_sns/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
++ source /var/lib/dokku/plugins/enabled/fake_sns/config
+++ export FAKESNS_IMAGE=feathj/fake-sns
+++ FAKESNS_IMAGE=feathj/fake-sns
+++ export FAKESNS_IMAGE_VERSION=latest
+++ FAKESNS_IMAGE_VERSION=latest
+++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
+++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
+++ export PLUGIN_COMMAND_PREFIX=sns
+++ PLUGIN_COMMAND_PREFIX=sns
+++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
+++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
+++ PLUGIN_DATASTORE_PORTS=(9292)
+++ export PLUGIN_DATASTORE_PORTS
+++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
+++ PLUGIN_DEFAULT_ALIAS=FAKESNS
+++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
+++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
+++ export PLUGIN_IMAGE=feathj/fake-sns
+++ PLUGIN_IMAGE=feathj/fake-sns
+++ export PLUGIN_IMAGE_VERSION=latest
+++ PLUGIN_IMAGE_VERSION=latest
+++ export PLUGIN_SCHEME=http
+++ PLUGIN_SCHEME=http
+++ export PLUGIN_SERVICE=Fakesns
+++ PLUGIN_SERVICE=Fakesns
++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
+ source /var/lib/dokku/plugins/enabled/fake_sns/config
++ export FAKESNS_IMAGE=feathj/fake-sns
++ FAKESNS_IMAGE=feathj/fake-sns
++ export FAKESNS_IMAGE_VERSION=latest
++ FAKESNS_IMAGE_VERSION=latest
++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
++ export PLUGIN_COMMAND_PREFIX=sns
++ PLUGIN_COMMAND_PREFIX=sns
++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
++ PLUGIN_DATASTORE_PORTS=(9292)
++ export PLUGIN_DATASTORE_PORTS
++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
++ PLUGIN_DEFAULT_ALIAS=FAKESNS
++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
++ export PLUGIN_IMAGE=feathj/fake-sns
++ PLUGIN_IMAGE=feathj/fake-sns
++ export PLUGIN_IMAGE_VERSION=latest
++ PLUGIN_IMAGE_VERSION=latest
++ export PLUGIN_SCHEME=http
++ PLUGIN_SCHEME=http
++ export PLUGIN_SERVICE=Fakesns
++ PLUGIN_SERVICE=Fakesns
+ [[ git-receive-pack == sns:* ]]
+ [[ -d /var/lib/dokku/services/fakesns/* ]]
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/git/commands git-receive-pack ''\''samson'\'''
+ 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
+ case "$1" in
++ sed 's/^\///g'
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
perl: warning: Setting locale failed.
++ echo ''\''samson'\'''
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
+ APP=samson
+ APP_PATH=/home/dokku/samson
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/samson/refs ]]
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ args='git-receive-pack '\''/home/dokku/samson'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/samson'\'''
Counting objects: 16399, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5407/5407), done.
Writing objects: 100% (16399/16399), 128.52 MiB | 10.62 MiB/s, done.
Total 16399 (delta 10330), reused 16399 (delta 10330)
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-hook samson
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ git-hook =~ ^--.* ]]
remote: + has_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 samson
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=dczinke
remote: + SSH_NAME=dczinke
remote: + plugn trigger user-auth dokku dczinke git-hook samson
remote: + return 0
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-hook samson
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 samson
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 samson
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/backup/commands git-hook samson
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 samson
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 samson
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/deployment-keys/commands git-hook samson
remote: + APP=samson
remote: + APP_SPECIFIC_KEY_FOLDER=/home/dokku/.deployment-keys/samson/.ssh
remote: + SHARED_KEY_FOLDER=/home/dokku/.deployment-keys/shared/.ssh
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-hook samson
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 samson
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/elasticsearch/commands git-hook samson
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins
remote: + [[ -n 1 ]]
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
remote: + source /var/lib/dokku/plugins/enabled/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: + source /var/lib/dokku/plugins/enabled/elasticsearch/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: ++ source /var/lib/dokku/plugins/enabled/elasticsearch/config
remote: +++ export ELASTICSEARCH_IMAGE=elasticsearch
remote: +++ ELASTICSEARCH_IMAGE=elasticsearch
remote: +++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: +++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: +++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ export PLUGIN_COMMAND_PREFIX=elasticsearch
remote: +++ PLUGIN_COMMAND_PREFIX=elasticsearch
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ PLUGIN_DATASTORE_PORTS=(9200 9300)
remote: +++ export PLUGIN_DATASTORE_PORTS
remote: +++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: +++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: +++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: +++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: +++ export PLUGIN_IMAGE=elasticsearch
remote: +++ PLUGIN_IMAGE=elasticsearch
remote: +++ export PLUGIN_IMAGE_VERSION=2.1.1
remote: +++ PLUGIN_IMAGE_VERSION=2.1.1
remote: +++ export PLUGIN_SCHEME=http
remote: +++ PLUGIN_SCHEME=http
remote: +++ export PLUGIN_SERVICE=Elasticsearch
remote: +++ PLUGIN_SERVICE=Elasticsearch
remote: ++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: + source /var/lib/dokku/plugins/enabled/elasticsearch/config
remote: ++ export ELASTICSEARCH_IMAGE=elasticsearch
remote: ++ ELASTICSEARCH_IMAGE=elasticsearch
remote: ++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: ++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: ++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ export PLUGIN_COMMAND_PREFIX=elasticsearch
remote: ++ PLUGIN_COMMAND_PREFIX=elasticsearch
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ PLUGIN_DATASTORE_PORTS=(9200 9300)
remote: ++ export PLUGIN_DATASTORE_PORTS
remote: ++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: ++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: ++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: ++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: ++ export PLUGIN_IMAGE=elasticsearch
remote: ++ PLUGIN_IMAGE=elasticsearch
remote: ++ export PLUGIN_IMAGE_VERSION=2.1.1
remote: ++ PLUGIN_IMAGE_VERSION=2.1.1
remote: ++ export PLUGIN_SCHEME=http
remote: ++ PLUGIN_SCHEME=http
remote: ++ export PLUGIN_SERVICE=Elasticsearch
remote: ++ PLUGIN_SERVICE=Elasticsearch
remote: + [[ git-hook == elasticsearch:* ]]
remote: + [[ -d /var/lib/dokku/services/elasticsearch/* ]]
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-hook samson
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/fake_sns/commands git-hook samson
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins
remote: + [[ -n 1 ]]
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
remote: + source /var/lib/dokku/plugins/enabled/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: + source /var/lib/dokku/plugins/enabled/fake_sns/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: ++ source /var/lib/dokku/plugins/enabled/fake_sns/config
remote: +++ export FAKESNS_IMAGE=feathj/fake-sns
remote: +++ FAKESNS_IMAGE=feathj/fake-sns
remote: +++ export FAKESNS_IMAGE_VERSION=latest
remote: +++ FAKESNS_IMAGE_VERSION=latest
remote: +++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: +++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: +++ export PLUGIN_COMMAND_PREFIX=sns
remote: +++ PLUGIN_COMMAND_PREFIX=sns
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: +++ PLUGIN_DATASTORE_PORTS=(9292)
remote: +++ export PLUGIN_DATASTORE_PORTS
remote: +++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: +++ PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: +++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: +++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: +++ export PLUGIN_IMAGE=feathj/fake-sns
remote: +++ PLUGIN_IMAGE=feathj/fake-sns
remote: +++ export PLUGIN_IMAGE_VERSION=latest
remote: +++ PLUGIN_IMAGE_VERSION=latest
remote: +++ export PLUGIN_SCHEME=http
remote: +++ PLUGIN_SCHEME=http
remote: +++ export PLUGIN_SERVICE=Fakesns
remote: +++ PLUGIN_SERVICE=Fakesns
remote: ++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: + source /var/lib/dokku/plugins/enabled/fake_sns/config
remote: ++ export FAKESNS_IMAGE=feathj/fake-sns
remote: ++ FAKESNS_IMAGE=feathj/fake-sns
remote: ++ export FAKESNS_IMAGE_VERSION=latest
remote: ++ FAKESNS_IMAGE_VERSION=latest
remote: ++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: ++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: ++ export PLUGIN_COMMAND_PREFIX=sns
remote: ++ PLUGIN_COMMAND_PREFIX=sns
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: ++ PLUGIN_DATASTORE_PORTS=(9292)
remote: ++ export PLUGIN_DATASTORE_PORTS
remote: ++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: ++ PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: ++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: ++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: ++ export PLUGIN_IMAGE=feathj/fake-sns
remote: ++ PLUGIN_IMAGE=feathj/fake-sns
remote: ++ export PLUGIN_IMAGE_VERSION=latest
remote: ++ PLUGIN_IMAGE_VERSION=latest
remote: ++ export PLUGIN_SCHEME=http
remote: ++ PLUGIN_SCHEME=http
remote: ++ export PLUGIN_SERVICE=Fakesns
remote: ++ PLUGIN_SERVICE=Fakesns
remote: + [[ git-hook == sns:* ]]
remote: + [[ -d /var/lib/dokku/services/fakesns/* ]]
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-hook samson
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: + case "$1" in
remote: + APP=samson
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 samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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: + APP=samson
remote: + REV=7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + [[ ! -d /home/dokku/samson/refs ]]
remote: + dokku git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ git-build =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-build =~ plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=dczinke
remote: + SSH_NAME=dczinke
remote: + plugn trigger user-auth dokku dczinke git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + return 0
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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/backup/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/deployment-keys/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + APP=samson
remote: + APP_SPECIFIC_KEY_FOLDER=/home/dokku/.deployment-keys/samson/.ssh
remote: + SHARED_KEY_FOLDER=/home/dokku/.deployment-keys/shared/.ssh
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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/elasticsearch/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins
remote: + [[ -n 1 ]]
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
remote: + source /var/lib/dokku/plugins/enabled/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: + source /var/lib/dokku/plugins/enabled/elasticsearch/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: ++ source /var/lib/dokku/plugins/enabled/elasticsearch/config
remote: +++ export ELASTICSEARCH_IMAGE=elasticsearch
remote: +++ ELASTICSEARCH_IMAGE=elasticsearch
remote: +++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: +++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: +++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ export PLUGIN_COMMAND_PREFIX=elasticsearch
remote: +++ PLUGIN_COMMAND_PREFIX=elasticsearch
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ PLUGIN_DATASTORE_PORTS=(9200 9300)
remote: +++ export PLUGIN_DATASTORE_PORTS
remote: +++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: +++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: +++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: +++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: +++ export PLUGIN_IMAGE=elasticsearch
remote: +++ PLUGIN_IMAGE=elasticsearch
remote: +++ export PLUGIN_IMAGE_VERSION=2.1.1
remote: +++ PLUGIN_IMAGE_VERSION=2.1.1
remote: +++ export PLUGIN_SCHEME=http
remote: +++ PLUGIN_SCHEME=http
remote: +++ export PLUGIN_SERVICE=Elasticsearch
remote: +++ PLUGIN_SERVICE=Elasticsearch
remote: ++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: + source /var/lib/dokku/plugins/enabled/elasticsearch/config
remote: ++ export ELASTICSEARCH_IMAGE=elasticsearch
remote: ++ ELASTICSEARCH_IMAGE=elasticsearch
remote: ++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: ++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: ++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ export PLUGIN_COMMAND_PREFIX=elasticsearch
remote: ++ PLUGIN_COMMAND_PREFIX=elasticsearch
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ PLUGIN_DATASTORE_PORTS=(9200 9300)
remote: ++ export PLUGIN_DATASTORE_PORTS
remote: ++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: ++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: ++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: ++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: ++ export PLUGIN_IMAGE=elasticsearch
remote: ++ PLUGIN_IMAGE=elasticsearch
remote: ++ export PLUGIN_IMAGE_VERSION=2.1.1
remote: ++ PLUGIN_IMAGE_VERSION=2.1.1
remote: ++ export PLUGIN_SCHEME=http
remote: ++ PLUGIN_SCHEME=http
remote: ++ export PLUGIN_SERVICE=Elasticsearch
remote: ++ PLUGIN_SERVICE=Elasticsearch
remote: + [[ git-build == elasticsearch:* ]]
remote: + [[ -d /var/lib/dokku/services/elasticsearch/* ]]
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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/fake_sns/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins
remote: + [[ -n 1 ]]
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
remote: + source /var/lib/dokku/plugins/enabled/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: + source /var/lib/dokku/plugins/enabled/fake_sns/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: ++ source /var/lib/dokku/plugins/enabled/fake_sns/config
remote: +++ export FAKESNS_IMAGE=feathj/fake-sns
remote: +++ FAKESNS_IMAGE=feathj/fake-sns
remote: +++ export FAKESNS_IMAGE_VERSION=latest
remote: +++ FAKESNS_IMAGE_VERSION=latest
remote: +++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: +++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: +++ export PLUGIN_COMMAND_PREFIX=sns
remote: +++ PLUGIN_COMMAND_PREFIX=sns
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: +++ PLUGIN_DATASTORE_PORTS=(9292)
remote: +++ export PLUGIN_DATASTORE_PORTS
remote: +++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: +++ PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: +++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: +++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: +++ export PLUGIN_IMAGE=feathj/fake-sns
remote: +++ PLUGIN_IMAGE=feathj/fake-sns
remote: +++ export PLUGIN_IMAGE_VERSION=latest
remote: +++ PLUGIN_IMAGE_VERSION=latest
remote: +++ export PLUGIN_SCHEME=http
remote: +++ PLUGIN_SCHEME=http
remote: +++ export PLUGIN_SERVICE=Fakesns
remote: +++ PLUGIN_SERVICE=Fakesns
remote: ++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: + source /var/lib/dokku/plugins/enabled/fake_sns/config
remote: ++ export FAKESNS_IMAGE=feathj/fake-sns
remote: ++ FAKESNS_IMAGE=feathj/fake-sns
remote: ++ export FAKESNS_IMAGE_VERSION=latest
remote: ++ FAKESNS_IMAGE_VERSION=latest
remote: ++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: ++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: ++ export PLUGIN_COMMAND_PREFIX=sns
remote: ++ PLUGIN_COMMAND_PREFIX=sns
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: ++ PLUGIN_DATASTORE_PORTS=(9292)
remote: ++ export PLUGIN_DATASTORE_PORTS
remote: ++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: ++ PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: ++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: ++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: ++ export PLUGIN_IMAGE=feathj/fake-sns
remote: ++ PLUGIN_IMAGE=feathj/fake-sns
remote: ++ export PLUGIN_IMAGE_VERSION=latest
remote: ++ PLUGIN_IMAGE_VERSION=latest
remote: ++ export PLUGIN_SCHEME=http
remote: ++ PLUGIN_SCHEME=http
remote: ++ export PLUGIN_SERVICE=Fakesns
remote: ++ PLUGIN_SERVICE=Fakesns
remote: + [[ git-build == sns:* ]]
remote: + [[ -d /var/lib/dokku/services/fakesns/* ]]
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-build samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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: + case "$1" in
remote: + APP=samson
remote: + APP_BUILD_LOCK=/home/dokku/samson/.build.lock
remote: + APP_BUILD_LOCK_MSG='samson is currently being deployed or locked. Waiting...'
remote: ++ flock -n /home/dokku/samson/.build.lock true
remote: ++ echo 0
remote: + [[ 0 -ne 0 ]]
remote: + shift 1
remote: + flock -o /home/dokku/samson/.build.lock dokku git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ git-build-locked =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-build-locked =~ plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=dczinke
remote: + SSH_NAME=dczinke
remote: + plugn trigger user-auth dokku dczinke git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + return 0
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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/backup/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/deployment-keys/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + APP=samson
remote: + APP_SPECIFIC_KEY_FOLDER=/home/dokku/.deployment-keys/samson/.ssh
remote: + SHARED_KEY_FOLDER=/home/dokku/.deployment-keys/shared/.ssh
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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/elasticsearch/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins
remote: + [[ -n 1 ]]
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
remote: + source /var/lib/dokku/plugins/enabled/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: + source /var/lib/dokku/plugins/enabled/elasticsearch/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: ++ source /var/lib/dokku/plugins/enabled/elasticsearch/config
remote: +++ export ELASTICSEARCH_IMAGE=elasticsearch
remote: +++ ELASTICSEARCH_IMAGE=elasticsearch
remote: +++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: +++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: +++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ export PLUGIN_COMMAND_PREFIX=elasticsearch
remote: +++ PLUGIN_COMMAND_PREFIX=elasticsearch
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: +++ PLUGIN_DATASTORE_PORTS=(9200 9300)
remote: +++ export PLUGIN_DATASTORE_PORTS
remote: +++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: +++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: +++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: +++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: +++ export PLUGIN_IMAGE=elasticsearch
remote: +++ PLUGIN_IMAGE=elasticsearch
remote: +++ export PLUGIN_IMAGE_VERSION=2.1.1
remote: +++ PLUGIN_IMAGE_VERSION=2.1.1
remote: +++ export PLUGIN_SCHEME=http
remote: +++ PLUGIN_SCHEME=http
remote: +++ export PLUGIN_SERVICE=Elasticsearch
remote: +++ PLUGIN_SERVICE=Elasticsearch
remote: ++ dirname /var/lib/dokku/plugins/enabled/elasticsearch/commands
remote: + source /var/lib/dokku/plugins/enabled/elasticsearch/config
remote: ++ export ELASTICSEARCH_IMAGE=elasticsearch
remote: ++ ELASTICSEARCH_IMAGE=elasticsearch
remote: ++ export ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: ++ ELASTICSEARCH_IMAGE_VERSION=2.1.1
remote: ++ export ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ ELASTICSEARCH_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ export PLUGIN_COMMAND_PREFIX=elasticsearch
remote: ++ PLUGIN_COMMAND_PREFIX=elasticsearch
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/elasticsearch
remote: ++ PLUGIN_DATASTORE_PORTS=(9200 9300)
remote: ++ export PLUGIN_DATASTORE_PORTS
remote: ++ export PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: ++ PLUGIN_DEFAULT_ALIAS=ELASTICSEARCH
remote: ++ export PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: ++ PLUGIN_ALT_ALIAS=DOKKU_ELASTICSEARCH
remote: ++ export PLUGIN_IMAGE=elasticsearch
remote: ++ PLUGIN_IMAGE=elasticsearch
remote: ++ export PLUGIN_IMAGE_VERSION=2.1.1
remote: ++ PLUGIN_IMAGE_VERSION=2.1.1
remote: ++ export PLUGIN_SCHEME=http
remote: ++ PLUGIN_SCHEME=http
remote: ++ export PLUGIN_SERVICE=Elasticsearch
remote: ++ PLUGIN_SERVICE=Elasticsearch
remote: + [[ git-build-locked == elasticsearch:* ]]
remote: + [[ -d /var/lib/dokku/services/elasticsearch/* ]]
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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/fake_sns/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins
remote: + [[ -n 1 ]]
remote: + PLUGIN_BASE_PATH=/var/lib/dokku/plugins/enabled
remote: + source /var/lib/dokku/plugins/enabled/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: + source /var/lib/dokku/plugins/enabled/fake_sns/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: ++ source /var/lib/dokku/plugins/enabled/fake_sns/config
remote: +++ export FAKESNS_IMAGE=feathj/fake-sns
remote: +++ FAKESNS_IMAGE=feathj/fake-sns
remote: +++ export FAKESNS_IMAGE_VERSION=latest
remote: +++ FAKESNS_IMAGE_VERSION=latest
remote: +++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: +++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: +++ export PLUGIN_COMMAND_PREFIX=sns
remote: +++ PLUGIN_COMMAND_PREFIX=sns
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: +++ PLUGIN_DATASTORE_PORTS=(9292)
remote: +++ export PLUGIN_DATASTORE_PORTS
remote: +++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: +++ PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: +++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: +++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: +++ export PLUGIN_IMAGE=feathj/fake-sns
remote: +++ PLUGIN_IMAGE=feathj/fake-sns
remote: +++ export PLUGIN_IMAGE_VERSION=latest
remote: +++ PLUGIN_IMAGE_VERSION=latest
remote: +++ export PLUGIN_SCHEME=http
remote: +++ PLUGIN_SCHEME=http
remote: +++ export PLUGIN_SERVICE=Fakesns
remote: +++ PLUGIN_SERVICE=Fakesns
remote: ++ dirname /var/lib/dokku/plugins/enabled/fake_sns/commands
remote: + source /var/lib/dokku/plugins/enabled/fake_sns/config
remote: ++ export FAKESNS_IMAGE=feathj/fake-sns
remote: ++ FAKESNS_IMAGE=feathj/fake-sns
remote: ++ export FAKESNS_IMAGE_VERSION=latest
remote: ++ FAKESNS_IMAGE_VERSION=latest
remote: ++ export FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: ++ FAKESNS_ROOT=/var/lib/dokku/services/fakesns
remote: ++ export PLUGIN_COMMAND_PREFIX=sns
remote: ++ PLUGIN_COMMAND_PREFIX=sns
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/fakesns
remote: ++ PLUGIN_DATASTORE_PORTS=(9292)
remote: ++ export PLUGIN_DATASTORE_PORTS
remote: ++ export PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: ++ PLUGIN_DEFAULT_ALIAS=FAKESNS
remote: ++ export PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: ++ PLUGIN_ALT_ALIAS=DOKKU_FAKESNS
remote: ++ export PLUGIN_IMAGE=feathj/fake-sns
remote: ++ PLUGIN_IMAGE=feathj/fake-sns
remote: ++ export PLUGIN_IMAGE_VERSION=latest
remote: ++ PLUGIN_IMAGE_VERSION=latest
remote: ++ export PLUGIN_SCHEME=http
remote: ++ PLUGIN_SCHEME=http
remote: ++ export PLUGIN_SERVICE=Fakesns
remote: ++ PLUGIN_SERVICE=Fakesns
remote: + [[ git-build-locked == sns:* ]]
remote: + [[ -d /var/lib/dokku/services/fakesns/* ]]
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-build-locked samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
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: + case "$1" in
remote: + APP=samson
remote: + [[ 3 -ge 3 ]]
remote: + REF=7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + git_build_app_repo samson 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + verify_app_name samson
remote: + local APP=samson
remote: + [[ ! -n samson ]]
remote: + [[ ! samson =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/samson ]]
remote: + return 0
remote: + APP=samson
remote: + REV=7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: ++ mktemp -d
remote: + TMP_WORK_DIR=/tmp/tmp.Ao5ki7SoOP
remote: + trap 'rm -rf "$TMP_WORK_DIR" > /dev/null' RETURN
remote: + TMP_TAG=dokku/7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + chmod 755 /tmp/tmp.Ao5ki7SoOP
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/tmp.Ao5ki7SoOP
remote: + [[ ! -d /home/dokku/samson ]]
remote: + GIT_DIR=/home/dokku/samson
remote: + git tag -d dokku/7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + true
remote: + GIT_DIR=/home/dokku/samson
remote: + git tag dokku/7cbe4ad682c54482f03bd11e527923241fe6bf86 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + git init
remote: + git config advice.detachedHead false
remote: + git remote add origin /home/dokku/samson
remote: + git fetch --depth=1 origin refs/tags/dokku/7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + git reset --hard FETCH_HEAD
remote: + git submodule update --init --recursive
remote: + GIT_DIR=/home/dokku/samson
remote: + git tag -d dokku/7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + [[ -f Dockerfile ]]
remote: ++ [[ -f .env ]]
remote: ++ echo 1
remote: + [[ 1 != \0 ]]
remote: + [[ ! -f .buildpacks ]]
remote: + plugn trigger pre-receive-app samson dockerfile /tmp/tmp.Ao5ki7SoOP 7cbe4ad682c54482f03bd11e527923241fe6bf86
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + dokku receive samson dockerfile /tmp/tmp.Ao5ki7SoOP
/'
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args receive samson dockerfile /tmp/tmp.Ao5ki7SoOP
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ receive =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ receive =~ plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth receive samson dockerfile /tmp/tmp.Ao5ki7SoOP
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=dczinke
remote: + SSH_NAME=dczinke
remote: + plugn trigger user-auth dokku dczinke receive samson dockerfile /tmp/tmp.Ao5ki7SoOP
remote: + return 0
remote: + case "$1" in
remote: + APP=samson
remote: ++ get_app_image_name samson
remote: ++ local APP=samson
remote: ++ local IMAGE_TAG=
remote: +++ get_app_image_repo samson
remote: +++ local APP=samson
remote: +++ local IMAGE_REPO=dokku/samson
remote: +++ [[ -z samson ]]
remote: +++ echo dokku/samson
remote: ++ local IMAGE_REPO=dokku/samson
remote: ++ [[ -z samson ]]
remote: ++ [[ -n '' ]]
remote: ++ IMAGE=dokku/samson:latest
remote: ++ echo dokku/samson:latest
remote: + IMAGE=dokku/samson:latest
remote: + IMAGE_SOURCE_TYPE=dockerfile
remote: + TMP_WORK_DIR=/tmp/tmp.Ao5ki7SoOP
remote: + [[ -z '' ]]
remote: + dokku_log_info1 'Cleaning up...'
remote: + echo '-----> Cleaning up...'
remote: + docker_cleanup
-----> Cleaning up...
remote: ++ docker ps -a -f status=exited -q
remote: + docker rm
remote: + true
remote: ++ docker ps -a -f status=dead -q
remote: + docker rm
remote: + true
remote: + dokku_log_info1 'Building samson from dockerfile...'
remote: + echo '-----> Building samson from dockerfile...'
remote: + dokku build samson dockerfile /tmp/tmp.Ao5ki7SoOP
-----> Building samson from dockerfile...
remote: ++ docker images -f dangling=true -q
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args build samson dockerfile /tmp/tmp.Ao5ki7SoOP
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + docker rmi 6f9464aac0c6 db8f5e26d953 16d6bec35a01 f44a2ba2cbc1 3555cb4bb9be cf8b65449f90
remote: + [[ build =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ build =~ plugin:.* ]]
remote: + [[ -n '' ]]
remote: + dokku_auth build samson dockerfile /tmp/tmp.Ao5ki7SoOP
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=dczinke
remote: + SSH_NAME=dczinke
remote: + plugn trigger user-auth dokku dczinke build samson dockerfile /tmp/tmp.Ao5ki7SoOP
remote: + return 0
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands build samson dockerfile /tmp/tmp.Ao5ki7SoOP
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/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: + case "$1" in
remote: + APP=samson
remote: + IMAGE_SOURCE_TYPE=dockerfile
remote: + TMP_WORK_DIR=/tmp/tmp.Ao5ki7SoOP
remote: ++ get_app_image_name samson
remote: ++ local APP=samson
remote: ++ local IMAGE_TAG=
remote: +++ get_app_image_repo samson
remote: +++ local APP=samson
remote: +++ local IMAGE_REPO=dokku/samson
remote: +++ [[ -z samson ]]
remote: +++ echo dokku/samson
remote: ++ local IMAGE_REPO=dokku/samson
remote: ++ [[ -z samson ]]
remote: ++ [[ -n '' ]]
remote: ++ IMAGE=dokku/samson:latest
remote: ++ echo dokku/samson:latest
remote: + IMAGE=dokku/samson:latest
remote: + verify_app_name samson
remote: + local APP=samson
remote: + [[ ! -n samson ]]
remote: + [[ ! samson =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/samson ]]
remote: + return 0
remote: + CACHE_DIR=/home/dokku/samson/cache
remote: ++ config_export app samson
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=samson
remote: ++ local ENV_FILE=/home/dokku/samson/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/samson/ENV ]]
remote: ++ [[ ! -s /home/dokku/samson/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/samson/ENV
remote: ++ VARS='BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: MYSQL_URL='\''$DATABASE_URL'\''
remote: RAILS_ENV='\''production'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: MYSQL_URL='\''$DATABASE_URL'\''
remote: RAILS_ENV='\''production'\'''
remote: ++ return 0
remote: + eval 'export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\'''
remote: ++ export BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby
remote: ++ BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby
remote: ++ export DATABASE_URL=mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson
remote: ++ DATABASE_URL=mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson
remote: ++ export 'MYSQL_URL=$DATABASE_URL'
remote: ++ MYSQL_URL='$DATABASE_URL'
remote: ++ export RAILS_ENV=production
remote: ++ RAILS_ENV=production
remote: + pushd /tmp/tmp.Ao5ki7SoOP
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ get_dockerfile_exposed_port Dockerfile
remote: +++ sed 's/EXPOSE \+\([[:digit:]]\+\)\(\/tcp\)\?.*/\1/'
remote: +++ head -1
remote: +++ grep '^EXPOSE \+[[:digit:]]\+\(\/tcp\)\? *$' Dockerfile
remote: ++ local DOCKERFILE_PORT=9080
remote: ++ echo 9080
remote: + DOCKERFILE_PORT=9080
remote: + [[ -n 9080 ]]
remote: + config_set --no-restart samson DOKKU_DOCKERFILE_PORT=9080
remote: + [[ --no-restart == \c\o\n\f\i\g\:\s\e\t ]]
remote: + set -- config:set --no-restart samson DOKKU_DOCKERFILE_PORT=9080
remote: + config_parse_args config:set --no-restart samson DOKKU_DOCKERFILE_PORT=9080
remote: + case "$2" in
remote: + APP=samson
remote: + ENV_FILE=/home/dokku/samson/ENV
remote: + DOKKU_CONFIG_RESTART=false
remote: + DOKKU_CONFIG_TYPE=app
remote: + set -- config:set samson DOKKU_DOCKERFILE_PORT=9080
remote: + APP=samson
remote: + ENV_FILE=/home/dokku/samson/ENV
remote: + DOKKU_CONFIG_TYPE=app
remote: + DOKKU_CONFIG_RESTART=false
remote: + [[ app = \a\p\p ]]
remote: + [[ -z samson ]]
remote: + verify_app_name samson
remote: + local APP=samson
remote: + [[ ! -n samson ]]
remote: + [[ ! samson =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/samson ]]
remote: + return 0
remote: + export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART
remote: + [[ --no-restart = \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: + set -- config:set samson DOKKU_DOCKERFILE_PORT=9080
remote: + [[ -z DOKKU_DOCKERFILE_PORT=9080 ]]
remote: + config_create /home/dokku/samson/ENV
remote: + local ENV_FILE=/home/dokku/samson/ENV
remote: + [[ -f /home/dokku/samson/ENV ]]
remote: + ENV_ADD=
remote: ++ cat /home/dokku/samson/ENV
remote: + ENV_TEMP='export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\'''
remote: + RESTART_APP=false
remote: + shift 2
remote: + for var in '"$@"'
remote: + [[ DOKKU_DOCKERFILE_PORT=9080 != *\=* ]]
remote: + for var in '"$@"'
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_DOCKERFILE_PORT=9080
remote: + KEY=DOKKU_DOCKERFILE_PORT
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_DOCKERFILE_PORT=9080
remote: + VALUE=9080
remote: + [[ DOKKU_DOCKERFILE_PORT =~ [a-zA-Z_][a-zA-Z0-9_]* ]]
remote: + RESTART_APP=true
remote: ++ sed '/^export DOKKU_DOCKERFILE_PORT=/ d'
remote: ++ echo 'export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\'''
remote: + ENV_TEMP='export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\'''
remote: + ENV_TEMP='export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\''
remote: export DOKKU_DOCKERFILE_PORT='\''9080'\'''
remote: ++ sed '/^DOKKU_DOCKERFILE_PORT=/ d'
remote: ++ echo -e ''
remote: + ENV_ADD=
remote: + ENV_ADD='$
remote: DOKKU_DOCKERFILE_PORT=9080'
remote: ++ tail -n +2
remote: ++ echo '$
remote: DOKKU_DOCKERFILE_PORT=9080'
remote: + ENV_ADD=DOKKU_DOCKERFILE_PORT=9080
remote: + [[ -n true ]]
remote: + dokku_log_info1 'Setting config vars'
remote: + echo '-----> Setting config vars'
remote: + config_styled_hash DOKKU_DOCKERFILE_PORT=9080 ' '
remote: + local vars=DOKKU_DOCKERFILE_PORT=9080
remote: + local 'prefix= '
remote: + local longest=
remote: + read -r word
-----> Setting config vars
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_DOCKERFILE_PORT=9080
remote: + KEY=DOKKU_DOCKERFILE_PORT
remote: + [[ 21 -gt 0 ]]
remote: + longest=DOKKU_DOCKERFILE_PORT
remote: + read -r word
remote: + read -r word
remote: ++ cut -d= -f1
remote: ++ echo DOKKU_DOCKERFILE_PORT=9080
remote: + KEY=DOKKU_DOCKERFILE_PORT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//' -e 's/$$//g'
remote: ++ cut -d= -f2-
remote: ++ echo DOKKU_DOCKERFILE_PORT=9080
remote: + VALUE=9080
remote: + num_zeros=0
remote: + zeros=' '
remote: + [[ 0 -gt 0 ]]
remote: + echo ' DOKKU_DOCKERFILE_PORT: 9080'
remote: + read -r word
remote: + config_write 'export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\''
remote: export DOKKU_DOCKERFILE_PORT='\''9080'\'''
remote: + local 'ENV_TEMP=export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\''
remote: export DOKKU_DOCKERFILE_PORT='\''9080'\'''
remote: + local ENV_FILE_TEMP=/home/dokku/samson/ENV.tmp
DOKKU_DOCKERFILE_PORT: 9080
remote: + sort
remote: + sed '/^$/d'
remote: + echo 'export BUILDPACK_URL='\''https://github.com/heroku/heroku-buildpack-ruby'\''
remote: export DATABASE_URL='\''mysql://mysql:f446e594b56a15e4@dokku-mysql-samson:3306/samson'\''
remote: export MYSQL_URL='\''$DATABASE_URL'\''
remote: export RAILS_ENV='\''production'\''
remote: export DOKKU_DOCKERFILE_PORT='\''9080'\'''
remote: + cmp -s /home/dokku/samson/ENV /home/dokku/samson/ENV.tmp
remote: + cp -f /home/dokku/samson/ENV.tmp /home/dokku/samson/ENV
remote: + chmod 600 /home/dokku/samson/ENV
remote: + rm -f /home/dokku/samson/ENV.tmp
remote: + plugn trigger post-config-update samson set DOKKU_DOCKERFILE_PORT=9080
^CKilled by signal 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment