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=27)
-   -   DB version after upgrade + Quota (http://www.howtoforge.com/forums/showthread.php?t=60686)

pavljiks 26th February 2013 10:06

DB version after upgrade + Quota
 
After moving server from Ubuntu 10.10 (3.0.3.1) to 12.04 LTS (3.0.4.6).
So i copied all necessary config files. Apache/dovecot/fetchmail/bind...

1) i also notified DB diference between those two versions of ISPconfig. So i used mysqldiff to apply changes to old database (add/remove fields in tables...) But just now i notified that table "sys_config" contains
db_version | 3.0.3.1
and on new server it should be
db_version | 3.0.4.6

So should i change it.


2) I don't get how quota works. Because when users reaches his limit (Website quota (harddisk)). There is problems creating files (as exepected). But even when users free some space up. He still cannot create files. And in panel there is still old size.
I couldn't update (Website quota (harddisk)) - ISPConfig variable.
I tried quotacheck -favugm but still. Only solution was to increase a limit of particular user.

So question is about quota. How and when they are recalculated. Is it possible that something isn't working ?

till 26th February 2013 10:12

1) This version info is the initial version that was installed on the server and not the current version, the current version number can be found in the config.inc.php field. You can leave the value as it is.

2) Quota is handled by the linux quota system and linux calculates it in realtime as far as I know, ispconfig is not involved in that. What isponfig is doing is to set new quotas with the normal commands like edquota and the quota displayed in ispconfig is the output of the command repquota. Please be aware that the quota in the panel is not displayed in realtime, so it may take some time until it changes. If you like to see the current quota in realtime, use the repquota command.


All times are GMT +2. The time now is 02:48.

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