Could not rsync from '/var/aegir/config/server_master/apache/platform.d/platform_drupal626.conf' to 'aegir@aegir:/'
installed aegir yesterday (yeahh!!) linode, ubuntu 11.04. all went well, installed first platform d7, built two sites, awesome. today though tried to install a d6 site and it wouldnt go. i had, perhaps coincidentally put the wrong path into aegir d6.24 when i actually uploaded d6.26. first error then was:
The directory /var/aegir/platforms/drupal-6.24 does not contain a valid Drupal installation
Drush could not bootstrap this platform. Please check the platform directory exists and is readable.The directory /var/aegir/platforms/drupal-6.24 does not contain a valid Drupal installation
/var/aegir/config/server_master/apache/platform.d/platform_drupal624.conf could not be removed from remote server aegir. Changes might not be available until this has been done. (error: Host key verification failed.)
apache on aegir could not be restarted. Changes might not be available until this has been done. (error: Host key verification failed.) Could not rsync from '/var/aegir/config/server_master/apache/platform.d/platform_drupal626.conf' to 'aegir@aegir:/'
/var/aegir/config/server_master/apache/platform.d/platform_drupal626.conf could not be synced to remote server aegir. Changes might not be available until this has been done. (error: Warning: Permanently added 'aegir,xx.xxx.xx.xx' (ECDSA) to the list of known hosts. Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password). rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7])
apache on aegir could not be restarted. Changes might not be available until this has been done. (error: Permission denied (publickey,password).)
#1
I know this is a little late, but I was Googling around for rsync and Aegir for various reasons and came across this.
I can take an educated guess at what is going on here. Do you have two servers, server_master and aegir? The problem I'm seeing here is the inability for one machine to SSH to the other reliably. By any chance, and if you have more than one Linode in this setup, did you blow away the 2nd server (aegir) and rebuild it at any point using Linode's interface?
It looks like the local, master aegir isn't able to connect to the remote aegir server due to an SSH key conflict. To remedy this, edit /var/aegir/.ssh/known_hosts and remove the 2nd server's key from the list:
nano /var/aegir/.ssh/known_hostsRemove that line (or take your best guess), save the file and exit the editor. Then:
ssh aegir@aegirIt should ask if you want to accept the host's key. Type 'yes', and you should drop right into a prompt with no password. Hit control-D (exit), and then try it again to double check:
ssh aegir@aegirThis time there should be no interruption for key management, and you'll be greeted with the same prompt without any other intervention by you. All should be good after that.
If, however, you only have one server, then your DNS entries might be a mess, and perhaps Aegir is trying to connect to itself on the same server. That's another ball of wax.
I hope this helps, or at least gives some guidance to the next Googler.
Mike