Alfresco Tips

Setup CIFS server
-Add to PATH: %ALFRESCO_HOME%\bin
-File-servers-custom.xml: Change port 8080 to correct port used
-Enable NetBios over TCP/IP (TCP/IP Properties -> Advanced -> WINS -> Enable NetBIOS over TCP/IP)

Upgrade
-In custom-repository.properties set db.schema.update=true
-Remove alf_bootstrap_lock table if you see
org.alfresco.error.AlfrescoRuntimeException:
A previous schema upgrade failed.
Revert to the original database before attempting the upgrade again.

Rebuild Lucene indexes
-Remove all lucene indexes
-Add to custom-repository.properties: index.recovery.mode=FULL

Clean content store
-In content-services-context.xml, set protectDays to 1

<bean id="baseContentStoreCleaner" 
  class="org.alfresco.repo.content 
    .cleanup.ContentStoreCleaner" 
    abstract="true">
  <property name="protectDays" >
     <value>1</value>
  </property>
</bean>
This entry was posted in alfresco. Bookmark the permalink.