ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2017-08-10T20:10:38Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3686confusing Czech translation bug - mail domain catchall destination field2017-08-10T20:10:38ZStepan Liskaconfusing Czech translation bug - mail domain catchall destination fieldHi,
I've found a tiny bug in Czech translation, but it's quite confusing bug. In the file
http://git.ispconfig.org/ispconfig/ispconfig3/blob/master/interface/web/mail/lib/lang/cz_mail_domain_catchall.lng
on the line 3
there is w...Hi,
I've found a tiny bug in Czech translation, but it's quite confusing bug. In the file
http://git.ispconfig.org/ispconfig/ispconfig3/blob/master/interface/web/mail/lib/lang/cz_mail_domain_catchall.lng
on the line 3
there is wrong translation: $wb['destination_txt'] = 'Popis';
correct translation should be: $wb['destination_txt'] = 'Cíl';
The word "Popis" means "Description" in Czech, so it is quite confusing for users what to fill in.
Thank you,
Stepan.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3685mailman issues with postmap2017-08-10T20:10:38ZDiegomailman issues with postmapIn server/plugins-available/mailman_plugin.inc.php in the function insert, postmap should be delayed since previous command newlist is executed on background, so postmap most times is executed before virtual-mailman is quite finished, I ...In server/plugins-available/mailman_plugin.inc.php in the function insert, postmap should be delayed since previous command newlist is executed on background, so postmap most times is executed before virtual-mailman is quite finished, I added a 5 seconds sleep to be sure, but in high load scenarios could be not enough, perhaps it should be better not to exec with a nohup, so we are shure previous command is fully executed.
function insert($event_name, $data) {
global $app, $conf;
$this->update_config();
exec("nohup /usr/lib/mailman/bin/newlist -u ".escapeshellcmd($data["new"]["domain"])." -e ".escapeshellcmd($data["new"]["domain"])." ".escapeshellcmd($data["new"]["listname"])." ".escapeshellcmd($data["new"]["email"])." ".escapeshellcmd($data["new"]["password"])." >/dev/null 2>&1 &");
+++++ sleep(5);
if(is_file('/var/lib/mailman/data/virtual-mailman')) exec('postmap /var/lib/mailman/data/virtual-mailman');
if(is_file('/var/lib/mailman/data/transport-mailman')) exec('postmap /var/lib/mailman/data/transport-mailman');
exec('nohup '.$conf['init_scripts'] . '/' . 'mailman reload >/dev/null 2>&1 &');
$app->db->query("UPDATE mail_mailinglist SET password = '' WHERE mailinglist_id = ?", $data["new"]['mailinglist_id']);
}3.1Florian SchaalFlorian Schaalhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3680Multiple php-fpm versions under CentOS2017-08-10T20:10:38ZMartin SauerMultiple php-fpm versions under CentOSTo activate other php-fpm versions, the fpm-services need to be restarted.
Under CentOS7 ispconfig has "systemctl restart php-fpm.service" hardcoded (see web-module) due to systemd
Result: switching php-fpm versions under CentOS7 i...To activate other php-fpm versions, the fpm-services need to be restarted.
Under CentOS7 ispconfig has "systemctl restart php-fpm.service" hardcoded (see web-module) due to systemd
Result: switching php-fpm versions under CentOS7 is not possible in default ispconfig.
Solutions:
Option1: create service dependencies of php-fpm in systemd under CentOS7. In that case a tutorial is needed for proper dependencies.
Option2: If OS=CentOS7+ Then initd-script-path=systemd name. So that ispconfig can restart the individual services. Needs a rewrite of web-module.
Option3: Add another field in php-fpm properties "systemd-name". Needs a rewrite of web-module.
Option4: ignore CentOS7-"patch". Since CentOS7+ can still handle initd scripts if properly configured, there is actually no need to handle CentOS seperately. Just use the initd scripts.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3674server can't be both mail and dns slave2017-08-10T20:10:38ZJesse Norellserver can't be both mail and dns slaveI setup a multi-server setup with 2 servers, one web/mysql/dns and the second mail/dns. This seems to be an unsupported combination, as you must configure the second server as a slave of the first in order for DNS to work correctly, and...I setup a multi-server setup with 2 servers, one web/mysql/dns and the second mail/dns. This seems to be an unsupported combination, as you must configure the second server as a slave of the first in order for DNS to work correctly, and you must configure it to not be a slave for email to work correctly.
Problem symptoms: when configured as a slave, you can't select this server when you try to add a new email domain/address/etc. - when not configured as a slave, you don't get dns zones setup on both dns servers, only one or the other (whichever you select in the menu).
I tried making the first server a slave of the second, and a similar problem exists in mysql, ie. you cannot select the first server from the list when you add a database.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3823Stable 3.1: New Mailbox: Autoresponder validation2017-08-10T20:10:37ZAlex von FiresplashStable 3.1: New Mailbox: Autoresponder validationWhen creating a new mailbox and clicking through the ribbons, you can't leave the autoresponder-ribbon without filling the date-fields even when enable checkbox is not set.
Further the validator always fails.
Enable: [ ]
Start on:...When creating a new mailbox and clicking through the ribbons, you can't leave the autoresponder-ribbon without filling the date-fields even when enable checkbox is not set.
Further the validator always fails.
Enable: [ ]
Start on: 2016-04-13 10:35
End by: 2016-04-22 18:35
---
Result: End date must be set and be later than start date.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3819v3.1 Unescaped strings in language files after installation vs source throws ...2017-08-10T20:10:37Zhvv3.1 Unescaped strings in language files after installation vs source throws 500 errorI installed the latest 3.1 version yesterday as follow:
```shell
cd /tmp
wget -O ispconfig3-dev.tar.gz "https://git.ispconfig.org/ispconfig/ispconfig3/repository/archive.tar.gz?ref=stable-3.1"
tar xzf ispconfig3-dev.tar.gz
cd ispcon...I installed the latest 3.1 version yesterday as follow:
```shell
cd /tmp
wget -O ispconfig3-dev.tar.gz "https://git.ispconfig.org/ispconfig/ispconfig3/repository/archive.tar.gz?ref=stable-3.1"
tar xzf ispconfig3-dev.tar.gz
cd ispconfig3-stable*/install
```
After installation navigating / calling stuff in ISPConfig under System-Interface-Main Config
produces 500 errors in Apache log file like this:
```apache
[fcgid:warn] [pid 16867:tid 139865555465984] [client XXXXXX:61311] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected 's' (T_STRING) in /usr/local/ispconfig/interface/web/admin/lib/lang/en_system_config.lng on line 43, referer: https://xxxxxx:8080/index.php?phpsessid=5su4s2fbd28b06qjsffqom0ib1
```
```shell
cat -n /usr/local/ispconfig/interface/web/admin/lib/lang/en_system_config.lng | grep "^ *43"
```
gives
``` 43 $wb["admin_mail_txt"] = 'Administrator's e-mail';```
but in original source file
```shell
cat -n /tmp/ispconfig3-stable-3.1-65164295778caa2c4e623e7c8e195f2aa3560121/interface/web/admin/lib/lang/en_system_config.lng | grep "^ *39"
```
``` 39 $wb['admin_mail_txt'] = 'Administrator\'s e-mail';```
There seems to be something wrong in the language file installation process?
3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3816CentOS 7 restart FPM bugs2017-08-10T20:10:37ZNick AndriopoulosCentOS 7 restart FPM bugsHello,
the current stable ISPConfig version ( 3.0.5.4p9 ) contains a number of overrides in the `restartPHP_FPM()` function in `/usr/local/ispconfig/server/mods-available/web_module.inc.php` specifically for CentOS7.
However, in my...Hello,
the current stable ISPConfig version ( 3.0.5.4p9 ) contains a number of overrides in the `restartPHP_FPM()` function in `/usr/local/ispconfig/server/mods-available/web_module.inc.php` specifically for CentOS7.
However, in my case, those actually break the FPM functionality instead of fixing it for CentOS7.
My web environment:
- `php-fpm` service ( from CentOS repo, version 5.4 )
- `php56-php-fpm` service ( from Remi safe repo, version 5.6 )
- `php70-php-fpm` service ( from Remi safe repo, version 7.0 )
I have added both PHP56 and PHP70 as "Additional PHP Versions", using the following init script :
- php56: `php56-php-fpm`
- PHP70: `php70-php-fpm`
When I add a site for a specific FPM version, ISPConfig correctly creates a config file in the appropriate directory, and tries to reload the specific FPM version.
However, this is overridden by an `if` in the `restartPHP_FPM()` function:
[...]
if($action == 'reload' && $init_script == $conf['init_scripts'].'/'.$web_config['php_fpm_init_script']) {
[...]
if(preg_match('/^ID=centos/m', $tmp) && preg_match('/^VERSION_ID="7"/m', $tmp)) {
$initcommand = 'systemctl restart php-fpm.service';
}
[...]
}
__There is a similar block right after it, which I omit for brevity.__ What this does, is that it basically hard-wires ISPConfig to only recognise `php-fpm.service` on CentOS7 for FPM.
As an example, let's assume that for a website I am switching from PHP56 to PHP70 (both FPM). Current behavior:
systemctl reload php-fpm.service
systemctl reload php-fpm.service
This results in... basically nothing. No appropriate service is being reloaded! Commenting out the `$initcommand =...` lines for CentOS7 cases yields the proper behavior:
systemctl reload php56-php-fpm.service
systemctl reload php70-php-fpm.service
Thank you in advance,
Andriopoulos Nick.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3808Missing descriptions & ajax upload bug2017-08-10T20:10:37ZDenny BortfeldtMissing descriptions & ajax upload bugThe ajax upload @ System -> Interface -> Main Config -> Misc will end in a 404:
```
POST https://*****:8080/admin/ajax_get_json.php?id=1&type=uploadfile 404 (Not Found)
k.cors.a.crossDomain.send @ jquery.min.js:4
n.extend.ajax @ jq...The ajax upload @ System -> Interface -> Main Config -> Misc will end in a 404:
```
POST https://*****:8080/admin/ajax_get_json.php?id=1&type=uploadfile 404 (Not Found)
k.cors.a.crossDomain.send @ jquery.min.js:4
n.extend.ajax @ jquery.min.js:4
uploadFiles @ VM418:40
n.event.dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
```
Also the HTML <label>s are empty for the current logo and "choose file" div.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3791Cannot override session.save_path on php-fpm2017-08-10T20:10:37ZMarius BurkardCannot override session.save_path on php-fpmCannot override session.save_path on php-fpm (using custom php.ini directives).Cannot override session.save_path on php-fpm (using custom php.ini directives).3.1Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3790ISPConfig uses wrong master php.ini on custom php2017-08-10T20:10:37ZMarius BurkardISPConfig uses wrong master php.ini on custom phpWhen a web uses a custom php version together with custom php.ini contents, ISPConfig uses the wrong php.ini as a base file.When a web uses a custom php version together with custom php.ini contents, ISPConfig uses the wrong php.ini as a base file.3.1Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3789php-fpm reload workaround targeted at Ubuntu 14.04 breaks newer/fixed PHP pac...2017-08-10T20:10:37ZBen Johnsonphp-fpm reload workaround targeted at Ubuntu 14.04 breaks newer/fixed PHP packages on Ubuntu 14.04On lines 250-252 of `/server/mods-available/web_module.inc.php`, there appears a bit of conditional logic that was added to address Ubuntu 14.04's broken PHP packages (see: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1242376 ):
...On lines 250-252 of `/server/mods-available/web_module.inc.php`, there appears a bit of conditional logic that was added to address Ubuntu 14.04's broken PHP packages (see: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1242376 ):
```php
if(preg_match('/^ID=ubuntu/m', $tmp) && preg_match('/^VERSION_ID="14\.04"/m', $tmp) {
$initcommand = '/sbin/start-stop-daemon --stop --signal USR2 --quiet --pidfile /var/run/php5-fpm.pid --name php5-fpm';
}
```
Due to this bug (and others), many administrators have taken to using Ondřej Surý's PHP packages for Ubuntu (see: https://launchpad.net/~ondrej/+archive/ubuntu/php ), which have been patched against the underlying problem.
Accordingly, when using a "fixed" PHP implementation, the above conditional logic fails to have the intended effect. Instead, it breaks ISPConfig's ability to reload the various PHP daemons involved, which causes countless problems when modifying a website, changing its PHP version, etc.
I described the problem exhaustively in a thread at https://www.howtoforge.com/community/threads/configuring-ispconfig-to-work-with-ondrejs-co-installable-php-5-6-and-7-0-package-on-ubuntu.72242/ .
I propose a very simple fix, which is to add one more logical comparison to that first line:
```
if(preg_match('/^ID=ubuntu/m', $tmp) && preg_match('/^VERSION_ID="14\.04"/m', $tmp) && stristr(phpversion(), 'deb.sury.org') === false) {
```
This will exclude Ondřej Surý's PHP packages from this otherwise necessary workaround.
If anyone has a more robust way to implement this, I'm very interested. Otherwise, I think we should implement this change as soon as possible.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3779ISPConfig seems to disable ssl when an aliasdomain is added2017-08-10T20:10:37ZMarius BurkardISPConfig seems to disable ssl when an aliasdomain is addedIt seems ISPConfig disables the ssl once an alias domain is added for a website with enabled ssl.
I couldn't verify if this only happens with letsencrypt enabled.It seems ISPConfig disables the ssl once an alias domain is added for a website with enabled ssl.
I couldn't verify if this only happens with letsencrypt enabled.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3776Uninstall.php script errors2017-08-10T20:10:37ZStevenUninstall.php script errorsRunning the uninstall.php script gives the following:
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; db_result has a deprecated constructor in /usr/local/ispconfig/serve...Running the uninstall.php script gives the following:
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; db_result has a deprecated constructor in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 967
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; fakedb_result has a deprecated constructor in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 1087
PHP Warning: require(/usr/local/ispconfig/server/mysql_clientdb.conf): failed to open stream: No such file or directory in /tmp/ispconfig3/install/uninstall.php on line 39
PHP Fatal error: require(): Failed opening required '/usr/local/ispconfig/server/mysql_clientdb.conf' (include_path='.:/usr/share/pear') in /tmp/ispconfig3/install/uninstall.php on line 393.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3775Misspelling in uninstall.php script2017-08-10T20:10:37ZStevenMisspelling in uninstall.php scriptAround line 54 of the uninstall.php script the word uninstall is misspelled.
Uninstall script shows this:
Are you sure you want to uninsatll ISPConfig? [no]Around line 54 of the uninstall.php script the word uninstall is misspelled.
Uninstall script shows this:
Are you sure you want to uninsatll ISPConfig? [no]3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3774Errors in automatically generated nginx configuration files2017-08-10T20:10:37ZMario SteinitzErrors in automatically generated nginx configuration filesAfter doing an update from ISPconfig 3.0.5.4p8 to 3.1a1 (current master branch) on Ubuntu running nginx, the webserver won't start up due to two bugs within the ISPconfig vhosts:
(1) invalid number of arguments in "listen" directive i...After doing an update from ISPconfig 3.0.5.4p8 to 3.1a1 (current master branch) on Ubuntu running nginx, the webserver won't start up due to two bugs within the ISPconfig vhosts:
(1) invalid number of arguments in "listen" directive in /etc/nginx/sites-enabled/000-apps.vhost:2
The port is missing.
(2) invalid parameter "on" in /etc/nginx/sites-enabled/000-ispconfig.vhost:4
The semicolon after the previous listen directive is missing.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3770FcgidMaxProcessesPerClass is too high2017-08-10T20:10:37ZBranislav BlaskovicFcgidMaxProcessesPerClass is too highFcgidMaxProcessesPerClass is set to 100 in else branch.
See: http://git.ispconfig.org/ispconfig/ispconfig3/blob/master/server/conf/vhost.conf.master#L289
This value is too high and was adjusted to 10, by commit: http://git.ispconfig....FcgidMaxProcessesPerClass is set to 100 in else branch.
See: http://git.ispconfig.org/ispconfig/ispconfig3/blob/master/server/conf/vhost.conf.master#L289
This value is too high and was adjusted to 10, by commit: http://git.ispconfig.org/ispconfig/ispconfig3/commit/310f4c2a417f9d34f549f18ceac005aca31165ed
But you kinda forgot to edit the else branch too.3.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3766Database quota not shown2017-08-10T20:10:37ZMarius BurkardDatabase quota not shownThe database quota is not shown in the interface (Sites -> Database quota)The database quota is not shown in the interface (Sites -> Database quota)3.1Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3765Database size not calculated2017-08-10T20:10:37ZMarius BurkardDatabase size not calculatedThe database size is not calculated.The database size is not calculated.3.1Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3764Database quota doesn't affect anything2017-08-10T20:10:37ZMarius BurkardDatabase quota doesn't affect anythingWhen a database quota is set and exceeded, there is nothing done but sending a notification email. The database privileges for that database should be set to read and delete only.When a database quota is set and exceeded, there is nothing done but sending a notification email. The database privileges for that database should be set to read and delete only.3.1Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3763Installer adds server ip address twice2017-08-10T20:10:37ZMarius BurkardInstaller adds server ip address twiceIn expert mode the server's ip address is added twice to the ISPConfig database.In expert mode the server's ip address is added twice to the ISPConfig database.3.1Marius BurkardMarius Burkard