Rebuilding Studio Database¶
Step 1: Configure Rebuild Database Service¶
Update Studio configuration
TOMCAT/shared/classes/crafter/cstudio/extension/server-config.properties to add/modify following properties
# Preview content root path crafter.repository.previewRootPath=./crafter/data/repo # Rebuild Repository Metadata job batch size crafter.repository.rebuildMetadata.batchSize=100
Step 2: Invoke Rebuild Database Service¶
Step 3: Wait for Rebuild Database Service¶
Rebuild Database service is executed as background job that processes whole content divided in batches. Batch size is configured in Step 1. If job is interrupted before rebuild is completed (server restart or shutdown), when service is invoked again, it will continue with the batch that was interrupted.