cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco share error!

hienque
Champ in-the-making
Champ in-the-making
Hi everyone!
When I access alfresco share page. It has error:

A server error has occured.
There are a number of reasons why this could have happened:

    You have attempted to access a page that does not exist - check the URL in the address bar.
    You have attempted to access a page that is not accessable to you, such as a private Site dashboard.
    A valid page has been requested but the server was unable to render it due to an internal error - contact your administrator.



Alfresco Log:
15:18:00,071 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.scheduledPublishUpdatesJobDetail threw an unhandled Exception:
org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06150035
   org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:429)
   
15:18:00,071 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.scheduledPublishUpdatesJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06150035 ]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06150035
   at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:429)
   at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)
   at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)
5 REPLIES 5

rjohnson
Star Contributor
Star Contributor
The log snippet suggests soemthing wrong with your indexing. As a starter for 10, backup then rebuild your indexes from scratch.

Bob Johnson

hienque
Champ in-the-making
Champ in-the-making
Hi Bob Johnson,
Could you guide me how to backup then rebuild my indexes from scratch.

The alfresco.log:
java.rmi.server.ExportException: internal error: ObjID already in use

rjohnson
Star Contributor
Star Contributor
Are you using Lucene or Solr?

hienque
Champ in-the-making
Champ in-the-making
Hi Mr Bob Johnson!
I install Alfresco 4.2c on Windows 2k8 with default setting. Using SOLR

rjohnson
Star Contributor
Star Contributor
OK, based on others posts I have assembled this as a set of intructions for rebuilding Solr indexes.

<blockquote>

<strong>Rebuilding SOLR</strong>

Occasionally it may be necessary to rebuild the SOLR indexes. This is straightforward enough but you do have to delete the existing indexes very thoroughly. Do as follows:-

1.Stop Alfresco
2.Remove index directory of the archive core at alf_data/solr/archive/SpacesStore
3.
Remove index directory of the workspace core at alf_data/solr/workspace/SpacesStore

4.Remove cached model info directory of the archive core at alf_data/solr/archive-SpacesStore/alfrescoModels
5.Remove cached model info directory of the workspace core at alf_data/solr/workspace-SpacesStore/alfrescoModels
6.Start Alfresco

</blockquote>

You might want to backup the directories your meant to delete before you delete them "just in case".

Good luck

Bob