Ubuntu 16.04.3 LTS (Xenial Xerus), nginx, ISPConfig 3.1.9 When creating a new site with "Own Error-Documents" checked, getting following errors in ISPConfig Cron - Log Code: Tue Dec 26 01:43:02 EET 2017 PHP Warning: mkdir(): No such file or directory in /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php on line 2465 Tue Dec 26 01:43:02 EET 2017 PHP Warning: copy(/var/www/clients/client1/web3/web/stats/index.php): failed to open stream: No such file or directory in /usr/local/ispconfig/server/lib/classes/system.inc.php on line 881 Tue Dec 26 01:43:04 EET 2017 cp: target '/var/www/clients/client1/web3/web//error/' is not a directory Tue Dec 26 01:43:04 EET 2017 chmod: cannot access '/var/www/clients/client1/web3/web//error/': No such file or directory Tue Dec 26 01:43:04 EET 2017 chown: cannot access '/var/www/clients/client1/web3/web//error/': No such file or directory Tue Dec 26 01:43:04 EET 2017 PHP Warning: mkdir(): No such file or directory in /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php on line 2465 Tue Dec 26 01:43:04 EET 2017 PHP Warning: copy(/var/www/clients/client1/web3/web/stats/index.php): failed to open stream: No such file or directory in /usr/local/ispconfig/server/lib/classes/system.inc.php on line 881 Tue Dec 26 01:43:06 EET 2017 finished. "Log" is the only folder created. No "web" or "backup" folders
Is the folder /var or /var/www a symlink? Symlinks are not allowed there and when you use a symlink for one of these folders, then the website cannot be created.