Note: This applies to DocuShare 6.5.x
Issue
DocuShare will not Start and the following error is displayed in \logs\Monitor.log:
13 Sep 2010 16:27:21 [main] ERROR - MonitorServerImpl.callStartOnServers: DSException exception com.xerox.docushare.DSException: *********** FATAL ERROR - Configured directory count does not appear to match content store.
13 Sep 2010 16:27:21 [main] ERROR - failed to start up the system correctly
Reason
This error occurs when a migrated/upgraded DocuShare site has a non-standard directory(s) located in the \documents directory.
For example, a directory called C:\Xerox\Docushare\Documents\bak located in the documents directory.
The DocuShare internal code now checks the bucket structure (64 or 512) to ensure it matches the configuration to prevent DocuShare from starting up if they do not match. This is designed to prevent a problem where you could have a mix of 64 bit and 512 bit Algorithm content.
Caution: DocuShare development recommends never putting customer data in what is essentially a DocuShare internal storage structure. For example, the content storage directory tree (documents), , or the DocuShare database.
Resolution
Note: You must be an Administrator to perform this solution.
1. Stop DocuShare
2. Check the Number of Directories
a. Browse to the \documents directory
Where is the installation directory for DocuShare. Depending on your installation environment this path may vary. The default installation path is C:\Xerox\Docushare.
b. Count the number of directories (b000 to bxxx)
Example: b011, b012, b013, b014,…etc.
c. Navigate to the \config directory
d. Open the ContentStore.properties file in a text editor such as Notepad.
e. Check the value listed next to NumberOfDirectories=
Note: Valid values are 64 or 512
Example: NumberOfDirectories=512
f. If the values do not match the number of directories found in step 2b, edit the ContentStore.properties file to match. (Value must be 64 or 512 ONLY)
g. Save changes to the file
3. Check that there are NO other non DocuShare Directories
a. Navigate to the \documents\ directory.
b. Check that there are NO other non-DocuShare directories.
WARNING: b000 to bxxx (where xx is replaced with a numbers)and the temp directory are all valid DocuShare directories. DO NOT DELETE them all. Other directories are not valid directories.
WARNING: Backup any directories that require deletion to a different location for backup purposes.
Example: C:\Xerox\Docushare\documents\BAK directory does not belong and would need to be deleted.
4. Start DocuShare