Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I get this message if I verify a server *after* the mountpoint is mounted:
Could not rsync from '/var/aegir/platforms' to 'aegir@web1.aegir.koumbit.net:/'
/var/aegir/platforms could not be synced to remote server web1.aegir.koumbit.net. Changes might not be available until this has been done. (error: rsync: chgrp "/var/aegir/platforms" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7])
Of course, this is because drush happily uses the -a
flag on rsync indiscriminatly. This, in turns, makes aegir try to fix permissions on /var/aegir/plaforms
, even though it doesn't own that directory (it's an NFS mountpoint).
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedActually, the bug isn't that major... The workaround is to unmount /var/aegir/platforms on the slave and reverify the server.
Comment #2
anarcat CreditAttribution: anarcat commentedSo I pushed a change to 2.x. The idea is to move that check further down the pipe, so that the directory only gets created when platforms get created.
I'll try to get people using the current cluster mode to test this patch:
http://drupalcode.org/project/provision.git/patch/cf6b046
Comment #3
anarcat CreditAttribution: anarcat commentedthis is shipped with alpha1, so hopefully this means it's fixed.
Comment #5
RowboTony CreditAttribution: RowboTony commentedI encountered this issue today, a bit of an edge case. I thought this was related to my remote server, but it turned out to be due to my local/master server. My Master Aegir server runs on a local virtual machine from a second hard drive mounted as /var/aegir. When I periodically upgrade my operating system I simply detach the drive from the old VM and attach it to the new vm. Long story short - somehow, when the drive was mounted on the new vm /var was changed to aegir:aegir... not exactly sure how that happened, perhaps I chown aegir:aegir on it by mistake. Changing the owner of /var back to root:root fixed the error I was getting "
error: rsync: chgrp "/var" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred
"