Overview
While experiencing user folder Performance issues, the contents of the index.fld and status.fld files should be repaired. The process is called the manual repair of users' folders.
It can be achieved by using indexing (rebuild) utility, linked in the section below. The script uses command-line bash commands.
You may occasionally receive Server errors Root folder cannot be listed or Failed to read rights from folder INBOX, internal error.
Prerequisites
- This process applies to Kerio Connect installed in Linux (deb, rpm) and macOS.
- You need to configure the Full Backup of the Kerio Connect store before proceeding.
Diagnosis
The particular folders became corrupted because of local policies or issues with the data store or server performance.
Manual Re-Indexing Process for Linux
-
Download the attached index_status_fld.sh script.
-
Determine whether there is a need to delete the __wm__autoCompleteContacts folder.
If the folder Then Needs to be deleted
Proceed to the next step. Does not need to be deleted Modify the script so that the folder is not deleted and then proceed to the next step.
-
Make the file executable:
chmod +x index_status_fld.sh
. -
Run it as a Root user from the
store/mail/<domain>
directory:./index_status_fld.sh
.
Manual Re-Indexing Process for macOS
- Download the attached macos_index_status.sh script.
- Install Homebrew dependency:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Install the rename package:
brew install rename
- Make the file executable:
chmod +x macos_index_status.sh
- Execute the script from the domain directory, i.e. /usr/local/kerio/mailserver/store/mail/<domain>:
./macos_index_status.sh
Confirmation
All domain mailboxes are being manually re-indexed.
Related Articles
Fixing Data Consistency Issues
Error: "Failed to read rights from folder INBOX" When Accessing Webmail
Priyanka Bhotika
Comments