Created
January 25, 2018 19:48
-
-
Save cirovladimir/03f1ad1a1b48bbe63f6abc80d94d1020 to your computer and use it in GitHub Desktop.
dokku tar deployment error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -t dokku@dokku.tribunalqro.gob.mx tar:from diju https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOKKU_IMAGE=gliderlabs/herokuish | |
+ DOKKU_IMAGE=gliderlabs/herokuish | |
+ export DOKKU_LIB_ROOT=/var/lib/dokku | |
+ DOKKU_LIB_ROOT=/var/lib/dokku | |
+ export PLUGIN_PATH=/var/lib/dokku/plugins | |
+ PLUGIN_PATH=/var/lib/dokku/plugins | |
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available | |
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available | |
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled | |
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled | |
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins | |
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins | |
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available | |
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available | |
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled | |
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled | |
+ export DOKKU_API_VERSION=1 | |
+ DOKKU_API_VERSION=1 | |
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10 | |
+ DOKKU_NOT_IMPLEMENTED_EXIT=10 | |
+ export DOKKU_VALID_EXIT=0 | |
+ DOKKU_VALID_EXIT=0 | |
+ export DOKKU_LOGS_DIR=/var/log/dokku | |
+ DOKKU_LOGS_DIR=/var/log/dokku | |
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log | |
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log | |
+ export DOKKU_CONTAINER_LABEL=dokku | |
+ DOKKU_CONTAINER_LABEL=dokku | |
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku | |
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ parse_args tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ declare 'desc=top-level cli arg parser' | |
+ local next_index=1 | |
+ local skip=false | |
+ args=("$@") | |
+ local args | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ next_index=2 | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ next_index=3 | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ next_index=4 | |
+ return 0 | |
+ args=("$@") | |
+ skip_arg=false | |
+ [[ tar:from =~ ^--.* ]] | |
+ has_tty | |
+ declare 'desc=return 0 if we have a tty' | |
++ /usr/bin/tty | |
+ [[ /dev/pts/1 == \n\o\t\ \a\ \t\t\y ]] | |
+ return 0 | |
++ id -un | |
+ [[ dokku != \d\o\k\k\u ]] | |
+ [[ tar:from =~ ^plugin:.* ]] | |
+ [[ tar:from == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ -n tar:from diju https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download ]] | |
+ export -n SSH_ORIGINAL_COMMAND | |
+ [[ tar:from =~ config-* ]] | |
+ [[ tar:from =~ docker-options* ]] | |
+ set -f | |
+ /usr/bin/dokku tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOKKU_IMAGE=gliderlabs/herokuish | |
+ DOKKU_IMAGE=gliderlabs/herokuish | |
+ export DOKKU_LIB_ROOT=/var/lib/dokku | |
+ DOKKU_LIB_ROOT=/var/lib/dokku | |
+ export PLUGIN_PATH=/var/lib/dokku/plugins | |
+ PLUGIN_PATH=/var/lib/dokku/plugins | |
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available | |
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available | |
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled | |
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled | |
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins | |
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins | |
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available | |
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available | |
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled | |
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled | |
+ export DOKKU_API_VERSION=1 | |
+ DOKKU_API_VERSION=1 | |
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10 | |
+ DOKKU_NOT_IMPLEMENTED_EXIT=10 | |
+ export DOKKU_VALID_EXIT=0 | |
+ DOKKU_VALID_EXIT=0 | |
+ export DOKKU_LOGS_DIR=/var/log/dokku | |
+ DOKKU_LOGS_DIR=/var/log/dokku | |
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log | |
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log | |
+ export DOKKU_CONTAINER_LABEL=dokku | |
+ DOKKU_CONTAINER_LABEL=dokku | |
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku | |
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ parse_args tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ declare 'desc=top-level cli arg parser' | |
+ local next_index=1 | |
+ local skip=false | |
+ args=("$@") | |
+ local args | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ next_index=2 | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ next_index=3 | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ next_index=4 | |
+ return 0 | |
+ args=("$@") | |
+ skip_arg=false | |
+ [[ tar:from =~ ^--.* ]] | |
+ has_tty | |
+ declare 'desc=return 0 if we have a tty' | |
++ /usr/bin/tty | |
+ [[ /dev/pts/1 == \n\o\t\ \a\ \t\t\y ]] | |
+ return 0 | |
++ id -un | |
+ [[ dokku != \d\o\k\k\u ]] | |
+ [[ tar:from =~ ^plugin:.* ]] | |
+ [[ tar:from == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ -n '' ]] | |
+ dokku_auth tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ declare 'desc=calls user-auth plugin trigger' | |
+ export SSH_USER=dokku | |
+ SSH_USER=dokku | |
+ export SSH_NAME=admin1 | |
+ SSH_NAME=admin1 | |
+ plugn trigger user-auth dokku admin1 tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ [[ ! -n '' ]] | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ [[ tar:from =~ (ssh-keys:add|ssh-keys:remove) ]] | |
+ return 0 | |
+ case "$1" in | |
+ execute_dokku_cmd tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ declare 'desc=executes dokku sub-commands' | |
+ local PLUGIN_NAME=tar:from | |
+ local PLUGIN_CMD=tar:from | |
+ local implemented=0 | |
+ local script | |
+ argv=("$@") | |
+ local argv | |
+ case "$PLUGIN_NAME" in | |
++ readlink -f /var/lib/dokku/plugins/enabled/tar | |
+ [[ /var/lib/dokku/core-plugins/available/tar == *core-plugins* ]] | |
+ [[ tar:from == \t\a\r\:\f\r\o\m ]] | |
+ shift 1 | |
+ [[ ! -z '' ]] | |
+ set -- tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ [[ -x /var/lib/dokku/plugins/enabled/tar:from/subcommands/default ]] | |
+ [[ -x /var/lib/dokku/plugins/enabled/tar:from/subcommands/tar:from ]] | |
+ [[ -x /var/lib/dokku/plugins/enabled/tar/subcommands/from ]] | |
+ /var/lib/dokku/plugins/enabled/tar/subcommands/from tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ source /var/lib/dokku/plugins/available/tar/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
++ source /var/lib/dokku/core-plugins/available/common/functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
+ tar_from_cmd tar:from diju 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ declare 'desc=deploys app from tarball at URL via command line' | |
+ local cmd=tar:from | |
+ verify_app_name diju | |
+ declare 'desc=verify app name format and app existence' | |
+ local APP=diju | |
+ [[ ! -n diju ]] | |
+ [[ ! diju =~ ^[a-z].* ]] | |
+ [[ ! -d /home/dokku/diju ]] | |
+ return 0 | |
+ local APP=diju | |
+ local 'URL=https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ shift 3 | |
+ tar_in_cmd tar:in diju | |
+ declare 'desc=deploys app from tarball on STDIN via command line' | |
+ local cmd=tar:in | |
+ local APP=diju | |
+ verify_app_name diju | |
+ declare 'desc=verify app name format and app existence' | |
+ local APP=diju | |
+ [[ ! -n diju ]] | |
+ [[ ! diju =~ ^[a-z].* ]] | |
+ [[ ! -d /home/dokku/diju ]] | |
+ return 0 | |
+ curl -# --insecure -L 'https://doc-10-5c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8teu0ota7flt4qdut9sp4a1iv1r9im60/1516903200000/02442212453094901720/*/1-KzTopFFBY137NBrDNooNuvN9SUTBi2W?e=download' | |
+ wc -c | |
+ tee /home/dokku/diju/src.tar | |
######################################################################## 100.0% | |
75570688 | |
+ plugn trigger receive-app diju | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ [[ ! -n '' ]] | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ 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 | |
+ git_receive_app diju | |
+ declare 'desc=git receive-app plugin trigger' | |
+ local trigger=git_receive_app | |
+ local APP=diju | |
+ local REV= | |
+ [[ ! -d /home/dokku/diju/refs ]] | |
+ acquire_app_deploy_lock diju exclusive | |
+ declare 'desc=acquire advisory lock for use in git/tar deploys' | |
+ local APP=diju | |
+ verify_app_name diju | |
+ declare 'desc=verify app name format and app existence' | |
+ local APP=diju | |
+ [[ ! -n diju ]] | |
+ [[ ! diju =~ ^[a-z].* ]] | |
+ [[ ! -d /home/dokku/diju ]] | |
+ return 0 | |
+ local LOCK_TYPE=exclusive | |
+ local APP_DEPLOY_LOCK_FD=200 | |
+ local APP_DEPLOY_LOCK_FILE=/home/dokku/diju/.deploy.lock | |
+ local 'LOCK_WAITING_MSG=diju is currently being deployed. Waiting...' | |
+ local 'LOCK_FAILED_MSG=diju is currently being deployed. Exiting...' | |
+ local SHOW_MSG=true | |
+ eval 'exec 200>/home/dokku/diju/.deploy.lock' | |
++ exec | |
+ [[ exclusive == \w\a\i\t\i\n\g ]] | |
+ flock -n 200 | |
+ git_build diju | |
+ declare 'desc=setup and call git_build_app_repo' | |
+ local APP=diju | |
+ [[ 1 -ge 2 ]] | |
/var/lib/dokku/plugins/available/git/functions: line 142: /home/dokku/diju/refs/heads/master: No such file or directory | |
+ local REF= | |
+ git_build_app_repo diju | |
+ declare 'desc=builds local git app repo for app' | |
+ verify_app_name diju | |
+ declare 'desc=verify app name format and app existence' | |
+ local APP=diju | |
+ [[ ! -n diju ]] | |
+ [[ ! diju =~ ^[a-z].* ]] | |
+ [[ ! -d /home/dokku/diju ]] | |
+ return 0 | |
+ local APP=diju | |
+ local REV= | |
++ mktemp -d /tmp/dokku_git.XXXX | |
+ local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.lc8E | |
+ trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT | |
+ local TMP_TAG=dokku/ | |
+ chmod 755 /tmp/dokku_git.lc8E | |
+ unset GIT_DIR GIT_WORK_TREE | |
+ [[ ! -d /home/dokku/diju ]] | |
+ use_git_worktree | |
+ declare 'desc=detects whether to use git worktree' | |
+ local GIT_VERSION MAJOR_VERSION MINOR_VERSION | |
++ awk '{split($0,a," "); print a[3]}' | |
++ git --version | |
+ GIT_VERSION=2.7.4 | |
++ awk '{split($0,a,"."); print a[1]}' | |
++ echo 2.7.4 | |
+ MAJOR_VERSION=2 | |
++ awk '{split($0,a,"."); print a[2]}' | |
++ echo 2.7.4 | |
+ MINOR_VERSION=7 | |
+ [[ 2 -ge 3 ]] | |
+ [[ 2 -eq 2 ]] | |
+ [[ 7 -ge 11 ]] | |
+ return 1 | |
+ pushd /tmp/dokku_git.lc8E | |
+ GIT_DIR=/home/dokku/diju | |
+ git tag -d dokku/ | |
+ true | |
+ GIT_DIR=/home/dokku/diju | |
+ git tag dokku/ '' | |
+ rm -rf /tmp/dokku_git.lc8E | |
Connection to dokku.tribunalqro.gob.mx closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment