2 votes

Docker git remote deploy lock

J'essaie de pousser du code vers un dépôt git distant. Après avoir validé le code, lorsque j'exécute git push origin master je rencontre cette erreur.

remote: + local LOCK_TYPE=exclusive
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/example/.deploy.lock
remote: + local 'LOCK_WAITING_MSG=example currently has a deploy lock in place. Waiting...'
remote: + local 'LOCK_FAILED_MSG=example currently has a deploy lock in place. Exiting...'
remote: + acquire_advisory_lock /home/dokku/example/.deploy.lock exclusive 'dash-stroom-app-v1 currently has a deploy lock in place. Waiting...' 'example currently has a deploy lock in place. Exiting...'
remote: + declare 'desc=acquire advisory lock'
remote: + local LOCK_FILE=/home/dokku/example/.deploy.lock LOCK_TYPE=exclusive 'LOCK_WAITING_MSG=example currently has a deploy lock in place. Waiting...' 'LOCK_FAILED_MSG=example currently has a deploy lock in place. Exiting...'
remote: + local LOCK_FD=200
remote: + local SHOW_MSG=true
remote: + eval 'exec 200>/home/dokku/example/.deploy.lock'
remote: ++ exec
remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
remote: + flock -n 200
remote: + dokku_log_fail 'example currently has a deploy lock in place. Exiting...'
remote: + declare 'desc=log fail formatter'
remote: + echo 'example currently has a deploy lock in place. Exiting...'
remote: example currently has a deploy lock in place. Exiting...
remote: + exit 1
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
To https://example.com/GIT/example
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://example.com/GIT/example'

0voto

folium Points 93

J'ai trouvé ceci https://github.com/dokku/dokku/issues/3796 et a essayé

sudo apt-get update sudo apt-get install -y herokuish

Il est parvenu à se déployer par la suite.

Prograide.com

Prograide est une communauté de développeurs qui cherche à élargir la connaissance de la programmation au-delà de l'anglais.
Pour cela nous avons les plus grands doutes résolus en français et vous pouvez aussi poser vos propres questions ou résoudre celles des autres.

Powered by:

X