deployment - Dokku zero downtime deploy CHECKS fails -
started work 0 downtime deploy in dokku , fails check checks file.
checks file content, /home/dokku/oktob/checks
wait=30 # wait 1/2 minute timeout=60 # timeout after minute attempts=10 # attempt checks 10 times /pages/about info@oktob.io /assets/twitter-f5f5e668ebe5e0324b1cc9f568d47e2d.jpg
the app running @ 178.62.102.155, first path about page , second image
this deployment failure message
-----> discovering process types procfile declares types -> web -----> releasing oktob... -----> deploying oktob... -----> checking status of postgresql found image postgresql/oktob database checking status... ok. -----> running pre-flight checks waiting 5 seconds ... checking with: curl -q --compressed --fail --location --max-time 30 http://172.17.1.167:5000wait=30 remote: % total % received % xferd average speed time time time current remote: dload upload total spent left speed remote: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) not resolve host: 172.17.1.167:5000wait=30 remote: /usr/local/bin/dokku: line 42: 21380 killed dokku deploy "$app" dokku@178.62.102.155:oktob ! [remote rejected] zero-downtime-deploy -> master (pre-receive hook declined) error: failed push refs 'dokku@178.62.102.155:oktob'
i added checks file inside rails app root , works.
Comments
Post a Comment