HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   writeconf.php (http://www.howtoforge.com/forums/showthread.php?t=29699)

matiasCU 23rd December 2008 00:06

writeconf.php
 
I have more than 800 users in a domain with V. ISPConfig 2.2.26 The problem is that when I make any changes in the configuration of a user such as your password, the 800 users of the domain are set to update. There are some bugs detected?
A change of password could wrong as follows:
start
UPDATE: 57
UPDATE USER: 219
UPDATE USER: 220
UPDATE USER: 221
UPDATE USER: 222
UPDATE USER: 223
UPDATE USER: 224
UPDATE USER: 225
UPDATE USER: 226
UPDATE USER: 227
UPDATE USER: 228
UPDATE USER: 229
UPDATE USER: 230
UPDATE USER: 231
UPDATE USER: 232
UPDATE USER: 233
UPDATE USER: 234
UPDATE USER: 235
UPDATE USER: 236
.........................
.........................

till 23rd December 2008 10:53

Thats not a bug. Thats the way ISPConfig works as some actions need to update all users of a website.

matiasCU 23rd December 2008 11:51

Hi Till:
Any change triggers an update to all users? For example: the change of the password?
I ask because i have many users and that is time-consuming task, each time a user changes his password, the change is not instantaneous. The delay of actions is 5 to 10 minutes.

Thanks Till.

till 23rd December 2008 11:59

Quote:

Any change triggers an update to all users? For example: the change of the password?
Yes. Typical sites have 5 - 10 users, so this does not matter. If your server has hunbdreds of users in one site, you should consider to migrate to use ISPConfig 3 when it becomes stable as iSPConfig 3 does not use Linux system users for email.

matiasCU 23rd December 2008 13:36

problem solved
 
Note: Not sure if this can cause problems in the functioning of ISPConfig.

My solution was to comment the following file lines /root/ispconfig/scripts/lib/config.lib.php

//$mod->db->query("UPDATE isp_isp_user SET status = 'u' WHERE doc_id = ".$user["doc_id"]." AND status != 'd' AND status != 'n'");
//if(!$web['web_cron']) $mod->db->query("UPDATE isp_isp_cron SET cron_active = 0, status = 'u' WHERE user_id = '".$user["doc_id"]."'");

Thanks for your help


All times are GMT +2. The time now is 23:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.