dokku: Git fatal error on deploy "ref updates forbidden inside quarantine environment"
Description of problem: When I try to deploy an app I receive an error from git due to ref update in the quarantine environnement declining the pre-receive hook and cancelling the deployment.
Small Error:
$ git push dokku master
Counting objects: 8, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 1.44 KiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: master
remote: Preparing /tmp/dokku_git.5jdd (identifier dokku_git.5jdd)
remote: fatal: update_ref failed for ref 'HEAD': ref updates forbidden inside quarantine environment
To domain.me:testapp
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@domain.me:testapp'
Output of the following commands
$ dokku report
-----> uname:
Linux BMO 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 1876 140 480 14 1255 1538
Swap: 1846 0 1846
-----> docker version:
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.8.1
Git commit: 89658bed64
Built: Fri May 5 22:40:58 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.8.1
Git commit: 89658bed64
Built: Fri May 5 22:40:58 2017
OS/Arch: linux/amd64
Experimental: false
-----> docker daemon info:
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 4
Server Version: 17.05.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.11.3-1-ARCH
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.833GiB
Name: BMO
ID: 6B7H:ZKOF:LK55:L3DY:UOIB:VN7Q:NB4B:ABST:ZM35:CFAY:FP2U:4EVN
Docker Root Dir: /var/lib/docker
Debug Mode (client): true
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
-----> sigil version: 0.4.0 -----> herokuish version:
herokuish: 0.3.29
buildpacks:
heroku-buildpack-multi v1.0.0
heroku-buildpack-ruby v159
heroku-buildpack-nodejs v99
heroku-buildpack-clojure v76
heroku-buildpack-python v99
heroku-buildpack-java v51
heroku-buildpack-gradle v21
heroku-buildpack-grails v21
heroku-buildpack-scala v76
heroku-buildpack-play v26
heroku-buildpack-php v121
heroku-buildpack-go v64
heroku-buildpack-erlang fa17af9
buildpack-nginx v8
-----> dokku version: 0.9.3 -----> dokku plugins:
! Deprecated: Please use plugin:list
plugn: 0.3.0
00_dokku-standard 0.9.3 enabled dokku core standard plugin
20_events 0.9.3 enabled dokku core events logging plugin
apps 0.9.3 enabled dokku core apps plugin
build-env 0.9.3 enabled dokku core build-env plugin
certs 0.9.3 enabled dokku core certificate management plugin
checks 0.9.3 enabled dokku core checks plugin
common 0.9.3 enabled dokku core common plugin
config 0.9.3 enabled dokku core config plugin
docker-options 0.9.3 enabled dokku core docker-options plugin
domains 0.9.3 enabled dokku core domains plugin
enter 0.9.3 enabled dokku core enter plugin
git 0.9.3 enabled dokku core git plugin
logs 0.9.3 enabled dokku core logs plugin
named-containers 0.9.3 enabled dokku core named containers plugin
nginx-vhosts 0.9.3 enabled dokku core nginx-vhosts plugin
plugin 0.9.3 enabled dokku core plugin plugin
postgres 1.0.0 enabled dokku postgres service plugin
proxy 0.9.3 enabled dokku core proxy plugin
ps 0.9.3 enabled dokku core ps plugin
repo 0.9.3 enabled dokku core repo plugin
shell 0.9.3 enabled dokku core shell plugin
ssh-keys 0.9.3 enabled dokku core ssh-keys plugin
storage 0.9.3 enabled dokku core storage plugin
tags 0.9.3 enabled dokku core tags plugin
tar 0.9.3 enabled dokku core tar plugin
- Link to the exact repository being deployed (if possible/applicable): https://github.com/heroku-examples/node-socket.io(https://github.com/heroku-examples/node-socket.io)
- If a deploy is failing or behaving unexpectedly:
- Application name
- The type of application being deployed (node, php, python, ruby, etc.)
- If using buildpacks, which custom buildpacks are in use
- If using a
Dockerfile
, the contents of that file - If it exists, the contents of your
Procfile
.
- Output of failing Dokku commands after running
dokku trace on
$ git push dokku master
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo arch
+ DOKKU_DISTRO=arch
+ 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 -c 'FINGERPRINT=SHA256:P8+1PtbdRR2eqd9BZBJ5OMfHvmfeiQNqUO/8pKABkMY NAME="admin" `cat /var/dokku//.sshcommand` $SSH_ORIGINAL_COMMAND'
+ 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
+ return 0
+ args=("$@")
+ skip_arg=false
+ [[ -c =~ ^--.* ]]
+ 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 ]]
+ [[ -c =~ ^plugin:.* ]]
+ [[ -c == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ -n git-receive-pack 'testapp' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ -c =~ config-* ]]
+ [[ -c =~ docker-options* ]]
+ set -f
+ /usr/bin/dokku git-receive-pack ''\''testapp'\'''
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo arch
+ DOKKU_DISTRO=arch
+ 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 ''\''testapp'\'''
+ 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
+ return 0
+ args=("$@")
+ skip_arg=false
+ [[ 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 ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ -n '' ]]
+ dokku_auth git-receive-pack ''\''testapp'\'''
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=default
+ SSH_NAME=default
+ plugn trigger user-auth dokku default git-receive-pack ''\''testapp'\'''
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ ! -n '' ]]
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ git-receive-pack =~ (ssh-keys:add|ssh-keys:remove) ]]
+ return 0
+ case "$1" in
+ execute_dokku_cmd git-receive-pack ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ declare 'desc=catch-all for any other git-* commands'
+ local 'cmd=git-*'
++ echo ''\''testapp'\'''
++ sed 's/^\///g'
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
+ local APP=testapp
+ local APP_PATH=/var/dokku//testapp
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /var/dokku//testapp/refs ]]
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ local 'args=git-receive-pack '\''/var/dokku//testapp'\'''
+ git-shell -c 'git-receive-pack '\''/var/dokku//testapp'\'''
Counting objects: 8, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 1.44 KiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: + export DOKKU_DISTRO
remote: ++ . /etc/os-release
remote: ++ echo arch
remote: + DOKKU_DISTRO=arch
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 testapp
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 == \t\r\u\e ]]
remote: + case "$arg" in
remote: + next_index=2
remote: + for arg in "$@"
remote: + [[ false == \t\r\u\e ]]
remote: + case "$arg" in
remote: + next_index=3
remote: + return 0
remote: + args=("$@")
remote: + skip_arg=false
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: + [[ git-hook =~ ^plugin:.* ]]
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-hook testapp
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=default
remote: + SSH_NAME=default
remote: + plugn trigger user-auth dokku default git-hook testapp
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ git-hook =~ (ssh-keys:add|ssh-keys:remove) ]]
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-hook testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
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 testapp
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
remote: + local cmd=git-hook
remote: + local APP=testapp
remote: ++ git_deploy_branch testapp
remote: ++ declare 'desc=retrieve the deploy branch for a given application'
remote: ++ local cmd=git-hook
remote: ++ local APP=testapp
remote: +++ config_get testapp DOKKU_DEPLOY_BRANCH
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ testapp == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get testapp DOKKU_DEPLOY_BRANCH
remote: +++ config_parse_args config:get testapp DOKKU_DEPLOY_BRANCH
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: +++ [[ testapp == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ testapp == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ testapp == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ testapp == \-\-\s\h\e\l\l ]]
remote: +++ for var in "$@"
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get testapp DOKKU_DEPLOY_BRANCH
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 testapp DOKKU_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get testapp DOKKU_DEPLOY_BRANCH
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z testapp ]]
remote: +++ verify_app_name testapp
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=testapp
remote: +++ [[ ! -n testapp ]]
remote: +++ [[ ! testapp =~ ^[a-z].* ]]
remote: +++ [[ ! -d /var/dokku//testapp ]]
remote: +++ return 0
remote: +++ APP=testapp
remote: +++ ENV_FILE=/var/dokku//testapp/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 testapp DOKKU_DEPLOY_BRANCH
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 testapp DOKKU_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get testapp DOKKU_DEPLOY_BRANCH
remote: +++ [[ -z testapp ]]
remote: +++ config_create /var/dokku//testapp/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/var/dokku//testapp/ENV
remote: +++ [[ -f /var/dokku//testapp/ENV ]]
remote: +++ [[ ! -s /var/dokku//testapp/ENV ]]
remote: +++ return 1
remote: +++ true
remote: ++ local DOKKU_DEPLOY_BRANCH=
remote: +++ config_get --global DOKKU_DEPLOY_BRANCH
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_DEPLOY_BRANCH
remote: +++ config_parse_args config:get --global DOKKU_DEPLOY_BRANCH
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=/var/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_DEPLOY_BRANCH == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get --global DOKKU_DEPLOY_BRANCH
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_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get DOKKU_DEPLOY_BRANCH
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_DEPLOY_BRANCH
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_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get DOKKU_DEPLOY_BRANCH
remote: +++ [[ -z DOKKU_DEPLOY_BRANCH ]]
remote: +++ config_create /var/dokku//ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/var/dokku//ENV
remote: +++ [[ -f /var/dokku//ENV ]]
remote: +++ [[ ! -s /var/dokku//ENV ]]
remote: +++ return 1
remote: +++ true
remote: ++ local DOKKU_GLOBAL_DEPLOY_BRANCH=
remote: ++ [[ -n '' ]]
remote: ++ [[ -n '' ]]
remote: ++ echo master
remote: + local DOKKU_DEPLOY_BRANCH=master
remote: + git check-ref-format --branch master
remote: master
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 testapp 64ed456c97bf5df8f9b9dbe454869437c8163bea
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 testapp 64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: + declare 'desc=git receive-app plugin trigger'
remote: + local trigger=git_receive_app
remote: + local APP=testapp
remote: + local REV=64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: + [[ ! -d /var/dokku//testapp/refs ]]
remote: + acquire_app_deploy_lock testapp exclusive
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys'
remote: + local APP=testapp
remote: + verify_app_name testapp
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=testapp
remote: + [[ ! -n testapp ]]
remote: + [[ ! testapp =~ ^[a-z].* ]]
remote: + [[ ! -d /var/dokku//testapp ]]
remote: + return 0
remote: + local LOCK_TYPE=exclusive
remote: + local APP_DEPLOY_LOCK_FD=200
remote: + local APP_DEPLOY_LOCK_FILE=/var/dokku//testapp/.deploy.lock
remote: + local 'LOCK_WAITING_MSG=testapp is currently being deployed. Waiting...'
remote: + local 'LOCK_FAILED_MSG=testapp is currently being deployed. Exiting...'
remote: + local SHOW_MSG=true
remote: + eval 'exec 200>/var/dokku//testapp/.deploy.lock'
remote: ++ exec
remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
remote: + flock -n 200
remote: + git_build testapp 64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: + declare 'desc=setup and call git_build_app_repo'
remote: + local APP=testapp
remote: + [[ 2 -ge 2 ]]
remote: + local REF=64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: + git_build_app_repo testapp 64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: + declare 'desc=builds local git app repo for app'
remote: + verify_app_name testapp
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=testapp
remote: + [[ ! -n testapp ]]
remote: + [[ ! testapp =~ ^[a-z].* ]]
remote: + [[ ! -d /var/dokku//testapp ]]
remote: + return 0
remote: + local APP=testapp
remote: + local REV=64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: ++ mktemp -d /tmp/dokku_git.XXXX
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.7Akd
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT
remote: + local TMP_TAG=dokku/64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: + chmod 755 /tmp/dokku_git.7Akd
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + [[ ! -d /var/dokku//testapp ]]
remote: + use_git_worktree
remote: + declare 'desc=detects whether to use git worktree'
remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION
remote: ++ git --version
remote: ++ awk '{split($0,a," "); print a[3]}'
remote: + GIT_VERSION=2.13.0
remote: ++ echo 2.13.0
remote: ++ awk '{split($0,a,"."); print a[1]}'
remote: + MAJOR_VERSION=2
remote: ++ echo 2.13.0
remote: ++ awk '{split($0,a,"."); print a[2]}'
remote: + MINOR_VERSION=13
remote: + [[ 2 -ge 3 ]]
remote: + [[ 2 -eq 2 ]]
remote: + [[ 13 -ge 11 ]]
remote: + return 0
remote: + git worktree add /tmp/dokku_git.7Akd 64ed456c97bf5df8f9b9dbe454869437c8163bea
remote: Preparing /tmp/dokku_git.7Akd (identifier dokku_git.7Akd)
remote: fatal: update_ref failed for ref 'HEAD': ref updates forbidden inside quarantine environment
remote: + rm -rf /tmp/dokku_git.7Akd
remote: + exit_code=128
remote: + set -e
remote: + [[ 128 -eq 10 ]]
remote: + implemented=1
remote: + [[ 128 -ne 0 ]]
remote: + exit 128
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in $PLUGIN_ENABLED_PATH/*/commands
+ set +e
+ /var/lib/dokku/plugins/enabled/ssh-keys/commands git-receive-pack ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ 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 ''\''testapp'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ set +f
+ exit 0
To domain.me:testapp
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@domain.me:testapp'
Environment details (AWS, VirtualBox, physical, etc.): Physical server
How was Dokku installed?: https://github.com/dokku/dokku-arch
Additional info: git version 2.13.0
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 23 (13 by maintainers)
Commits related to this issue
- feat: allow usage of git 2.13.0+ by unsetting GIT_QUARANTINE_PATH during git worktree usage Closes #2796 — committed to dokku/dokku by josegonzalez 7 years ago
- Updated the pre-reveive hook for git 2.14+ See https://github.com/dokku/dokku/issues/2796 for details. I wanted to make minimal changes to get things running. Not sure this is a good long-term soluti... — committed to clojureverse/nebula by bombaywalla 5 years ago
- Install Clojure Web App on Vagrant (#6) * After bringing over plexus.clojure-web-app from plexus/ansible_playbooks. * Removed lein from tasks. Lein is already installed earlier. Lein "self-ins... — committed to clojureverse/nebula by bombaywalla 5 years ago
Hey, just tested that, seems like I encounter my issue only since with the git versions passed 2.13. I just tested 2.12.2-4 and the Dokku push worked perfectly. Yeah created the issue because I could not find anything anywhere about this issue. It makes sense since the first occurence of my error message in the git repo dates from last april 24th https://github.com/git/git/commit/9f1384f711e4d04d7808d4e24860b17f656b7333#diff-e3d30a16dfc234b7f6c1129955f5c0ac