Skip to content

Instantly share code, notes, and snippets.

@andrewsomething
Created December 17, 2014 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewsomething/a82566e13181708f350f to your computer and use it in GitHub Desktop.
Save andrewsomething/a82566e13181708f350f to your computer and use it in GitHub Desktop.
$ git push deploy
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ -n git-receive-pack 'nodejs' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ /usr/local/bin/dokku git-receive-pack ''\''nodejs'\'''
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ -n '' ]]
+ case "$1" in
+ implemented=0
++ ls -d /var/lib/dokku/plugins/00_dokku-standard/commands /var/lib/dokku/plugins/apps/commands /var/lib/dokku/plugins/backup/commands /var/lib/dokku/plugins/config/commands /var/lib/dokku/plugins/domains/commands /var/lib/dokku/plugins/git/commands /var/lib/dokku/plugins/nginx-vhosts/commands
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/00_dokku-standard/commands git-receive-pack ''\''nodejs'\'''
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/apps/commands git-receive-pack ''\''nodejs'\'''
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/backup/commands git-receive-pack ''\''nodejs'\'''
+ CURRENT_BACKUP_VERSION=1
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/config/commands git-receive-pack ''\''nodejs'\'''
+ ENV_FILE='/home/dokku/'\''nodejs'\''/ENV'
+ ENV_FILE_TEMP='/home/dokku/'\''nodejs'\''/ENV.tmp'
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/domains/commands git-receive-pack ''\''nodejs'\'''
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/git/commands git-receive-pack ''\''nodejs'\'''
+ case "$1" in
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
++ echo ''\''nodejs'\'''
+ APP=nodejs
+ APP_PATH=/home/dokku/nodejs
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/nodejs/refs ]]
+ git init --bare /home/dokku/nodejs
+ PRERECEIVE_HOOK=/home/dokku/nodejs/hooks/pre-receive
+ cat
+ chmod +x /home/dokku/nodejs/hooks/pre-receive
+ args='git-receive-pack '\''nodejs'\'''
+ git-shell -c 'git-receive-pack '\''nodejs'\'''
Counting objects: 378, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (304/304), done.
Writing objects: 100% (378/378), 209.95 KiB | 0 bytes/s, done.
Total 378 (delta 45), reused 378 (delta 45)
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: ++ ls -d /var/lib/dokku/plugins/00_dokku-standard/commands /var/lib/dokku/plugins/apps/commands /var/lib/dokku/plugins/backup/commands /var/lib/dokku/plugins/config/commands /var/lib/dokku/plugins/domains/commands /var/lib/dokku/plugins/git/commands /var/lib/dokku/plugins/nginx-vhosts/commands
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-hook nodejs
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-hook nodejs
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-hook nodejs
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-hook nodejs
remote: + ENV_FILE=/home/dokku/nodejs/ENV
remote: + ENV_FILE_TEMP=/home/dokku/nodejs/ENV.tmp
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-hook nodejs
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-hook nodejs
remote: + case "$1" in
remote: + APP=nodejs
remote: + read oldrev newrev refname
remote: + [[ refs/heads/master = \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
/'
remote: + dokku receive nodejs
remote: + git_archive_all nodejs 97a7c5c95bf4cfc573ba611c3259210d686467de
remote: + APP=nodejs
remote: + REV=97a7c5c95bf4cfc573ba611c3259210d686467de
remote: ++ id -un
remote: ++ mktemp -d
remote: + TMP_WORK_DIR=/tmp/tmp.fmTNLE11i8
remote: + chmod 755 /tmp/tmp.fmTNLE11i8
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + APP=nodejs
remote: + IMAGE=dokku/nodejs
remote: + echo '-----> Cleaning up ...'
-----> Cleaning up ...
remote: + dokku cleanup
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + git clone -q /home/dokku/nodejs /tmp/tmp.fmTNLE11i8
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + echo '-----> Building nodejs ...'
-----> Building nodejs ...
remote: + docker images
remote: + grep '<none>'
remote: + cat
remote: + awk '{print $3}'
remote: + xargs docker rmi
remote: + dokku build nodejs
remote: + xargs docker rm
remote: + awk '{print $1}'
remote: + grep Exit
remote: + docker ps -a
remote: + pushd /tmp/tmp.fmTNLE11i8
remote: + git config advice.detachedHead false
remote: ++ id -un
remote: + git checkout 97a7c5c95bf4cfc573ba611c3259210d686467de
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + APP=nodejs
remote: + IMAGE=dokku/nodejs
remote: + CACHE_DIR=/home/dokku/nodejs/cache
remote: ++ docker run -i -a stdin progrium/buildstep /bin/bash -c 'mkdir -p /app && tar -xC /app'
remote: ++ cat
remote: + git submodule update --init --recursive
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + tar c .
remote: + popd
remote: + rm -rf /tmp/tmp.fmTNLE11i8
remote: + id=eba6993af675394184056f1ec2465884b649a9770ada41c8017f32f09488b006
remote: ++ docker wait eba6993af675394184056f1ec2465884b649a9770ada41c8017f32f09488b006
remote: + test 0 -eq 0
remote: + docker commit eba6993af675394184056f1ec2465884b649a9770ada41c8017f32f09488b006 dokku/nodejs
remote: + [[ -d /home/dokku/nodejs/cache ]]
remote: + mkdir /home/dokku/nodejs/cache
remote: + pluginhook pre-build nodejs
remote: + APP=nodejs
remote: + IMAGE=dokku/nodejs
remote: + BUILD_ENV=
remote: + [[ -f /home/dokku/BUILD_ENV ]]
remote: ++ grep CURL_CONNECT_TIMEOUT /home/dokku/ENV
remote: + [[ ! -n export CURL_CONNECT_TIMEOUT=5 ]]
remote: ++ grep CURL_TIMEOUT /home/dokku/ENV
remote: + [[ ! -n export CURL_TIMEOUT=30 ]]
remote: + [[ -f /home/dokku/ENV ]]
remote: + BUILD_ENV+='export CURL_CONNECT_TIMEOUT=5
remote: export CURL_TIMEOUT=30'
remote: + [[ -f /home/dokku/nodejs/ENV ]]
remote: + [[ ! -z export CURL_CONNECT_TIMEOUT=5
remote: export CURL_TIMEOUT=30 ]]
remote: + echo '-----> Adding BUILD_ENV to build environment...'
-----> Adding BUILD_ENV to build environment...
remote: ++ sed 's@export @@g'
remote: ++ echo export CURL_CONNECT_TIMEOUT=5 export CURL_TIMEOUT=30
remote: +++ cat
remote: ++ docker run -i -a stdin dokku/nodejs /bin/bash -c 'for ENV_VAR in CURL_CONNECT_TIMEOUT=5 CURL_TIMEOUT=30; do echo $ENV_VAR |sed '\''s@^\([^=]*\)=\(.*\)$@echo \2 >/tmp/env/\1@g'\'' >>/tmp/set_env.sh; done && mkdir -p /tmp/env && /bin/bash /tmp/set_env.sh'
remote: + id=3bb766cebd16f452d69f63421e054788ee7b970378a598cc05aba00a27321b58
remote: ++ docker wait 3bb766cebd16f452d69f63421e054788ee7b970378a598cc05aba00a27321b58
remote: + test 0 -eq 0
remote: + docker commit 3bb766cebd16f452d69f63421e054788ee7b970378a598cc05aba00a27321b58 dokku/nodejs
remote: ++ docker run -i -a stdin dokku/nodejs /bin/bash -c 'cat >> /app/.env'
remote: ++ echo 'export CURL_CONNECT_TIMEOUT=5
remote: export CURL_TIMEOUT=30'
remote: + id=598f1794474c58b3c6949080b19d89d30a43ab5e1d3bc735e9486a79ef81d5b2
remote: ++ docker wait 598f1794474c58b3c6949080b19d89d30a43ab5e1d3bc735e9486a79ef81d5b2
remote: + test 0 -eq 0
remote: + docker commit 598f1794474c58b3c6949080b19d89d30a43ab5e1d3bc735e9486a79ef81d5b2 dokku/nodejs
remote: ++ docker run -d -v /home/dokku/nodejs/cache:/cache dokku/nodejs /build/builder
remote: + id=b67879690d22a61a8e577855eec2e44a7e5a86e2ed3a37a3e4325228a886f788
remote: + docker attach b67879690d22a61a8e577855eec2e44a7e5a86e2ed3a37a3e4325228a886f788
Node.js app detected
-----> Requested node range: 0.10.x
-----> Resolved node version: 0.10.33
-----> Downloading and installing node
-----> Writing a custom .npmrc to circumvent npm bugs
-----> Installing dependencies
express@4.10.6 node_modules/express
├── merge-descriptors@0.0.2
├── utils-merge@1.0.0
├── fresh@0.2.4
├── cookie@0.1.2
├── escape-html@1.0.1
├── range-parser@1.0.2
├── cookie-signature@1.0.5
├── finalhandler@0.3.2
├── vary@1.0.0
├── media-typer@0.3.0
├── methods@1.1.0
├── parseurl@1.3.0
├── serve-static@1.7.1
├── content-disposition@0.5.0
├── path-to-regexp@0.1.3
├── depd@1.0.0
├── qs@2.3.3
├── debug@2.1.0 (ms@0.6.2)
├── on-finished@2.1.1 (ee-first@1.1.0)
├── etag@1.5.1 (crc@3.2.1)
├── proxy-addr@1.0.4 (forwarded@0.1.0, ipaddr.js@0.1.5)
├── send@0.10.1 (destroy@1.0.3, ms@0.6.2, mime@1.2.11)
├── type-is@1.5.4 (mime-types@2.0.4)
└── accepts@1.1.4 (negotiator@0.4.9, mime-types@2.0.4)
-----> Caching node_modules directory for future builds
-----> Cleaning up node-gyp and npm artifacts
-----> No Procfile found; Adding npm start to new Procfile
-----> Building runtime environment
-----> Discovering process types
Procfile declares types -> web
remote: ++ docker wait b67879690d22a61a8e577855eec2e44a7e5a86e2ed3a37a3e4325228a886f788
remote: + test 0 -eq 0
remote: + docker commit b67879690d22a61a8e577855eec2e44a7e5a86e2ed3a37a3e4325228a886f788 dokku/nodejs
remote: + pluginhook post-build nodejs
remote: + echo '-----> Releasing nodejs ...'
remote: + dokku release nodejs
-----> Releasing nodejs ...
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + APP=nodejs
remote: + IMAGE=dokku/nodejs
remote: + pluginhook pre-release nodejs
remote: + [[ -f /home/dokku/nodejs/ENV ]]
remote: + pluginhook post-release nodejs
remote: + echo '-----> Deploying nodejs ...'
remote: + dokku deploy nodejs
-----> Deploying nodejs ...
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + APP=nodejs
remote: + IMAGE=dokku/nodejs
remote: + pluginhook pre-deploy nodejs
remote: + [[ -f /home/dokku/nodejs/CONTAINER ]]
remote: ++ pluginhook docker-args nodejs
remote: ++ :
remote: + DOCKER_ARGS=
remote: ++ docker run -d -p 5000 -e PORT=5000 dokku/nodejs /bin/bash -c '/start web'
remote: + id=2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb
remote: ++ sed 's/[0-9.]*://'
remote: ++ docker port 2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb 5000
remote: + port=49157
remote: + trap kill_new INT TERM EXIT
remote: + echo '-----> Running pre-flight checks'
remote: + pluginhook check-deploy 2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb nodejs 49157
-----> Running pre-flight checks
remote: + CONTAINERID=2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb
remote: + APP=nodejs
remote: + PORT=49157
remote: + HOSTNAME=localhost
remote: + [[ -f /home/dokku/nodejs/ENV ]]
remote: + FILENAME=/home/dokku/nodejs/CHECKS
remote: + WAIT=5
remote: + [[ ! -f /home/dokku/nodejs/CHECKS ]]
remote: + echo ' check-deploy: /home/dokku/nodejs/CHECKS not found. attempting to retrieve it from container ...'
check-deploy: /home/dokku/nodejs/CHECKS not found. attempting to retrieve it from container ...
remote: ++ mktemp -d /tmp/CHECKS.XXXXX
remote: + TMPDIR=/tmp/CHECKS.xWpCd
remote: + docker cp 2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb:/app/CHECKS /tmp/CHECKS.xWpCd
remote: + true
remote: + [[ ! -s /tmp/CHECKS.xWpCd/CHECKS ]]
remote: + echo ' CHECKS file not found in container. skipping checks.'
remote: + rm -rf /tmp/CHECKS.xWpCd
CHECKS file not found in container. skipping checks.
remote: + exit 0
remote: + echo 2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb
remote: + echo 49157
remote: + echo http://104.131.9.40:49157
remote: + echo '-----> Running post-deploy'
remote: + pluginhook post-deploy nodejs 49157
-----> Running post-deploy
remote: + APP=nodejs
remote: + PORT=49157
remote: + set +e
remote: ++ dokku config:get nodejs NO_VHOST
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: ++ ls -d /var/lib/dokku/plugins/00_dokku-standard/commands /var/lib/dokku/plugins/apps/commands /var/lib/dokku/plugins/backup/commands /var/lib/dokku/plugins/config/commands /var/lib/dokku/plugins/domains/commands /var/lib/dokku/plugins/git/commands /var/lib/dokku/plugins/nginx-vhosts/commands
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands config:get nodejs NO_VHOST
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands config:get nodejs NO_VHOST
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands config:get nodejs NO_VHOST
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands config:get nodejs NO_VHOST
remote: + ENV_FILE=/home/dokku/nodejs/ENV
remote: + ENV_FILE_TEMP=/home/dokku/nodejs/ENV.tmp
remote: + case "$1" in
remote: + [[ -z nodejs ]]
remote: + [[ ! -d /home/dokku/nodejs ]]
remote: + APP=nodejs
remote: + [[ -z NO_VHOST ]]
remote: + config_create
remote: + '[' -f /home/dokku/nodejs/ENV ']'
remote: + touch /home/dokku/nodejs/ENV
remote: + [[ ! -s /home/dokku/nodejs/ENV ]]
remote: + exit 0
remote: + exit_code=0
remote: + set -e
remote: + '[' 0 -eq 10 ']'
remote: + implemented=1
remote: + '[' 0 -ne 0 ']'
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands config:get nodejs NO_VHOST
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands config:get nodejs NO_VHOST
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/nginx-vhosts/commands config:get nodejs NO_VHOST
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + '[' 1 -eq 0 ']'
remote: + NO_VHOST=
remote: + set -e
remote: + [[ -n '' ]]
remote: + [[ ! -f /home/dokku/nodejs/VHOST ]]
remote: + dokku domains:setup nodejs
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: ++ ls -d /var/lib/dokku/plugins/00_dokku-standard/commands /var/lib/dokku/plugins/apps/commands /var/lib/dokku/plugins/backup/commands /var/lib/dokku/plugins/config/commands /var/lib/dokku/plugins/domains/commands /var/lib/dokku/plugins/git/commands /var/lib/dokku/plugins/nginx-vhosts/commands
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands domains:setup nodejs
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands domains:setup nodejs
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands domains:setup nodejs
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands domains:setup nodejs
remote: + ENV_FILE=/home/dokku/nodejs/ENV
remote: + ENV_FILE_TEMP=/home/dokku/nodejs/ENV.tmp
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$(ls -d $PLUGIN_PATH/*/commands)'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands domains:setup nodejs
remote: + case "$1" in
remote: + [[ -z nodejs ]]
remote: + [[ ! -d /home/dokku/nodejs ]]
remote: + APP=nodejs
remote: + VHOST_PATH=/home/dokku/nodejs/VHOST
remote: + [[ ! -f /home/dokku/nodejs/VHOST ]]
remote: + echo '-----> Creating new /home/dokku/nodejs/VHOST...'
-----> Creating new /home/dokku/nodejs/VHOST...
remote: /var/lib/dokku/plugins/domains/commands: line 22: /home/dokku/VHOST: No such file or directory
remote: + VHOST=
remote: + exit_code=1
remote: + set -e
remote: + '[' 1 -eq 10 ']'
remote: + implemented=1
remote: + '[' 1 -ne 0 ']'
remote: + exit 1
remote: + kill_new
remote: + docker inspect 2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb
remote: + docker kill 2ab172112b70bc9230a4c1595c82a4c35a86c5a3a34c798ae6e5e6728d97a6fb
remote: + trap - INT TERM EXIT
remote: + kill -9 8698
remote: /usr/local/bin/dokku: line 28: 8698 Killed dokku deploy $APP
remote: + exit_code=137
remote: + set -e
remote: + '[' 137 -eq 10 ']'
remote: + implemented=1
remote: + '[' 137 -ne 0 ']'
remote: + exit 137
+ exit_code=0
+ set -e
+ '[' 0 -eq 10 ']'
+ implemented=1
+ '[' 0 -ne 0 ']'
+ for script in '$(ls -d $PLUGIN_PATH/*/commands)'
+ set +e
+ /var/lib/dokku/plugins/nginx-vhosts/commands git-receive-pack ''\''nodejs'\'''
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ '[' 1 -eq 0 ']'
+ exit 0
To dokku@104.131.9.40:nodejs
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@104.131.9.40:nodejs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment