Mount for log files gets deleted after domain change
short description
When changing the domain of a website in ISPConfig, the "log" folder of the website is empty. Reason is that the fstab entries are not added for the new domain (but the old entry gets deleted).
(I assume that a domain change affects other parts of ISPConfig and the system too - if you can think of them maybe a new bug ticket should be opened)
correct behaviour
A new fstab entry should be created based on the new domain name, after deleting the old one.
environment
Server OS: Ubuntu Server OS version: 16.04 LTS ISPConfig version: 3.1.15p2 (older versions affected too)
references
https://www.howtoforge.com/community/threads/renaming-domain-deletes-logs.83607/