Skip to content

Website log mount is not changed when website is assigned to a new client

After creating a website I got this error message in bash with the df command:

#df #df: '/var/www/clients/client0/web3/log': No such file or directory

This is caused because the ispconfig does not refresh the fstab mount list after changing clientID in website. Steps to reproduce it:

Create a website "foo.com" but wait, be sure to NOT select a client in the "client" field.

After that, hold on a little until de cronjob creates the website physically in the server.

After the cronjob created the website, edit the website "foo.com" and select a client.

And here comes the bug: The ispconfig cronjob will move the website to the new client folder and correct the lines in the /etc/fstab but it does not refresh the mounted partitions. So the df command throws: df: '/var/www/clients/client0/web3/log': No such file or directory