December 16, 2011

Alfresco 4 and Web Quick Start Page Not Found Errors

After installing Alfresco 4.0.b with the Web Quick Start module and setting up the demo site following the instructions I got "Page not found" errors. With the Alfresco 3.x release I never experienced these problems. It turns out to be a problem with the new Solr search engine that is used. The workaround for now is to revert back to the Lucene search mechanism. The Alfresco forum has a topic with a description of the workaround.

We need to change the file $ALFRESCO_HOME/tomcat/shared/classes/alfresco-global.properties. The key index.subsystem.name needs to be changed to lucene instead of solr. Also we must add an extra key index.recovery.mode with the value FULL. After the changes we must restart Alfresco and then the Web Quick Start demo site works as expected.

# File: $ALFRESCO_HOME/tomcat/shared/classes/alfresco-global.properties
### Solr indexing ###