ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2017-06-25T10:54:13Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/457Multiple Server Setup2017-06-25T10:54:13ZChrisMultiple Server SetupDue the setup this error exists:
Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
MySQL master server hostname []: server.host.xx
MySQL master server root username [root]:
MySQL master server root p...Due the setup this error exists:
Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
MySQL master server hostname []: server.host.xx
MySQL master server root username [root]:
MySQL master server root password []: pwd
MySQL master server database name [dbispconfig]: ispconfig
Adding ISPConfig server record to database.
Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /tmp/trunk/install/lib/mysql.lib.php on line 78
Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /tmp/trunk/install/lib/mysql.lib.php on line 165https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/439Debian5 after ispconfig_update_from_svn.sh breack fastcgi2017-06-25T10:54:13ZGiuseppe F.Debian5 after ispconfig_update_from_svn.sh breack fastcgiInstalling ISPConfig3 from trunk works fine, but if I run ispconfig_update_from_svn.sh I experience this error:
System Debian 5
Updating Crontab
Restarting services ...
Stopping MySQL database server: mysqld.
Starting MySQL dat...Installing ISPConfig3 from trunk works fine, but if I run ispconfig_update_from_svn.sh I experience this error:
System Debian 5
Updating Crontab
Restarting services ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Stopping SASL Authentication Daemon: saslauthd.
Starting SASL Authentication Daemon: saslauthd.
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
Stopping ClamAV daemon: clamd Waiting . . .
Starting ClamAV daemon: clamd .
Stopping Courier authentication services: authdaemond.
Starting Courier authentication services: authdaemond.
Stopping Courier IMAP server: imapd.
Starting Courier IMAP server: imapd.
Stopping Courier IMAP-SSL server: imapd-ssl.
Starting Courier IMAP-SSL server: imapd-ssl.
Stopping Courier POP3 server: pop3d.
Starting Courier POP3 server: pop3d.
Stopping Courier POP3-SSL server: pop3d-ssl.
Starting Courier POP3-SSL server: pop3d-ssl.
Warning: DocumentRoot [/var/www/ispconfig/] does not exist
Syntax error on line 20 of /etc/apache2/sites-enabled/000-ispconfig.vhost:
can't get fastcgi file info: /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter(/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter), errno: 2
Restarting web server: apache2 failed!
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
Update finished.
Thanks for your work.3.0.1 Finalhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/437quota don't work2017-06-25T10:54:13ZSeberITquota don't workDisk and traffic quota for sites don't work for.Disk and traffic quota for sites don't work for.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/383Shell user can not be set back to jailkit2017-06-25T10:54:13ZNed HadShell user can not be set back to jailkitIf a jailkit shell user's Chroot Shell is changed from jailkit to 'None', and then back from 'None' to Jailkit the user's shell is not set back to jailkit.If a jailkit shell user's Chroot Shell is changed from jailkit to 'None', and then back from 'None' to Jailkit the user's shell is not set back to jailkit.Oliver VogelOliver Vogelhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/382Clients that have shell users can change from jailkit to BASH2017-06-25T10:54:13ZNed HadClients that have shell users can change from jailkit to BASHClients can change the 'Chroot Shell' option for their shell users, which is really bad since the users which are limited to jailkit can get /bin/bash ...:(
All they have to do is select 'NONE' for Chroot Shell.
This is critical ...Clients can change the 'Chroot Shell' option for their shell users, which is really bad since the users which are limited to jailkit can get /bin/bash ...:(
All they have to do is select 'NONE' for Chroot Shell.
This is critical security vise.3.0.0.9 RC2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/371Serial number update when adding a record to dns zone2017-06-25T10:54:13ZBergur HaukdalSerial number update when adding a record to dns zoneHi!
In this function in all the dns_*_edit.php in interface/web/dns:
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of...Hi!
In this function in all the dns_*_edit.php in interface/web/dns:
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT sys_groupid FROM dns_soa WHERE id = '".intval($this->dataRecord["zone"])."' AND ".$app->tform->getAuthSQL('r'));
$app->db->datalogUpdate('dns_rr', "sys_groupid = ".$soa['sys_groupid'], 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
}
sys_groupid is being selected from dns_soa, but later in the function $soa["serial"] is used to get the current serial, but that doesn't work because serial is not being fetched in the sql query.
Query should look like this: ("SELECT sys_groupid,serial FROM dns_soa WHERE id = '".intval($this->dataRecord["zone"])."' AND ".$app->tform->getAuthSQL('r'))
Note the added "serial".
Ain't I right ? :D
Thanks,
BergurBergur HaukdalBergur Haukdalhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/364Client creates DNS zone on the wrong server2017-06-25T10:54:13ZBergur HaukdalClient creates DNS zone on the wrong serverHi all!
When a client logs in and creates a new DNS zone on his account the Zone is created on the wrong server, looks like it's always created on server_id = 1.
But in my case the default server for this user has the id of 23.
...Hi all!
When a client logs in and creates a new DNS zone on his account the Zone is created on the wrong server, looks like it's always created on server_id = 1.
But in my case the default server for this user has the id of 23.
I saw that another user reported the same error when client creates a website: Quote:
"A client which has a default webserver defined, creates a new website 'server_id 1' (in my case an other webserver) instead of the 'default' webserver which was defined.
This seems to be a frontend issue, as the wrong server_id is mentioned in the job queue."
Thanks.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/352[HTTPS] - Configure Apache to listen on port 4432017-06-25T10:54:13ZTill Brehm[HTTPS] - Configure Apache to listen on port 443When an SSL web site is created, configure Apache automatically to listen on port 443, if it is not already listening on that port.When an SSL web site is created, configure Apache automatically to listen on port 443, if it is not already listening on that port.3.0.0.9 RC2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/348Apache error2017-06-25T10:54:13ZTill BrehmApache error[Tue Jan 20 00:04:54 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
This happens when I create a web site for the IP *. The error dis...[Tue Jan 20 00:04:54 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
This happens when I create a web site for the IP *. The error disappears as soon as I add "NameVirtualHost *:80" to the vhost configuration or replace "<VirtualHost *:80>" with "<VirtualHost *>".3.0.0.9 RC2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/323jailkit users cannot login2017-06-25T10:54:13ZNed Hadjailkit users cannot loginIf I create a jailkit user I cannot login to the system with that user, after typing my password the server logs me out immediately. The logs:
immortal:/etc/webalizer# tail /var/log/auth.log
Jan 12 12:01:01 immortal sshd[22404]: Ac...If I create a jailkit user I cannot login to the system with that user, after typing my password the server logs me out immediately. The logs:
immortal:/etc/webalizer# tail /var/log/auth.log
Jan 12 12:01:01 immortal sshd[22404]: Accepted password for nedim-1 from IP port 65278 ssh2
Jan 12 12:01:01 immortal sshd[22506]: (pam_unix) session opened for user nedim-1 by (uid=0)
Jan 12 12:01:01 immortal jk_chrootsh[22511]: path /var/clients/client2/web2 is not owned by user 0
Jan 12 12:01:01 immortal jk_chrootsh[22511]: path /var/clients/client2/web2 is not owned by group 0
Jan 12 12:01:01 immortal jk_chrootsh[22511]: abort, /var/clients/client2/web2 is not a safe chroot jail.
Jan 12 12:01:01 immortal sshd[22506]: (pam_unix) session closed for user nedim-1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/295Unknown column 'auto_network_configuration' in 'field list'2017-06-25T10:54:15ZDazUnknown column 'auto_network_configuration' in 'field list'I am trying to re-add my server through the server config page after I deleted it whilst experimenting, as any FTP logins I added were not working. I believe this was due to the server ID for the FTP user (in the ftp_user DB table) not b...I am trying to re-add my server through the server config page after I deleted it whilst experimenting, as any FTP logins I added were not working. I believe this was due to the server ID for the FTP user (in the ftp_user DB table) not being '1', as delcared in /etc/pure-ftpd/db/mysql.conf (the server_id for added logins was 0).
Please see screenshots:
http://thefuzzy0ne.co.uk/ispconfig/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/286Apache2 default settings not deleted while installation2017-06-25T10:54:15ZGal BukiApache2 default settings not deleted while installationWhen installing on a new Debian Etch system the file /etc/apache2/sites-enabled/000-default is not deleted and thus all domains are redirectd to the apache2 default folder /var/www/apache2-defaultWhen installing on a new Debian Etch system the file /etc/apache2/sites-enabled/000-default is not deleted and thus all domains are redirectd to the apache2 default folder /var/www/apache2-defaulthttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/267Parse error in trunk/install/install.php2017-06-25T10:54:15ZBenjaminParse error in trunk/install/install.phpI get the following parse error when I run php -q install.php
"Parse error: syntax error, unexpected '{' in /tmp/trunk/install/lib/installer_base.lib.php on line 731"I get the following parse error when I run php -q install.php
"Parse error: syntax error, unexpected '{' in /tmp/trunk/install/lib/installer_base.lib.php on line 731"https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/195DNS Zone Records screen in new theme lacking data2017-06-25T10:54:15ZskeldofDNS Zone Records screen in new theme lacking dataIn the new theme the DNS Zone's Records tab does not display useful data.
Old theme displayed:
[tick.icon] | A | ns1 | x.x.x.x | [delete.icon]
New theme displays:
Yes | server.mydomain.com | | | [delete.icon]In the new theme the DNS Zone's Records tab does not display useful data.
Old theme displayed:
[tick.icon] | A | ns1 | x.x.x.x | [delete.icon]
New theme displays:
Yes | server.mydomain.com | | | [delete.icon]3.0.0.8 RC1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/194error after login2017-06-25T10:54:15ZSeberITerror after loginAfter updating to version SVN 518, I get an error after loggin in:
Fatal error: Call to a member function queryAllRecords() on a non-object in /usr/local/ispconfig/interface/web/monitor/lib/module.conf.php on line 16
I don't see th...After updating to version SVN 518, I get an error after loggin in:
Fatal error: Call to a member function queryAllRecords() on a non-object in /usr/local/ispconfig/interface/web/monitor/lib/module.conf.php on line 16
I don't see the menu, but when I do a refresh, I am logged in actually.3.0.0.8 RC1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/183database dumped if you don't update just right.2017-06-25T10:54:15ZWilliamdatabase dumped if you don't update just right.This sucked. Alright, it seems the database was dumped. Here is what happened. the update failed because I was in /tmp when I issued the command rather than /tmp/trunk/installer/
root@ubuntu:/tmp# php -q trunk/install/update.php
...This sucked. Alright, it seems the database was dumped. Here is what happened. the update failed because I was in /tmp when I issued the command rather than /tmp/trunk/installer/
root@ubuntu:/tmp# php -q trunk/install/update.php
--------------------------------------------------------------------------------
_____ ___________ _____ __ _
|_ _/ ___| ___ \ / __ \ / _(_)
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
--------------------------------------------------------------------------------
>> Update
Operating System: Debian Lenny/Sid or compatible
This application will update ISPConfig 3 on your server.
MySQL root password []: ******
sh: cannot open sql/ispconfig3.sql: No such file
ERROR: Unable to load SQL-Dump into database table.
root@ubuntu:/tmp# cd trunk/install/
root@ubuntu:/tmp/trunk/install# php -q update.php
--------------------------------------------------------------------------------
_____ ___________ _____ __ _
|_ _/ ___| ___ \ / __ \ / _(_)
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
--------------------------------------------------------------------------------
>> Update
Operating System: Debian Lenny/Sid or compatible
This application will update ISPConfig 3 on your server.
MySQL root password []: ********
Warning: Invalid argument supplied for foreach() in /tmp/trunk/install/update.php on line 153
Reconfigure Services? (yes,no) [yes]: no
Updating ISPConfig
ISPConfig Port [8080]:
groupadd: group ispconfig exists
useradd: user ispconfig exists
Reconfigure Crontab? (yes,no) [yes]: no
Update finished.
root@ubuntu:/tmp/trunk/install#https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/112index.html of web replaced after adding alias domain2017-06-25T10:54:15ZSeberITindex.html of web replaced after adding alias domainWhen I add an alias domain for a web, the index.html file of that web is overwritten, showing the "welcome to your website" page again.When I add an alias domain for a web, the index.html file of that web is overwritten, showing the "welcome to your website" page again.3.0.0.7 Betahttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/111After every update, master.cf is extended with same settings block(rev 416)2017-06-25T10:54:15ZSeberITAfter every update, master.cf is extended with same settings block(rev 416)After x updates of my ISPconfig 3 install (from SVN), I have the following block x times in my /etc/postfix/master.cf:
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
12...After x updates of my ISPconfig 3 install (from SVN), I have the following block x times in my /etc/postfix/master.cf:
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.13.0.0.7 Betahttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/62Install/upgrdae script: error in configuring postfix main.cf2017-06-25T10:54:15ZRoberto BragaInstall/upgrdae script: error in configuring postfix main.cfThe default main.cf file contains
myhostname = server1.example.com
mydestination = server1.example.com, localhost, localhost.localdomain
The mydestination should not create problems since it is extracted also from the database, bu...The default main.cf file contains
myhostname = server1.example.com
mydestination = server1.example.com, localhost, localhost.localdomain
The mydestination should not create problems since it is extracted also from the database, but myhostname is used as sender SMTP in the email header and it can cause the mail to be dropped as spam by the destination server since such domain do not exist.
The installation/update script should ask for it or take the domain name from the systemhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6669mail_domain_add() with api - fires mail_mail_domain_edit with event where a "...2024-03-21T18:52:53ZHannesmail_domain_add() with api - fires mail_mail_domain_edit with event where a "new domain" case check is missing on user/spamlist updateOn line 63 of mail_mail_domain_plugin.inc.php the code checks if there is domain name change or owner change for mailbox/spamfilter update.
It checks if oldDataRecord exists but this record exists on mail_domain_add() too (empty but exi...On line 63 of mail_mail_domain_plugin.inc.php the code checks if there is domain name change or owner change for mailbox/spamfilter update.
It checks if oldDataRecord exists but this record exists on mail_domain_add() too (empty but exists) and oldDataRecord\['domain'\] != $domain is true too (because oldDataRecord\['domain'\] is empty/undef) - so the code get executed. I am not sure if it update anything because mostly search for email %@olddomain and olddomain ist empty but think it is better to check if oldDataRecord\['domain'\] exists
```
diff --git a/interface/lib/plugins/mail_mail_domain_plugin.inc.php b/interface/lib/plugins/mail_mail_domain_plugin.inc.php
--- a/interface/lib/plugins/mail_mail_domain_plugin.inc.php
+++ b/interface/lib/plugins/mail_mail_domain_plugin.inc.php (date 1711013653411)
@@ -60,7 +60,7 @@
}
//** If the domain name or owner has been changed, change the domain and owner in all mailbox records
- if($page_form->oldDataRecord && ($page_form->oldDataRecord['domain'] != $domain ||
+ if($page_form->oldDataRecord && !empty($page_form->oldDataRecord['domain']) && ($page_form->oldDataRecord['domain'] != $domain ||
(isset($page_form->dataRecord['client_group_id']) && $page_form->oldDataRecord['sys_groupid'] != $page_form->dataRecord['client_group_id']))) {
$app->uses('getconf');
$mail_config = $app->getconf->get_server_config($page_form->dataRecord["server_id"], 'mail');
```3.2.12