ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2020-12-21T17:37:37Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5888Wildcard (*) not allowed in SPF record editor2020-12-21T17:37:37ZThomWildcard (*) not allowed in SPF record editorShould be allowed because we introduced a function for thisShould be allowed because we introduced a function for thishttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5881Translating the monitor language file damages the Monitor section2020-11-03T16:04:29ZClemente NogueiraTranslating the monitor language file damages the Monitor sectionI have been translating the ISPConfig 3.2 language into pt-pt.
When I translated the "monitor pt.lng" file and tried to open the Monitor tab, it blocked and did not open.
When I repaired the file for the English equivalent, everything ...I have been translating the ISPConfig 3.2 language into pt-pt.
When I translated the "monitor pt.lng" file and tried to open the Monitor tab, it blocked and did not open.
When I repaired the file for the English equivalent, everything went back to normal.
Also, the problem only happens when I use the pt-pt language into which I translated the file. If I choose the English language everything goes back to normal.
It seems that the problem stems from the translation.
I repeated the procedure several times, it always happens.
I checked the permissions and everything is normal: 770 ispconfig/ispconfig
I checked the file information, and found out when it was saved the quotes ' are replaced by ".
$ wb ['Server Load'] = 'Servidor carregado';
per
$ wb ['Server Load'] = "Servidor carregado";https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5876Error on sites_web_vhost_subdomain_add2022-02-26T20:55:49ZLucaError on sites_web_vhost_subdomain_addDear,
i have tried to fork the project to my user in order to propose a merge about this fix, but can't do it (seems that i have no permission to create a project).
By the way, on that method lib/classes/remote.d/sites.inc.php:sites_we...Dear,
i have tried to fork the project to my user in order to propose a merge about this fix, but can't do it (seems that i have no permission to create a project).
By the way, on that method lib/classes/remote.d/sites.inc.php:sites_web_vhost_subdomain_add this line
`if($params['document_root'] == '') $params['document_root'] = '-';`
should be instead return an error if document_root is empty. Otherwise the sites_web_vhost_subdomain_add does not work at all.
tyhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5874.htaccess not updated in client change2020-11-01T16:17:38ZTony G.htaccess not updated in client changeChange the client for a site and all folders correctly move to the new clientX/webY location. But in a protected folder the .htaccess file has the original path to the AuthUserFile.Change the client for a site and all folders correctly move to the new clientX/webY location. But in a protected folder the .htaccess file has the original path to the AuthUserFile.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5861PHP version list does not load when opening the form to create a new Subdomai...2020-10-24T10:38:48ZDiogo BragaPHP version list does not load when opening the form to create a new Subdomain/Aliasdomain VhostFix suggestion:
On the template sites/templates/web_vhost_domain_edit.htm, change the following lines:
```
jQuery('#parent_domain_id').change(function() {
reloadServerId(false);
});
// new Vhostsubdomains/Vhostaliasdomains
if(serv...Fix suggestion:
On the template sites/templates/web_vhost_domain_edit.htm, change the following lines:
```
jQuery('#parent_domain_id').change(function() {
reloadServerId(false);
});
// new Vhostsubdomains/Vhostaliasdomains
if(serverId == ''){
jQuery('#parent_domain_id').trigger('change');
}
```
to
```
jQuery('#parent_domain_id').change(function(e, noFormChange) {
reloadServerId(noFormChange);
});
// new Vhostsubdomains/Vhostaliasdomains
if(serverId == ''){
jQuery('#parent_domain_id').trigger('change', [true]);
}
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5857jailkit_chroot_authorized_keys_template in shelluser_base_plugin.inc.php2020-10-26T10:01:53ZJesse Norelljailkit_chroot_authorized_keys_template in shelluser_base_plugin.inc.phpThere are two `shelluser_*_plugin.inc.php` files, `shelluser_jailkit_plugin.inc.php` was updated to use the `jailkit_chroot_authorized_keys_template` server config setting, but `shelluser_base_plugin.inc.php` still has `/root/.ssh/author...There are two `shelluser_*_plugin.inc.php` files, `shelluser_jailkit_plugin.inc.php` was updated to use the `jailkit_chroot_authorized_keys_template` server config setting, but `shelluser_base_plugin.inc.php` still has `/root/.ssh/authorized_keys` hardcoded. I have not explored the conditions under which the latter is effective (I'd guess creating a shell user which is not using jailkit?).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5835Backup tries to also run -and fails- on secondary DNS server, without having ...2020-10-21T08:54:08ZFerenc CsizmadiaBackup tries to also run -and fails- on secondary DNS server, without having Webservice enabled here.## short description
What is happening and what is wrong with that?
I have a multi-server environment with 2 servers (one of them is the master) and a secondary DNS server that has only DB and DNS services installed and enabled on. The ...## short description
What is happening and what is wrong with that?
I have a multi-server environment with 2 servers (one of them is the master) and a secondary DNS server that has only DB and DNS services installed and enabled on. The secondary DNS server is mirroring the "master" webserver where the primary DNS service runs.
Since the 3.2 update the backup of the websites is reporting error on the secondary DNS server as well, despite the fact these websites are not residing on it but on the master webserver only. The errors stating that the backup was not possible to run for the sites. (since the path is not valid on the secondary DNS but only on the master web server.)
The backup on the server, holding the site takes place properly.
## correct behaviour
What should happen instead?
The backup shall only run on the webserver where the sites do reside and not on any mirrored server, especially if the
service is not enabled on it at all.
## environment
Server OS: debian 9
Server OS version: stretch
ISPConfig version: 3.2
_you can use `grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php` to get it from the command line_
If it might be related to the problem
```
insert the output of `nginx -v` or `apachectl -v` here
root@castor:~# apachectl -v
Server version: Apache/2.4.25 (Debian)
Server built: 2019-10-13T15:43:54
insert the output of `php -v` here
root@castor:~# php -v
PHP 7.0.33-34+0~20201018.42+debian9~1.gbp80c9be (cli) (built: Oct 18 2020 21:35:49) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-34+0~20201018.42+debian9~1.gbp80c9be, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.8.1, Copyright (c) 2002-2019, by Derick Rethans
## proposed fix
optional, of course.
if you want to post code snippets, please use
```
your code
```
or attach a code file. Best is to create a merge request of course.
## references
if you know of related bugs or feature requests, please reference them by using `#<bugnumber>`, e. g. #123
if you have done a merge request already, please reference it by using `!<mergenumber>`, e. g. !12
if you know of a forum post on howtoforge.com that deals with this topic, just add the link to the forum topic here
## screenshots
optional, of course.
Add screenshots of the problem by clicking "Attach a file" on the bottom right.
## log entries
```
apache / nginx error.log lines (if related)
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5818Need ui setting for bypass_spam_checks2020-10-14T10:21:58ZJesse NorellNeed ui setting for bypass_spam_checksThe bypass_spam_checks setting is stored in the database, and set for 'Non-Paying' policy at install via ispconfig3.sql, but there is no ui setting to change or set it for other policies.The bypass_spam_checks setting is stored in the database, and set for 'Non-Paying' policy at install via ispconfig3.sql, but there is no ui setting to change or set it for other policies.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5811Incorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spa...2020-10-27T09:17:17ZJesse NorellIncorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spam_dsn_cutoff_level` at row 1Some of the default spamfilter_policy are created with spam_dsn_cutoff_level set to NULL, which creates error when editing:
```
Incorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spam_dsn_cutoff_level` at row 1
``...Some of the default spamfilter_policy are created with spam_dsn_cutoff_level set to NULL, which creates error when editing:
```
Incorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spam_dsn_cutoff_level` at row 1
```
https://www.howtoforge.com/community/threads/error-at-spam-policy-page.83922/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5793System > Server IP Addresses empty field2020-10-21T08:46:12ZTony GSystem > Server IP Addresses empty fieldOne of my servers is shown in the IP Addresses list without it's host name. I've tried changing all of the hosts, thinking it might trigger a data update somewhere.
Running 3.2.beta2 over Ubuntu 20
![image](/uploads/98629d0b37848ebe6654...One of my servers is shown in the IP Addresses list without it's host name. I've tried changing all of the hosts, thinking it might trigger a data update somewhere.
Running 3.2.beta2 over Ubuntu 20
![image](/uploads/98629d0b37848ebe6654aeba99a71397/image.png)
This isn't just a UI issue - the data is not in the HTML:
```html
<a href="#" data-load-content="admin/server_ip_edit.php?id=2"
data-toggle="tooltip" data-placement="bottom"
title="" data-original-title=""></a> <---
````https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5789Backup downloads and restores are counted in user quota2022-02-26T20:44:48ZWebsliceBackup downloads and restores are counted in user quotaIn our situation a user has a 1GB quota. They have used 700MB, and they backup tarball is 400MB. In the panel they attempt to download a backup. The backup file is copied to their home directory, and the chown is attempted as per https:/...In our situation a user has a 1GB quota. They have used 700MB, and they backup tarball is 400MB. In the panel they attempt to download a backup. The backup file is copied to their home directory, and the chown is attempted as per https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/3.1.15p2/server/plugins-available/backup_plugin.inc.php#L88 . The chown fails because it would exceed the user quota. As a result, the file cannot be downloaded by the user because it is not owned by them, and the permissions are 600 (which is correct).
It seems it would be good to somehow exclude these backup files from the user quotas. Does a feature like that already exist, and if not, what would be a good solution?Till BrehmTill Brehmhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5700admin/reseller/client permission inconsistencies2020-08-19T18:38:58ZJesse Norelladmin/reseller/client permission inconsistenciesThere are some permissions issues when editing things as admin vs. reseller vs. client, detailed cases will follow.
This is borne from discussion in https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1088#note_78755 where i...There are some permissions issues when editing things as admin vs. reseller vs. client, detailed cases will follow.
This is borne from discussion in https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1088#note_78755 where it is clear that client protection is intended to affect only the web_domain table, and therefore clients/resellers should always be able to create/edit/delete other entities (dns soa, mail domain, etc.).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5616PHP-FPM fails after too many restarts2022-02-26T21:12:41ZGuillaume SubironPHP-FPM fails after too many restarts## short description
I deleted some shell users. After a few seconds, php7.4-fpm stopped and remained failed.
Here is the syslog, which explains why php7.4-fpm failed.
```
May 8 11:49:01 myhost systemd[1]: php7.4-fpm.service: Succeed...## short description
I deleted some shell users. After a few seconds, php7.4-fpm stopped and remained failed.
Here is the syslog, which explains why php7.4-fpm failed.
```
May 8 11:49:01 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:01 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:02 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:02 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Start request repeated too quickly.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Failed with result 'start-limit-hit'.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Start request repeated too quickly.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Failed with result 'start-limit-hit'.
May 8 11:49:04 myhost systemd[1]: php7.4-fpm.service: Start request repeated too quickly.
May 8 11:49:04 myhost systemd[1]: php7.4-fpm.service: Failed with result 'start-limit-hit'.
```
And here is anonymized ISPConfig log:
```
08.05.2020-11:49 - DEBUG - Found 9 changes, starting update process.
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web119' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web119/home/user1/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web119' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user1' ; userdel -f 'user1' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user1
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user1
08.05.2020-11:49 - DEBUG - Processed datalog_id 6957
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web121' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web121/home/user2/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web121' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user2' ; userdel -f 'user2' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user2
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user2
08.05.2020-11:49 - DEBUG - Processed datalog_id 6958
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web124' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web124/home/user3/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web124' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user3' ; userdel -f 'user3' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user3
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user3
08.05.2020-11:49 - DEBUG - Processed datalog_id 6959
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web144' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web144/home/user4/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web144' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user4' ; userdel -f 'user4' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user4
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user4
08.05.2020-11:49 - DEBUG - Processed datalog_id 6960
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web163' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web163/home/user5/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web163' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user5' ; userdel -f 'user5' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user5
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user5
08.05.2020-11:49 - DEBUG - Processed datalog_id 6961
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web122' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web122/home/user6/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web122' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user6' ; userdel -f 'user6' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user6
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user6
08.05.2020-11:49 - DEBUG - Processed datalog_id 6962
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web81' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web81/home/user7/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web81' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user7' ; userdel -f 'user7' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user7
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user7
08.05.2020-11:49 - DEBUG - Processed datalog_id 6963
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web50' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web50/home/user8/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web50' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user8' ; userdel -f 'user8' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user8
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user8
08.05.2020-11:49 - DEBUG - Processed datalog_id 6964
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web166' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web166/home/user9/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web166' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user9' ; userdel -f 'user9' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user9
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user9
08.05.2020-11:49 - DEBUG - Processed datalog_id 6965
08.05.2020-11:49 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
```
## environment
Server OS: Debian 10 "Buster"
ISPConfig version: 3.1.15p3
## proposed fix
It seems tunning Systemd (https://www.freedesktop.org/software/systemd/man/systemd.unit.html#StartLimitIntervalSec=interval) could avoid this, but I don't think this is the right solution, and I don't want to edit the systemd unit for every FPM version.
I think ISPConfig should be careful not to restart the same PHP-FPM too many times in a row.
Thanks.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5613Adding zones to PowerDNS with 'notified_serial' set breaks native DNS replica...2020-05-08T08:31:14ZMichael WeißAdding zones to PowerDNS with 'notified_serial' set breaks native DNS replication## short description
When creating a new zone, the powerdns-plugin inserts the domain with the field "notified_serial" set to the inital serial from SOA. Therefore the pdns server does not notify any slaves since notified_serial == curre...## short description
When creating a new zone, the powerdns-plugin inserts the domain with the field "notified_serial" set to the inital serial from SOA. Therefore the pdns server does not notify any slaves since notified_serial == current serial from soa. This breaks zone replication to e.g. bind slaves.
## correct behaviour
Leave out "notified_serial" when adding a new zone or set it explicitly to NULL.
## environment
Any.
## proposed fix
server/plugins-available/powerdns_plugin.inc.php: 137,16
$app->db->query("INSERT INTO powerdns.domains (name, type, ispconfig_id) VALUES (?, ?, ?)", $origin, 'MASTER', $ispconfig_id);https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5608[rspamd] DKIM check not working when switching from amavis to rspamd (CentOS7)2022-04-26T17:53:27ZJanThiel[rspamd] DKIM check not working when switching from amavis to rspamd (CentOS7)## short description
As described in this topic already, the dkim_signing.conf is not created in the rspamd config folder ( /etc/rspamd/local.d/ ) when you switch from amavisd to rspam. The _rspamd user also needs to be added to the amav...## short description
As described in this topic already, the dkim_signing.conf is not created in the rspamd config folder ( /etc/rspamd/local.d/ ) when you switch from amavisd to rspam. The _rspamd user also needs to be added to the amavis group (though I didn't check if this really was missing, before simply adding it :-/)
Thus rspamd is not able to find the dkim keys and throws warnings in the log.
```
dkim_module_load_key_format: cannot load dkim key /var/lib/rspamd/dkim/[DOMAIN].dkim.key: cannot stat key file: '/var/lib/rspamd/dkim/[DOMAIN].dkim.key' File or folder not found
```
https://www.howtoforge.com/community/threads/rspamd-greylist-dkim-keys-not-loaded.82823/#post-395279
## correct behaviour
DKIM files should be read from existing amavisd folder without manual intervention and configuration
## environment
Server OS: centos 7
ISPConfig version: 3.1.15p3
## proposed fix
- _rspamd user should be added to group amavisd
- **/etc/rspamd/local.d/dkim_signing.conf** should be created with the following content:
```
try_fallback = false;
path_map = "/etc/rspamd/local.d/dkim_domains.map";
selector_map = "/etc/rspamd/local.d/dkim_selectors.map";
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5586Maibox quota | Email domain quota2020-11-02T15:54:15ZTonMaibox quota | Email domain quotaGood afternoon,
I'm writing because we have detected a problem with email quotas. It's a real case that has happened to us.
1. The client has created an email box: email01@domain.com with a fee of 5 Gb.
2. When the mailbox reaches 5Gb...Good afternoon,
I'm writing because we have detected a problem with email quotas. It's a real case that has happened to us.
1. The client has created an email box: email01@domain.com with a fee of 5 Gb.
2. When the mailbox reaches 5Gb, they deactivate it and modify the quota reducing it to 1 Mb for example.
3. Then they create a new email box: email02@domain.com and they have all the domain fees to use again.
4. The first mailbox has not been deleted, so it uses the 5 Gb hard disk quota.
5. This has been repeated with several emails, so this user is consuming much more hard disk quota than the one assigned to his domain without our control.
Regards.
On the other hand, would it be possible to have a limit per account instead of a global limit for all accounts? I think it is the most used option in hosting plans (max quota limit per account) more common than global quota per email domain.
Example:
Currently, we could set a domain email quota to 10Gb. This means we could have a mailbox with a 10Gb quota or 10 email mailboxes with 1Gb. We believe it is more common to set a maximum of 10 mailboxes and 1G max for each one for example.
I have seen that it is an open request a long time ago, we are following the changes but it has not entered the roadmap.
Thank you very much for the excellent work on this project.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5566PHP Handler not filled on error (System > Main config)2020-11-14T20:17:36ZManoa RatefiarisonPHP Handler not filled on error (System > Main config)## short description
The problem happens when I did (by mistake) added a "." in field prefix for user database in System > Main Config. After that, ISPConfig told me that there is some unauthorized chars in this field, but at the same ti...## short description
The problem happens when I did (by mistake) added a "." in field prefix for user database in System > Main Config. After that, ISPConfig told me that there is some unauthorized chars in this field, but at the same time, all PHP Handler cases has been dischecked.
## correct behaviour
PHP Handler cases should keep previous settings (from the latest form submit or from the database).
## environment
Server OS: Debian
Server OS version: Stretch
ISPConfig version: 3.1.15p3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5560Unable to access statistics if using subroot configuration on nginx2020-12-31T09:59:55ZJacob RasmussenUnable to access statistics if using subroot configuration on nginx## short description
When subroot (eg. `##subroot web##`) is defined for a given site, nginx tries to resolve the path to the statistics folder in the subroot path instead of document root and this results in 404 errors on all resources ...## short description
When subroot (eg. `##subroot web##`) is defined for a given site, nginx tries to resolve the path to the statistics folder in the subroot path instead of document root and this results in 404 errors on all resources in the stats folder.
I haven't tested if the Apache configuration displays the same behavior.
## correct behaviour
Website configuration should be changed, so that content from the stats folder is accessible.
## environment
Server OS: Ubuntu
Server OS version: 18.04.4
ISPConfig version: 3.1.15p3
nginx version: nginx/1.14.0 (Ubuntu)
## proposed fix
None right now
## log entries
```
2020/03/03 08:11:55 [error] 3335#3335: *181766 "/var/www/<website redacted>/web/web/stats/index.html" is not found (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/ HTTP/2.0", host: "<website redacted>"
2020/03/03 08:16:19 [error] 3447#3447: *181834 open() "/var/www/<website redacted>/web/web/stats/awindex.html" failed (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/awindex.html HTTP/2.0", host: "<website redacted>"
2020/03/06 08:07:23 [error] 29416#29416: *154016 open() "/var/www/<website redacted>/web/web/stats/index.php" failed (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/index.php HTTP/2.0", host: "<website redacted>"
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5555Remote API function client_template_additional_add() broken2020-08-28T16:34:17ZTill BrehmRemote API function client_template_additional_add() brokenThe remote API function client_template_additional_add() does not calculate the limits correctly.The remote API function client_template_additional_add() does not calculate the limits correctly.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5547Mailbox traffic statistics not working on Rspamd servers2023-05-05T19:02:10ZTill BrehmMailbox traffic statistics not working on Rspamd serversMailbox traffic statistics not working on Rspamd servers as the mailbox parse regex in the 100-mailbox_stats.inc.php cron plugin parses amavis log lines only.Mailbox traffic statistics not working on Rspamd servers as the mailbox parse regex in the 100-mailbox_stats.inc.php cron plugin parses amavis log lines only.