No. This can only happen if the site were the users belong to had been created with a empty docroot e.g. by using the api.
I have looked into my debug log and this appears every time if a delete a complete customer. 09.06.2012 15:17 root.*HOST* Debug Calling function 'delete' from plugin 'ftpuser_base_plugin' raised by event 'ftp_user_delete'. 09.06.2012 15:17 root.*HOST* Debug Processed datalog_id 8290 09.06.2012 15:17 root.*HOST* Debug document_root not set 09.06.2012 15:17 root.*HOST* Debug Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 09.06.2012 15:17 root.*HOST* Debug Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 09.06.2012 15:17 root.*HOST* Debug Processed datalog_id 8289 09.06.2012 15:17 root.*HOST* Debug Removing website logfile directory: /var/log/ispconfig/httpd/testingsite.test.com 09.06.2012 15:17 root.*HOST* Debug Removing symlink: /var/www/clients/client304/testingsite.test.com 09.06.2012 15:17 root.*HOST* Debug Removing symlink: /var/www/testingsite.test.com
Did you create this website originally with the api or trough the ispconfig interface? Whhcih path is in the document_root field in the database of this website?
Hi, the doc_root is given at all vhosts but not at subdomains and aliasdomains (added by api) http://localhostr.com/files/orUGF7K/capture.png
Thats ok as subdomains and aliasdomaisn us ethe docroot of the website. You might want to add a new website, subdomain and aliasdomain in the ispconfig gui and then compare the records in the database with the ones that you created with your script so that you can adjust the script to submit all api parameters correctly.
http://localhostr.com/files/N5b9dco/capture.png Thats the only difference. And the problem is, i have tested all functions in my api, from adding to deleting and the problem does not appear after testing every single function. But i think in a few days the error appears again.
After testing around a few hourds the error only appear after deleting a client here again: Code: 11.06.2012 14:03 root.testing.com Debug Calling function 'delete' from plugin 'ftpuser_base_plugin' raised by event 'ftp_user_delete'. 11.06.2012 14:03 root.testing.com Debug Processed datalog_id 8509 11.06.2012 14:03 root.testing.com Debug Ftpuser: deleted. 11.06.2012 14:03 root.testing.com Debug Calling function 'delete' from plugin 'ftpuser_base_plugin' raised by event 'ftp_user_delete'. 11.06.2012 14:03 root.testing.com Debug Processed datalog_id 8508 11.06.2012 14:03 root.testing.com Warning document_root not set 11.06.2012 14:03 root.testing.com Debug Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 11.06.2012 14:03 root.testing.com Debug Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 11.06.2012 14:03 root.testing.com Debug Processed datalog_id 8507 11.06.2012 14:03 root.testing.com Debug Removing website logfile directory: /var/log/ispconfig/httpd/kamamama.testing.com 11.06.2012 14:03 root.testing.com Debug Removing symlink: /var/www/clients/client142/kamamama.testing.com 11.06.2012 14:03 root.testing.com Debug Removing symlink: /var/www/kamamama.testing.com 11.06.2012 14:03 root.testing.com Debug Removing website: /var/www/clients/client142/web716 11.06.2012 14:03 root.testing.com Debug Removing vhost file: /etc/apache2/sites-available/kamamama.testing.com.vhost 11.06.2012 14:03 root.testing.com Debug Removing symlink: /etc/apache2/sites-enabled/900-kamamama.testing.com.vhost->/etc/apache2/sites-available/kamamama.testing.com.vhost Code: 11.06.2012 14:03 root.testing.com Debug Calling function 'delete' from plugin 'ftpuser_base_plugin' raised by event 'ftp_user_delete'. 11.06.2012 14:03 root.testing.com Debug Processed datalog_id 8501 11.06.2012 14:03 root.testing.com Warning document_root not set 11.06.2012 14:03 root.testing.com Debug Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 11.06.2012 14:03 root.testing.com Debug Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. Code: 11.06.2012 14:03 root.testing.com Debug Processed datalog_id 8500 11.06.2012 14:03 root.testing.com Warning document_root not set 11.06.2012 14:03 root.testing.com Debug Calling function 'delete' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 11.06.2012 14:03 root.testing.com Debug Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_delete'. 11.06.2012 14:03 root.testing.com Debug Found 13 changes, starting update process. 11.06.2012 14:03 root.testing.com Debug Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 11.06.2012 14:02 root.testing.com Debug Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 11.06.2012 14:02 root.testing.com Debug No Updated records found, starting only the core. 11.06.2012 14:02 root.testing.com Debug Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 11.06.2012 14:01 root.testing.com Debug Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 11.06.2012 14:01 root.testing.com Debug No Updated records found, starting only the core. 11.06.2012 14:01 root.testing.com Debug Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 11.06.2012 14:00 root.testing.com Debug Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 11.06.2012 14:00 root.testing.com Debug No Updated records found, starting only the core. 11.06.2012 14:00 root.testing.com Debug Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock