Users folder size is reporting incorrectly in WebAdmin
A users storage usage is incorrect in WebAdmin compared to what is being reported by the Operating System for that users folder in the store.
Solution
The storage usage for a user is calculated from a number of files within that users folder.
The first step is to remove the 'stats.usr' from the users root folder. This will be recalculated and may resolve the issue.
- Stop Kerio Connect.
- Delete 'stats.usr' from the user root folder.
- Start Kerio Connect.
The 'stats.usr' file will be re-created automatically.
NOTE
This recalculation process can take some time, so please allow a few hours before moving to the next step.
If you still have the same issue after this then the next step is to re-index the users account.
As of Kerio Connect 7.3.x it is possible to re-index an account from the WebAdmin console. Under Users select the user, then Right-click More Actions > Re-index mailbox.
For versions of Kerio Connect prior to 7.3.0 use the following:
- Stop Kerio Connect.
- Rename 'index.fld' to 'index.bad', this file is in every folder and sub-folder for this user.
- Start Kerio Connect.
- Login to webmail as this user, this will start the re-index process.
NOTE
The re-index process will take some time as the system has to check every email and re-calculate the index file accordingly.
If your storage size is still reporting incorrect in the WebAdmin console then you will have to re-calculate the 'status.fld' file. This is not a simple process, as you can't just remove files, as the 'status.fld' contains other information that can not be automatically re-generated.
To recompute the size data in this file you will have to do the following:
- Stop Kerio Connect.
- Edit 'status.fld', this can be opened in any standard text editor. There is a 'status.fld' in every folder and sub-folder for this user.
- Locate the variable 'Sxxxxx' This is the size of this folder in bytes. You can remove this variable, DO NOT alter any other variables.
- Save the file.
- Restart Kerio Connect.
NOTE
This users storage use will now be re-computed, again this may take some time to complete.