ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2020-02-28T14:36:35Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5359invalid HTML when create new DNS SPF & DMARC record2020-02-28T14:36:35Zhkendusersinvalid HTML when create new DNS SPF & DMARC record## short description
When I create a new DNS SPF or DMARC record, there is "/>" next to the "Active" checkbox, after checking the HTML, it is:
`<input type="checkbox" value="1" id="active" name="active" <input="">
/>`
But no such problem...## short description
When I create a new DNS SPF or DMARC record, there is "/>" next to the "Active" checkbox, after checking the HTML, it is:
`<input type="checkbox" value="1" id="active" name="active" <input="">
/>`
But no such problem when edit existing SPF or DMARC record.
## correct behaviour
`<input type="checkbox" value="1" id="active" name="active" checked="">`
## environment
Server OS: CentOS
Server OS version: 7.3.1611
ISPConfig version: 3.1.14p2
## proposed fix
Pre-defined to check checkboxes at the beginning of function onShowEnd() in /usr/local/ispconfig/interface/web/dns/dns_spf_edit.php
```
function onShowEnd() {
global $app, $conf;
$zone = $app->functions->intval($_GET['zone']);
// pre-defined to check checkboxes
$app->tpl->setVar("active", "CHECKED");
$app->tpl->setVar("spf_a_active", "CHECKED");
$app->tpl->setVar("spf_mx_active", "CHECKED");
//* check for an existing spf-record
$sql = "SELECT data, active FROM dns_rr WHERE data LIKE 'v=spf1%' AND zone = ? AND " . $app->tform->getAuthSQL('r');
$rec = $app->db->queryOneRecord($sql, $zone);
if ( isset($rec) && !empty($rec) ) {
```
## screenshots
![screenshot.1515](/uploads/97280624062d9e11463a2a89486d31d4/screenshot.1515.jpg)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5356Client can create global whitelists and blacklists for email2019-09-02T14:14:51ZMarius BurkardClient can create global whitelists and blacklists for emailA client can create global postfix whitelists and blacklists for every domain he likes to. This function should be limited to admin.A client can create global postfix whitelists and blacklists for every domain he likes to. This function should be limited to admin.3.1.15Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5354php5-fpm.sock specified instead of php7.3-fpm.sock for debian buster2019-09-04T17:45:41ZPatrick Zajdaphp5-fpm.sock specified instead of php7.3-fpm.sock for debian busterIn apps.vhost, /var/run/php5-fpm.sock is set.
On Debian Buster, this causes a 502 bad gateway because now PHP version is 7.3. On an upgraded installation this should not cause issue but on a fresh install, php5 is not installed at all.
A...In apps.vhost, /var/run/php5-fpm.sock is set.
On Debian Buster, this causes a 502 bad gateway because now PHP version is 7.3. On an upgraded installation this should not cause issue but on a fresh install, php5 is not installed at all.
Also the path has changed, the socket is: /var/run/php/php7.3-fpm.sockhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5351Remote API function dns_templatezone_add issue2019-10-07T14:41:26ZTill BrehmRemote API function dns_templatezone_add issuehttps://www.howtoforge.com/community/threads/problem-on-dns-zone-creation-after-update-to-3-1-14p1.82392/https://www.howtoforge.com/community/threads/problem-on-dns-zone-creation-after-update-to-3-1-14p1.82392/3.1.15https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5350Insufficient escaping of whitespace in FTP user paths2019-07-23T20:31:18ZWHOInsufficient escaping of whitespace in FTP user pathsUnder "Web pages" => "Web access" => "FTP user" => Edit or create new => "Options" => "Directory
If you store e.g. /var/www/clients/client23/web167/ /root/TEST the folder TEST with the user rights of the FTP account will be created in /...Under "Web pages" => "Web access" => "FTP user" => Edit or create new => "Options" => "Directory
If you store e.g. /var/www/clients/client23/web167/ /root/TEST the folder TEST with the user rights of the FTP account will be created in /root/. What is even worse is that the permissions of existing folders are overwritten.
Scope: A valid client login with active website module and the permission to add FTP users in client limits is required to access the FTP user path setting.
Note: The original report has been translated to English by ISPConfig developers and the scope information has been added.3.1.14p2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5349Debian 10 - Update Packagelist - No packages to read in2019-09-02T14:12:23ZMichal PiatekDebian 10 - Update Packagelist - No packages to read inAfter installation on 3 servers i cant update package list:
Update Packagelist - No packages to read in
OS: Debian 10
ISPConfig 3.1.14p1
But it looks / refresh OK on Debian 9.
system installed base on tutorial:
https://www.howtoforge...After installation on 3 servers i cant update package list:
Update Packagelist - No packages to read in
OS: Debian 10
ISPConfig 3.1.14p1
But it looks / refresh OK on Debian 9.
system installed base on tutorial:
https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/
Hope its just me and ther is simple solution for this issue.
Regards,
Michalhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5348Virtual server config panel showing without active VServer2019-09-02T13:45:00ZMark CraxfordVirtual server config panel showing without active VServer![Screenshot_20190720_120620](/uploads/462765d49c4f4dfd939b3ffdceadc872/Screenshot_20190720_120620.jpg)![Screenshot_20190720_120717](/uploads/47117b5711b474ea91b5ad9f17acc31e/Screenshot_20190720_120717.jpg)
Cluster setup (incomplete)
V...![Screenshot_20190720_120620](/uploads/462765d49c4f4dfd939b3ffdceadc872/Screenshot_20190720_120620.jpg)![Screenshot_20190720_120717](/uploads/47117b5711b474ea91b5ad9f17acc31e/Screenshot_20190720_120717.jpg)
Cluster setup (incomplete)
Virtual server button shows on dashboard and is accessible. No virtual server configured or package(s) installed. Will update when cluster is complete.
Debian 10 Buster.
Apache2 2.4.38
Php 7.3
Ispconfig sourced on the 19 July 2019 (Is there a version check in the gui?) http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz3.1.15https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5346APS Installer is not installing2020-06-05T17:24:21ZfrostAPS Installer is not installing## Steps to reproduce:
1. Update Package list
2. Go to available packages look for wordpress(for example) and install
3. Provided necessary info and click install.
4. It redirects to Installed Packages. But its empty.
No Apache, ISPco...## Steps to reproduce:
1. Update Package list
2. Go to available packages look for wordpress(for example) and install
3. Provided necessary info and click install.
4. It redirects to Installed Packages. But its empty.
No Apache, ISPconfig, MySQL error/warning found.
ISPConfig log level: Debug
My first installation was ISPConfig 3.1.13. When I test it out its not working. So I updated my ISPConfig to 3.1.14p1 to see if it will change anything. Unfortunately, issue still occurs.
## environment
New multiserver environment with dedicate web, dns, mysql and mail server
* Server OS: Ubuntu
* Server OS version: 18.04.01
* ISPConfig version: 3.1.14p1
* Apache version: Apache/2.4.29
* PHP version: 7.2.19
* MySQL version: 5.7.26
Possible related bug #5234 #4390https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5344Incomplete chroot configuration if user "is currently logged in"2020-09-18T19:48:18ZZakIncomplete chroot configuration if user "is currently logged in"## short description
On creation of a chrooted cronjob, the jail is initialized if needed and the homedir of the affected user gets reconfigured via *usermod --home=/var/www/clients/clientXXX/webXXX/./home/webXXX webXXX*. The command how...## short description
On creation of a chrooted cronjob, the jail is initialized if needed and the homedir of the affected user gets reconfigured via *usermod --home=/var/www/clients/clientXXX/webXXX/./home/webXXX webXXX*. The command however will fail, if the user is logged in or a process is running under the user which is always the case if using php-fpm.
Due to the misconfigured user the chrooted cronjob can't be executed and the following will be logged in ''/var/log/auth.log'':
`jk_chrootsh[30473]: abort, homedir '/var/www/clients/clientXXX/webXXX' for user webXXX (XXX) does not contain the jail separator <jail>/./<home>`
## environment
Server OS: (probably all)
Server OS version: (probably all)
ISPConfig version: (3.14)
## proposed fix
- Since neither the files relevant for the chroot are removed, nor the users homedir is reconfigured upon deletion of all chrooted cronjobs the user should be initially created with the "jailed" homedir which would render a later reconfiguration unnecessary.
- Alternatively ''/etc/passwd'' could be altered directly without invoking the ''usermod'' command.3.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5341CSS Styles do not load in ISPConfig UI when no SSL is used2019-07-15T14:41:45ZTill BrehmCSS Styles do not load in ISPConfig UI when no SSL is usedCSS Styles do not load in ISPConfig UI when no SSL is used and login problems when no SSL is used.CSS Styles do not load in ISPConfig UI when no SSL is used and login problems when no SSL is used.3.1.14p2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5340Dovecot on Debian buster2019-07-20T07:27:54ZHelmoDovecot on Debian busterAfter upgrading a test server to Debian Buster I noticed this message in the systemlogs when a mail is delivered.
`status=sent (delivered via dovecot service (doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -P...After upgrading a test server to Debian Buster I noticed this message in the systemlogs when a mail is delivered.
`status=sent (delivered via dovecot service (doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf d))`
When running `doveconf -Pn`, you get:
```
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:9: ssl_protocols has been replaced by ssl_min_protocol
doveconf: Warning: please set ssl_dh=</etc/dovecot/dh.pem
doveconf: Warning: You can generate it with: dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dhparam -inform der > /etc/dovecot/dh.pem
```
See also https://wiki2.dovecot.org/Upgrading/2.33.1.14p2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5334Stale cron lockfile not deleted correctly2019-07-09T19:25:04ZMarius BurkardStale cron lockfile not deleted correctlyWhen a stale cron lock is found this is not correctly deleted until it is older than one day, caused by e7f95dbe999e9ab73566237a2863bb97c0301f0cWhen a stale cron lock is found this is not correctly deleted until it is older than one day, caused by e7f95dbe999e9ab73566237a2863bb97c0301f0cMarius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5332Information in Monitor tab dosn't update2019-07-09T18:00:12ZPacoInformation in Monitor tab dosn't updateAfter update to 3.1.14 - in Monitor tab after over than 8 hours still shown information it is not correct.
All packages was updated. See the screenshot
OS - Debian 9
![isp-debian](/uploads/ffc34f041cda51287d8d761b8d1eb785/isp-debian.png)After update to 3.1.14 - in Monitor tab after over than 8 hours still shown information it is not correct.
All packages was updated. See the screenshot
OS - Debian 9
![isp-debian](/uploads/ffc34f041cda51287d8d761b8d1eb785/isp-debian.png)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5331Disallow 0 as website harddisk quota value2019-07-05T10:16:12ZTill BrehmDisallow 0 as website harddisk quota valueDisallow 0 as website harddisk quota value as this is treated by the quota command as unlimited too while ISPConfig uses -1 as unlimited value.Disallow 0 as website harddisk quota value as this is treated by the quota command as unlimited too while ISPConfig uses -1 as unlimited value.3.1.14https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5326LE Renewal issue on systems that use the relative symlink option for websites2019-06-26T13:48:15ZTill BrehmLE Renewal issue on systems that use the relative symlink option for websitesThere is an issue with LE renewals when the relative symlinks option is on under system > server config > web. This option is off by default and only needed on some specific chrooted apache configurations, not used in any standard ISPCon...There is an issue with LE renewals when the relative symlinks option is on under system > server config > web. This option is off by default and only needed on some specific chrooted apache configurations, not used in any standard ISPConfig setup, so very few users are affected by this.3.1.14https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5313Extend custom php.ini check regex2019-07-03T10:02:49ZTill BrehmExtend custom php.ini check regexhttps://forum.howtoforge.de/threads/fehler-invalid_custom_php_ini_settings_txt.11654/#post-57922https://forum.howtoforge.de/threads/fehler-invalid_custom_php_ini_settings_txt.11654/#post-579223.1.14https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5311PHP directives PHP_INI_SYSTEM not working for PHP-FPM2020-03-01T21:55:08ZJavier pasquinPHP directives PHP_INI_SYSTEM not working for PHP-FPM## short description
You can edit custom directives for php.ini on the ISPConfig Panel.
In php-fpm case when you declare a directive of type PHP_INI_SYSTEM it dosen't apply to system, because you have to edit in the php pool php.ini
The ...## short description
You can edit custom directives for php.ini on the ISPConfig Panel.
In php-fpm case when you declare a directive of type PHP_INI_SYSTEM it dosen't apply to system, because you have to edit in the php pool php.ini
The problem is when you create a phpinfo file.
You can see the value that you configured on the panel, but it's not applying correctly.
The value that is applying is the value on php.ini pool.
## correct behaviour
If you configure a directive type PHP_INI_SYSTEM on a php-fpm hosting, ISPConfig must detect it and not write to fpm conf.
In my case it is happening with 'disable_functions'
Maybe the easiest way for this issue is to create a new field like 'PHP open_basedir:' (PHP disable_functions:) and when is a php-fpm hosting show that is not configurable at least you configure on the general php.ini.
## environment
Server OS: debian
Server OS version: Stretch
ISPConfig version: 3.1.11https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5307Monitor HD Quota Invalid Files value2020-09-21T21:04:26ZBrianMonitor HD Quota Invalid Files value## short description
When "grace" value is not empty in user quota (repquota -au) like this:
`web314 +- 188604 81920 82944 6dnů 7938 0 0`
the incorrect "files" value is parsed by 100-monitor_hd_quota.inc.php.
## c...## short description
When "grace" value is not empty in user quota (repquota -au) like this:
`web314 +- 188604 81920 82944 6dnů 7938 0 0`
the incorrect "files" value is parsed by 100-monitor_hd_quota.inc.php.
## correct behaviour
Parse used files value.
## proposed fix
when the "grace" value is set in user quota this works:
```
$data['user'][$username]['files'] += $s[6];
```
but when the "grace" is not set works this correctly:
```
$data['user'][$username]['files'] += $s[5];
```
So, maybe add some condition to the 100-monitor_hd_quota.inc.php ?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5302CentOS OS version not detected on Monitor tab2020-08-06T20:14:06ZPacoCentOS OS version not detected on Monitor tabCentOS OS version not detected on Monitor tab.
Showing - Server: my.servername.com (CentOS Unknown) ISPConfig 3.1.13p1
# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)CentOS OS version not detected on Monitor tab.
Showing - Server: my.servername.com (CentOS Unknown) ISPConfig 3.1.13p1
# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5298mailbox bcc recipient addresses malformed2020-07-27T09:30:48ZJo. B.mailbox bcc recipient addresses malformed## What is happening:
If entering more than one E-Mail Address into the field:
ISPConfig -> Email -> Email Mailbox -> Send outgoing BCC to: (seperate multiple email addresses with comma)
the addresses are not handled correctly (eg: mail...## What is happening:
If entering more than one E-Mail Address into the field:
ISPConfig -> Email -> Email Mailbox -> Send outgoing BCC to: (seperate multiple email addresses with comma)
the addresses are not handled correctly (eg: mail@example1.com,mail@example2.com is set as <mail@example1.com,mail@example2.com> recipient)
This address is unknown and rejected my the - in this case example2.com - receiving mailserver.
This happens also with an additional space between the addresses (eg: mail@example1.com, mail@example2.com is set as <mail@example1.com, mail@example2.com>)
## correct behaviour
Mail should be sent to both (or more) email addresses
## environment
Server OS: debian
Server OS version: jessie
ISPConfig version: 3.1.13p1
## references
This has also been discussed here:
https://www.howtoforge.com/community/threads/sender_cc-merge-mail-address-wrongly.79271/3.2