ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2021-02-22T09:03:36Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3670uninstaller missing a couple things2021-02-22T09:03:36ZJesse Norelluninstaller missing a couple thingsIn a multi-server install, I'm uninstalling a few of the nodes I had setup, and when running the uninstall.php script, it looks like a few things don't get cleaned out of the master's database.
Specifically, the server itself still sh...In a multi-server install, I'm uninstalling a few of the nodes I had setup, and when running the uninstall.php script, it looks like a few things don't get cleaned out of the master's database.
Specifically, the server itself still shows under System > Server Services; and even after deleting it there, the old System > Firewall rules remain (the "Server" column is now empty).
I imagine the first should be cleaned up by the uninstall script, and the second either in the installer or maybe by a database foreign key.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3657Wrong sys_userid in table spamfilter_users2020-09-20T17:23:14ZMarkus BuschhoffWrong sys_userid in table spamfilter_usersWhen setting up an email-domain or an email account using the web client, the spamfilter "@domain" (respectively "account@domain"), the according SQL table entries (spamfilter_users) are assigned to admin (or the current user?) instead o...When setting up an email-domain or an email account using the web client, the spamfilter "@domain" (respectively "account@domain"), the according SQL table entries (spamfilter_users) are assigned to admin (or the current user?) instead of the owner of the respective domain.
The expected behaviour would be to assign the table entries to the sys_userid of the client. This might be an issue when identifying table entries for cleaning up the SQL tables, e.g. when deleting the client.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3656SOAP mail_spamfilter_user_add breaks reply (no xml document) on duplicate rules2020-09-01T08:24:12ZMarkus BuschhoffSOAP mail_spamfilter_user_add breaks reply (no xml document) on duplicate rulesA remote call to "mail_spamfilter_user_add" might fail with "look like we got no xml document" instead of expected "email_error_unique", if a spamfilter rule is added for an already existing user.A remote call to "mail_spamfilter_user_add" might fail with "look like we got no xml document" instead of expected "email_error_unique", if a spamfilter rule is added for an already existing user.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3653Fail2ban shows as not installed when the log files are rotated2020-09-22T10:49:20ZKerr SmithFail2ban shows as not installed when the log files are rotatedWhen the log files are rotated the Fail2ban log is emptied but when the log file is viewed in the control panel it shows:
'fail2ban is not installed at this server.'
This makes you think that Fail2ban is not working but it is - I t...When the log files are rotated the Fail2ban log is emptied but when the log file is viewed in the control panel it shows:
'fail2ban is not installed at this server.'
This makes you think that Fail2ban is not working but it is - I tested it by deliberately getting my IP banned.
The data field in the monitor_data tables for type 'log_fail2ban' shows:
's:0:"";'
This causes the code in /interface/lib/classes/tools_monitor.inc.php around line 442 to display this message.
Only if the data field is empty will the message 'There is no data available at the moment.' be shown.
It seems like these two messages are in the wrong order maybe?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3592Getmail lockfile not removed2020-10-08T15:47:54ZcommentatorGetmail lockfile not removedWhen something happens during getmail and it results in an error the lockfile isn't removed.
There is no check for how long this lockfile exists and so resulting in an not working getmail.
Problem reported on forums on May 2013 https:/...When something happens during getmail and it results in an error the lockfile isn't removed.
There is no check for how long this lockfile exists and so resulting in an not working getmail.
Problem reported on forums on May 2013 https://www.howtoforge.com/community/threads/getmail-lockfile.61794/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3499Website log mount is not changed when website is assigned to a new client2020-11-01T16:17:35ZTill BrehmWebsite log mount is not changed when website is assigned to a new clientAfter creating a website I got this error message in bash with the df command:
#df
#df: '/var/www/clients/client0/web3/log': No such file or directory
This is caused because the ispconfig does not refresh the fstab mount list afte...After creating a website I got this error message in bash with the df command:
#df
#df: '/var/www/clients/client0/web3/log': No such file or directory
This is caused because the ispconfig does not refresh the fstab mount list after changing clientID in website.
Steps to reproduce it:
Create a website "foo.com" but wait, be sure to NOT select a client in the "client" field.
After that, hold on a little until de cronjob creates the website physically in the server.
After the cronjob created the website, edit the website "foo.com" and select a client.
And here comes the bug: The ispconfig cronjob will move the website to the new client folder and correct the lines in the /etc/fstab but it does not refresh the mounted partitions. So the df command throws: df: '/var/www/clients/client0/web3/log': No such file or directoryhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3444Assigning mail domain to other client via remote api does not work for admini...2020-08-28T17:06:16ZThomas TevesAssigning mail domain to other client via remote api does not work for administratorWhile developing an ISPConfig plugin I wrote some additional functions for the remote API to be used only by my plugin. For this purpose I created a new class 'local_remoting' inheriting from the original remoting class.
Inside this new...While developing an ISPConfig plugin I wrote some additional functions for the remote API to be used only by my plugin. For this purpose I created a new class 'local_remoting' inheriting from the original remoting class.
Inside this new class I wrote a function mail_domain_assign for the purpose of assigning mail domains to other clients. The code for this is basically:
$maildomain = $this->mail_domain_get($session_id, $maildomain_id);
$this->mail_domain_update($session_id, $new_client_id, $maildomain_id, $maildomain);
The code works for all clients, except for the admin ($new_client_id=0). Is this bug or feature?
BTW: This is also the case with the mail_user_update function of the API.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3441Adding a vhost subdomain to the website via API2020-08-28T17:05:48ZRobert VarjasiAdding a vhost subdomain to the website via APIThe main domain is not concatenated to the sub prefix via the API (sites_web_vhost_subdomain_add()). Via the web interface it is.
We utilize this "bug" in such way that we add a new domain to the website with its own vhost file (and its ...The main domain is not concatenated to the sub prefix via the API (sites_web_vhost_subdomain_add()). Via the web interface it is.
We utilize this "bug" in such way that we add a new domain to the website with its own vhost file (and its own DocumentRoot).
Example:
We have a website with the domain example.com. DocumentRoot is ".../web/". We assign a new domain (domain.com) to this website using sites_web_vhost_subdomain_add() API call. We set the web_folder param to "web/domain.com" directory. It works well.
This way you can have more domains per website (with separate DocRoots). And that is what we needed!
Question: Do you plan to fix this bug that we use as a feature?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3435client_update misses modules update/change2020-10-26T12:39:06ZChristianclient_update misses modules update/changewhen performing a client_update with module change, the sys_user modules are not updatedwhen performing a client_update with module change, the sys_user modules are not updatedhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3322spamfilter policys not shown in meny when activated for a reseller2017-10-08T13:36:47ZTill Brehmspamfilter policys not shown in meny when activated for a resellerhttp://www.howtoforge.com/forums/showthread.php?t=61776http://www.howtoforge.com/forums/showthread.php?t=617763.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3169affected rows returns 0 on client update2020-08-28T15:36:57ZChristianaffected rows returns 0 on client updatefunction client_update from remote api always returns 0function client_update from remote api always returns 0https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/2713Deletion of domain through Remote API2020-08-28T17:06:28ZLars E. D. JensenDeletion of domain through Remote APIWhen deleting a domain through Remote API it fails to clean up/delete php5 fpm config for the domain in /etc/php5/fpm/pool.d/ (Debian 6.x) and causes a 502 bad gateway in nginx.
See debug log missing the clean up when using Remote API:
...When deleting a domain through Remote API it fails to clean up/delete php5 fpm config for the domain in /etc/php5/fpm/pool.d/ (Debian 6.x) and causes a 502 bad gateway in nginx.
See debug log missing the clean up when using Remote API:
Interface:
https://dl.dropboxusercontent.com/u/14441857/debug/ISPConfig_interface_succes.png
Remote API:
https://dl.dropboxusercontent.com/u/14441857/debug/ISPConfig_RemoteAPI_error.pnghttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1353Domain & Client-Change2022-03-23T16:24:00ZGabriel K.Domain & Client-ChangeI noticed that there is needed several manual attention when updating a site-owner using ispConfig, as most of the configuration will not be updated with correct path-values.
So f.e. If you have a site "test.com" in ispConfig created fo...I noticed that there is needed several manual attention when updating a site-owner using ispConfig, as most of the configuration will not be updated with correct path-values.
So f.e. If you have a site "test.com" in ispConfig created for Client "Client1" and Web-User "web2" the whole configuration (incl. open_basedir) will be hard-configured for that site-record by copying the default-values of "system->server config -> web -> open_basedir values".
If you need to do an owner-change (f.e. mistake on creation) will mismatch all these values as all path are corrupt and owner-info in filesystem are wrong. Manual attention is needed while checking the vhost-config (apache), site-records open_basedir path's and of course correcting the user-info for the web-root (chown webx:clientx).
Why is there no automation? I think such an operation should be possible more comfortable. An owner change should correct all path values (vhost; open_basedir) and user-info in filesystem. For values such open_basedir I think it would be recommended to search/replace the old values/new values to keep user-added values untouched. This could be done by re-creating those values from "server-config -> web -> open_basedir", split the path values and do an search/replace on them with the new client-info.