ISPConfig 3 issues
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues
2017-11-10T15:25:37Z
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/755
Bug in PL Language - missing toolsarea_head_txt
2017-11-10T15:25:37Z
MvincM
Bug in PL Language - missing toolsarea_head_txt
Missing toolsarea_head_txt in PL Language
Should be:
$wb['toolsarea_head_txt'] = "Narz?dzia";
but there in no line like this in pl.lng
Missing toolsarea_head_txt in PL Language
Should be:
$wb['toolsarea_head_txt'] = "Narz?dzia";
but there in no line like this in pl.lng
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/753
Change destination input to textarea on Email Forward page
2017-11-10T15:25:37Z
Andy Hagadorn
Change destination input to textarea on Email Forward page
I have changed the input form field in mail_forward_edit.htm to a textarea. This allows me to separate email addresses with a carriage return, making long lists easier to look at and manage. The DB and Postfix process the carriage return...
I have changed the input form field in mail_forward_edit.htm to a textarea. This allows me to separate email addresses with a carriage return, making long lists easier to look at and manage. The DB and Postfix process the carriage returns fine, so no other changes are needed, aside from increasing the size of the destination column in the DB (see previous bug report)
I changed:
<input name="destination" id="destination" value="{tmpl_var name='destination'}" size="30" maxlength="255" type="text" class="textInput" />
To:
<textarea rows="10" cols="40" name="destination" id="destination" type="text" class="textInput">{tmpl_var name='destination'}</textarea>
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/751
client mail quota unlimited
2017-11-10T15:25:37Z
bajodel
client mail quota unlimited
Example:
ResellerA assign 100 Mb as (total) mail quota limit to ClientA
ClientA create 2 mailbox with 50 Mb quota, when try to assign more quota to the third mailbox ISPConfig3 notify the quota is reached. ClientA start to asign 0 qu...
Example:
ResellerA assign 100 Mb as (total) mail quota limit to ClientA
ClientA create 2 mailbox with 50 Mb quota, when try to assign more quota to the third mailbox ISPConfig3 notify the quota is reached. ClientA start to asign 0 quota to new mailboxs .. and bypass total quota assigned.
I think that a client should not assign 'unlimited quota' to his mailboxes if he HAS NOT unlimited total mail quota (given from his reseller)
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/750
Reseller and Client can't choose Server IP!
2017-11-10T15:25:37Z
Andreas Rehm
Reseller and Client can't choose Server IP!
I can't set an ip adress for a reseller
This causes trouble with apache. Ip based Virtualhosts are prefered. a * Virtualhost will not show up.
I can't set an ip adress for a reseller
This causes trouble with apache. Ip based Virtualhosts are prefered. a * Virtualhost will not show up.
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/749
Webtraffic bug with 2 server in SVN Version
2017-11-10T15:25:37Z
Xaver Maierhofer
Webtraffic bug with 2 server in SVN Version
If i install SVN version one server it run perfect.
I have a main server and a second one.
The traffic stats not transfer to the main server (Database).
If i install SVN version one server it run perfect.
I have a main server and a second one.
The traffic stats not transfer to the main server (Database).
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/748
sys_datalog state pending
2017-11-10T15:25:37Z
Andreas Rehm
sys_datalog state pending
processed entries keep state pending in sys_datalog
processed entries keep state pending in sys_datalog
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/746
field created_at in table clients
2017-11-10T15:25:37Z
Andreas Rehm
field created_at in table clients
The field created_at in table clients is NULL.
Shouldn't this be set to the creation date?
The field created_at in table clients is NULL.
Shouldn't this be set to the creation date?
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/745
Reseller cannot create database for himself, only for "c0" or subclients.
2017-11-10T15:25:39Z
Ghost User
Reseller cannot create database for himself, only for "c0" or subclients.
If a client can have sub-clients, he'll only be able to create databases for them, if any exist.
If there are no sub-clients, he the drop-down box is empty and any created databases are for client-ID 0.
If a client can have sub-clients, he'll only be able to create databases for them, if any exist.
If there are no sub-clients, he the drop-down box is empty and any created databases are for client-ID 0.
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/744
RewriteRule: unknown flag '[L]'
2017-11-10T15:25:39Z
Ned Had
RewriteRule: unknown flag '[L]'
After update to ISPConfig 3.0.1.4 I get following error, apache dies if restarted.
RewriteRule: unknown flag '[L]'
from file /etc/apache2/sites-enabled/domain.co.uk.vhost
RewriteRule ^/(.*)$ http://www.to-domain.com/$1...
After update to ISPConfig 3.0.1.4 I get following error, apache dies if restarted.
RewriteRule: unknown flag '[L]'
from file /etc/apache2/sites-enabled/domain.co.uk.vhost
RewriteRule ^/(.*)$ http://www.to-domain.com/$1 [[R,L]]
it should just be [R,L] or [L]
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/743
When entered wrong user login data on ispconfig login page
2017-11-10T15:25:39Z
Ned Had
When entered wrong user login data on ispconfig login page
the version number is showed in footer - ISPConfig 3.0.1.4
the version number is showed in footer - ISPConfig 3.0.1.4
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/742
Webalizer stats working only for first domain...
2017-11-10T15:25:39Z
René Adler
Webalizer stats working only for first domain...
incremental stats update on fedora 11 work's only for the first domain if don't use a separate config for every client. i fixed it with following lines of code.
cron_daily.php
--------------
function setConfigVar( $filename, $varN...
incremental stats update on fedora 11 work's only for the first domain if don't use a separate config for every client. i fixed it with following lines of code.
cron_daily.php
--------------
function setConfigVar( $filename, $varName, $varValue ) {
if($lines = @file($filename)) {
$out = '';
$found = 0;
foreach($lines as $line) {
list($key, $value) = split("[\t= ]+", $line, 2);
if($key == $varName) {
$out .= $varName." ".$varValue."\n";
$found = 1;
} else {
$out .= $line;
}
}
if($found == 0) {
//* add \n if the last line does not end with \n or \r
if(substr($out,-1) != "\n" && substr($out,-1) != "\r") $out .= "\n";
//* add the new line at the end of the file
if($append == 1) $out .= $varName." ".$varValue."\n";
}
file_put_contents($filename,$out);
}
}
...
#######################################################################################################
// Create webalizer statistics
#######################################################################################################
$sql = "SELECT domain_id, domain, document_root FROM web_domain WHERE server_id = ".$conf["server_id"];
$records = $app->db->queryAllRecords($sql);
foreach($records as $rec) {
$yesterday = date("Ymd",time() - 86400);
$logfile = escapeshellcmd($rec["document_root"].'/log/'.$yesterday.'-access.log');
if(!@is_file($logfile)) {
$logfile = escapeshellcmd($rec["document_root"].'/log/'.$yesterday.'-access.log.gz');
if(!@is_file($logfile)) {
continue;
}
}
$domain = escapeshellcmd($rec["domain"]);
$statsdir = escapeshellcmd($rec["document_root"].'/web/stats');
$webalizer = '/usr/bin/webalizer';
$webalizer_conf_main = '/etc/webalizer/webalizer.conf';
$webalizer_conf = escapeshellcmd($rec["document_root"].'/log/webalizer.conf');
if(!@is_file($webalizer_conf)) {
exec("cp $webalizer_conf_main $webalizer_conf");
setConfigVar($webalizer_conf, 'Incremental', 'yes');
setConfigVar($webalizer_conf, 'IncrementalName', $logdir.'/webalizer.current');
setConfigVar($webalizer_conf, 'HistoryName', $logdir.'/webalizer.hist');
}
if(!@is_dir($statsdir)) mkdir($statsdir);
exec("$webalizer -c $webalizer_conf -n $domain -s $domain -r $domain -q -T -p -o $statsdir $logfile");
}
for re-create all stats use ...
recalc_stats.php
----------------
```php
<?php
/*
Copyright (c) 2007, Till Brehm, projektfarm Gmbh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of ISPConfig nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require("lib/config.inc.php");
require("lib/app.inc.php");
set_time_limit(0);
// make sure server_id is always an int
$conf["server_id"] = intval($conf["server_id"]);
// Load required base-classes
$app->uses('ini_parser,file,services');
function setConfigVar( $filename, $varName, $varValue ) {
if($lines = @file($filename)) {
$out = '';
$found = 0;
foreach($lines as $line) {
list($key, $value) = split("[\t= ]+", $line, 2);
if($key == $varName) {
$out .= $varName." ".$varValue."\n";
$found = 1;
} else {
$out .= $line;
}
}
if($found == 0) {
//* add \n if the last line does not end with \n or \r
if(substr($out,-1) != "\n" && substr($out,-1) != "\r") $out .= "\n";
//* add the new line at the end of the file
if($append == 1) $out .= $varName." ".$varValue."\n";
}
file_put_contents($filename,$out);
}
}
#######################################################################################################
// Re-Create webalizer statistics
#######################################################################################################
$sql = "SELECT domain_id, domain, document_root FROM web_domain WHERE server_id = ".$conf["server_id"];
$records = $app->db->queryAllRecords($sql);
foreach($records as $rec) {
$domain = escapeshellcmd($rec["domain"]);
$logdir = escapeshellcmd($rec["document_root"].'/log');
$statsdir = escapeshellcmd($rec["document_root"].'/web/stats');
$webalizer = '/usr/bin/webalizer';
$webalizer_conf_main = '/etc/webalizer/webalizer.conf';
$webalizer_conf = escapeshellcmd($rec["document_root"].'/log/webalizer.conf');
exec("rm -rf $webalizer_conf");
if(!@is_file($webalizer_conf)) {
exec("cp $webalizer_conf_main $webalizer_conf");
setConfigVar($webalizer_conf, 'Incremental', 'yes');
setConfigVar($webalizer_conf, 'IncrementalName', $logdir.'/webalizer.current');
setConfigVar($webalizer_conf, 'HistoryName', $logdir.'/webalizer.hist');
}
if(!@is_dir($statsdir)) mkdir($statsdir);
echo "Remove stats dir $statsdir ...\n";
exec("rm -rf $statsdir/*");
echo "Re-Create stats for $domain...\n";
exec("for logfile in $logdir/*access*; do\n$webalizer -c $webalizer_conf -n $domain -s $domain -r $domain -q -T -p -o $statsdir ".'$logfile'."\ndone");
echo "done.\n";
}
die("finished.\n");
?>
```
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/741
SRV Records need validation
2017-11-10T15:25:39Z
Jason Rosenthal
SRV Records need validation
myDNS is really picky regarding SRV records. If the service record does not contain "3 space-separated values" then mydns throws a seg-fault when the zone is checked or transferred. If the service record is only one value (sip.example...
myDNS is really picky regarding SRV records. If the service record does not contain "3 space-separated values" then mydns throws a seg-fault when the zone is checked or transferred. If the service record is only one value (sip.example.com), ISPConfig accepts it but myDNS does not like it. A workaround is to add 2 spaces in front of the single value ( sip.example.com) and mydns is happy again.
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/740
Spamfilter setting in email domain can not be changed directly
2017-11-10T15:25:39Z
Till Brehm
Spamfilter setting in email domain can not be changed directly
The spamfilter setting of email domains can not be changed directly. Currently you have to select not enabled and click on save before you can set a different filter
The spamfilter setting of email domains can not be changed directly. Currently you have to select not enabled and click on save before you can set a different filter
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/733
Server selector is not working for clients in 3.0.1.4 beta 2
2017-11-10T15:25:39Z
Till Brehm
Server selector is not working for clients in 3.0.1.4 beta 2
Server selector is not working for clients in 3.0.1.4 beta 2
Server selector is not working for clients in 3.0.1.4 beta 2
3.0.1.4
Till Brehm
Till Brehm
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/732
bad handling of environment variables with jailkit ssh users in server/conf/b...
2017-11-10T15:25:39Z
Bill
bad handling of environment variables with jailkit ssh users in server/conf/bash.bashrc.master
at start of bash.bashrc these variables exist
HOME=/home/tester2
UID=5005
USER=tester2
USERNAME=tester2
[note] LOGNAME is not set
bash.bashrc has this logic
<tmpl_if name='jailkit_chroot'>
## Hack for Jailkit User to chan...
at start of bash.bashrc these variables exist
HOME=/home/tester2
UID=5005
USER=tester2
USERNAME=tester2
[note] LOGNAME is not set
bash.bashrc has this logic
<tmpl_if name='jailkit_chroot'>
## Hack for Jailkit User to change back to the logged in user ##
if [ "$LOGNAME" != $USER ]; then
export HOME=<tmpl_var name='home_dir'>$LOGNAME
export USER=$LOGNAME
export USERNAME=$LOGNAME
cd $HOME
fi
## Change machine hostname to site domain ##
export HOSTNAME=<tmpl_var name='domain'>
</tmpl_if>
So because LOGNAME != USER the variables become:
HOME=/home/
USER=
USERNAME=
Is there a good reason for this and why does it all depend on $LOGNAME?
3.0.1.5
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/731
mod: monitor_core_module.inc.php function: monitorRkHunter - Cron Issue
2017-11-10T15:25:39Z
bajodel
mod: monitor_core_module.inc.php function: monitorRkHunter - Cron Issue
Mod: monitor_core_module.inc.php
Function: monitorRkHunter (and maybe other)
---- CODE QUOTE START ----
[ ..CUT.. ]
$this->monitorServer();
$this->monitorDiskUsage();
$this->monitorMemUsage();
...
Mod: monitor_core_module.inc.php
Function: monitorRkHunter (and maybe other)
---- CODE QUOTE START ----
[ ..CUT.. ]
$this->monitorServer();
$this->monitorDiskUsage();
$this->monitorMemUsage();
$this->monitorCpu();
$this->monitorServices();
$this->monitorMailLog();
$this->monitorMailWarnLog();
$this->monitorMailErrLog();
$this->monitorMessagesLog();
$this->monitorISPCCronLog();
$this->monitorFreshClamLog();
$this->monitorClamAvLog();
$this->monitorIspConfigLog();
$this->monitorSystemUpdate();
$this->monitorMailQueue();
$this->monitorRaid();
$this->monitorRkHunter();
$this->monitorFail2ban();
$this->monitorSysLog();
[ ..CUT.. ]
function monitorRkHunter(){
/*
* This monitoring is expensive, so do it only once a day
*/
$min = date('i');
$hour = date('H');
if ($min != 0 && $hour != 23) return;
[ ..CUT.. ]
---- CODE QUOTE END ----
I noticed rkhunter start too frequently .. the function is called at the bottom of the list and when time arrive to call that function the 'not run' time check fails ( $min is already not 0)
I think it's better to change the 'not run now' time conditions .. or put the functions in which there is such test at the top of the list.
Bye..
bajodel.
3.0.1.4
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/728
How to migrate ensim to ispconfig3
2017-11-10T15:25:39Z
sreeraj
How to migrate ensim to ispconfig3
Hello,
I need to migrate from ENSIM server to ISPCONFIG3.If any one have doc please send to or add a comment.Most of the google link says that remote plugin need to be installed and how to install .pkg in linux server....
thanks
sre...
Hello,
I need to migrate from ENSIM server to ISPCONFIG3.If any one have doc please send to or add a comment.Most of the google link says that remote plugin need to be installed and how to install .pkg in linux server....
thanks
sreeraj
sreerajganga@rediffmail.com
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/726
check if rkhunter is running too frequently
2017-11-10T15:25:39Z
Till Brehm
check if rkhunter is running too frequently
check if rkhunter is running too frequently
check if rkhunter is running too frequently
3.0.1.4
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/721
Display Error in Internet Explorer creating a website
2017-11-10T15:25:39Z
Samir
Display Error in Internet Explorer creating a website
In the Webinterface of ISPConfig 3 (latest version from SVN), there is a display error only occuring browsing with the Internet Explorer. It appears when I want to set up a new Website. After choosing the Webserver for this site, there s...
In the Webinterface of ISPConfig 3 (latest version from SVN), there is a display error only occuring browsing with the Internet Explorer. It appears when I want to set up a new Website. After choosing the Webserver for this site, there should be an asterix where you can choose the IPs. This Asterix does not show up in the IE 8.x. That's why I had to patch the following files:
/usr/local/ispconfig/interface/web/sites/templates/database_edit.htm
<select name="server_id" id="server_id" class="selectInput" onChange="loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)">
-> <select name="server_id" id="server_id" class="selectInput">
/usr/local/ispconfig/interface/web/sites/ajax_get_ip.php
$ip_select = "<option value='*'>*</option>\r\n";
-> $ip_select = "*";
$ip_select .= "<option value='$ip[ip_address]'>$ip[ip_address]</option>\r\n";
-> $ip_select .= "#$ip[ip_address]";
/usr/local/ispconfig/interface/web/sites/templates/web_domain_edit.htm (18)
<select name="server_id" id="server_id" class="selectInput" onChange="loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value);">
-> <select name="server_id" id="server_id" class="selectInput" onChange="loadOptionInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value);">
[changed the name of the function loadContentInto to loadOptionInto]
/usr/local/ispconfig/interface/web/js/scrigo.js.php
function loadOptionInto(elementid,pagename) {
var itemContentCallback = {
success: function(o) {
var teste = o.responseText;
var elemente = teste.split('#');
el=document.getElementById(elementid);
el.innerHTML='';
for (var i = 0; i < elemente.length; ++i){
var foo2 = document.createElement("option");
foo2.appendChild(document.createTextNode(elemente[i]));
foo2.value=elemente[i];
el.appendChild(foo2);
}
},
failure: function(o) {
alert('Ajax Request was not successful.');
}
}
var pageContentObject2 = YAHOO.util.Connect.asyncRequest('GET', pagename, itemContentCallback);
}
These changes caused the Asterisk to appear in the Internet Explorer, too.
3.0.1.4
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/719
German translation of client tab
2017-11-10T15:25:39Z
Michael
German translation of client tab
If you use the german translation it still says "Client" on the tab in the top menu bar. But if you click on it so that you are in the client section it switches to "Kunden".
If you use the german translation it still says "Client" on the tab in the top menu bar. But if you click on it so that you are in the client section it switches to "Kunden".