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

Anonymous’s picture

Aegir 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.

spangaroo’s picture

Since 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 alias

green OK icon Created symlink for alias www.sub.mydomain.com

warning 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:

all 
sub.mydomain.com
default
www.sub.mydomain.com

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 themes

ls

Anonymous’s picture

I 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.

spangaroo’s picture

Oopsie 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. :)

adrian’s picture

Category: bug » support
Status: Active » Closed (fixed)

closing