Troubles when assigning site to different client
I've seen several troubles when moving a site from one client to another:
-
if the new client doesn't have a site yet, it seems that no directory under /var/clients is created, and therefore the symbolic link from the new client directory to the web folder in the old client directory is not created.
-
There was a mismatch between the directory the new client got (after creating a new site for the new client) and the directory that was tried to sym-link:
/var/clients# ls client0 client1
from cron.log:
ln: creating symbolic link /var/clients/client2/domain.tld' to
/var/clients/client1/web4/': No such file or directory
ln: creating symbolic link /var/clients/client2/domain.tld' to
/var/clients/client1/web4/': No such file or directory
For some reason the new client got the directory client0, but the symbolic link was tried to create in dir client2 (which does not exist).