jeudi 8 juin 2017

Where is Capistrano retrieving the IP Address from?

I have to deploy a rails app after the server had a problem, and the IP Address has changed.

I've updated the IP Address in deploy/production.rb, and also git's remote branches, to the correct value, namely 192.168.30.24, but as you can see from the following output, the deployment is failing due to trying to connect over 192.168.30.23.

Where is Capistrano retrieving 192.168.30.23 from?

INFO [fa83a838] Running /usr/bin/env git remote update as code@192.168.30.24
DEBUG [fa83a838] Command: cd /var/www/paperless_office/repo && ( export RBENV_ROOT="~/.rbenv" RBENV_VERSION="2.3.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/paperless_office/git-ssh.sh" ; /usr/bin/env git remote update )
DEBUG [fa83a838]    Fetching origin
DEBUG [fa83a838]    ssh: connect to host 192.168.30.23 port 22: No route to host

Thanks

Aucun commentaire:

Enregistrer un commentaire