When tasks run on Aegir, my new site is verified.
When I look at the logs I see this:
Could not remove symlink for alias 'demo'
Not sure how to handle this.
When tasks run on Aegir, my new site is verified.
When I look at the logs I see this:
Could not remove symlink for alias 'demo'
Not sure how to handle this.
Comments
Comment #1
Anonymous (not verified) commentedAegir tries to reset any symlinks (aliases) in the filesystem before applying them as part of the verification process.
It's just a warning because the symlink does not yet exist. If it had existed and pointed to the wrong place, it would've been removed and replaced to point to your site to ensure a successful verification.
Safe to ignore. I'm not sure I consider this a bug, although we could put in a check to see if it exists first before attempting to delete it. It could be significant to note in the log if the alias had gone missing before being updated, in case this was unexpected, but that may be just as much of a corner case.
Comment #2
spangaroo commentedSince I found this issue via Google, thought maybe I'd post my output here as well.
error icon
WD php: unlink(/var/aegir/platforms/atrium-1-0-beta6/sites/www.sub.mydomain.com): No such file or directory in /var/aegir/.drush/provision/provision.path.inc on line 153.warning icon
Could not remove symlink for aliasgreen OK icon
Created symlink for alias www.sub.mydomain.comwarning icon
unlink(/var/aegir/platforms/atrium-1-0-beta6/sites/www.sub.mydomain.com.tw): No such file or directory in /var/aegir/.drush/provision/provision.path.inc on line 153.The rest of the install was fine, no other errors/warnings. However when I go to /var/aegir/platforms/atrium-1-0-beta6/sites/ I see these directories:
My only concern is that in the future if I want to make modifications, which site directory is the correct one? Both sub.mydomain.com and www.sub.mydomain.com contain the same data:
drushrc.php files libraries modules private settings.php themesls
Comment #3
Anonymous (not verified) commentedI think you'll find that the www.sub.mydomain.com is not in fact a directory but a symlink pointing to sub.mydomain.com.
Have a read about symlinks if you're not familiar with them.
Comment #4
spangaroo commentedOopsie daisy, I didn't realize that it was a symlink until I saw the icon in FileZilla. Glad that's sorted out and thanks for the link. I'll take a look. :)
Comment #5
adrian commentedclosing