cancel
Showing results for 
Search instead for 
Did you mean: 

Indexing issues

martyphee
Champ in-the-making
Champ in-the-making
We're periodically getting errors like below in our custom search script.  It only seems to happen on one of our two servers.  What can cause invalid indexes?  We have to rebuild the lucene indexes every time we see this.

Lucene query: +TYPE:"cm:folder"+@\{http\://www.alfresco.org/model/content/1.0\}categories:workspace\://SpacesStore/81dbfae0-c7a9-459e-b970-e6d4...
17:55:44,281 ERROR [scripts.bean.ParentSearchWebScript] Throwing exception creating final JSON Object: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/4cdb6c65-eff8-4e33-b74c-e9ff63398db3
17:55:44,282 ERROR [web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 00110089 Node does not exist: workspace://SpacesStore/4cdb6c65-eff8-4e33-b74c-e9ff63398db3
org.alfresco.web.scripts.WebScriptException: 00110089 Node does not exist: workspace://SpacesStore/4cdb6c65-eff8-4e33-b74c-e9ff63398db3
   at com.xxxxxxxxx.web.scripts.bean.ParentSearchWebScript.execute(ParentSearchWebScript.java:164)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:372)
6 REPLIES 6

muralie39
Champ on-the-rise
Champ on-the-rise
can you post the full log

martyphee
Champ in-the-making
Champ in-the-making
The log is too big to post.  I've posted the relevant info.  Somehow one serves indexes get out of sync.  There are not other exceptions in the log file.

can you post the full log

muralie39
Champ on-the-rise
Champ on-the-rise
you are getting the node doesn't exception…

  org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/4cdb6c65-eff8-4 … ff63398db3 … can check this binary file is present in your dir.root content folder… It won't apper.. by seeing the file from the webclient it is apper.. because some network related issue, this happen.. is it regularly happen in your production server.. then you need to upgrade the version..

   try to delete the above file from the webclient, it thrown the error…. uncheck achieved, it will delete..

martyphee
Champ in-the-making
Champ in-the-making
The problem is that the Node seems to be in the index, but not in the DB.  I can't find it using the webclient.  It only shows (exception) when we do a search on that particular server.


you are getting the node doesn't exception…

  org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/4cdb6c65-eff8-4 … ff63398db3 … can check this binary file is present in your dir.root content folder… It won't apper.. by seeing the file from the webclient it is apper.. because some network related issue, this happen.. is it regularly happen in your production server.. then you need to upgrade the version..

   try to delete the above file from the webclient, it thrown the error…. uncheck achieved, it will delete..

iwkse
Star Contributor
Star Contributor
Hi,
I'm having exactly the same issue. I created a rule to notify on documents' update and the email cannot be sent because the node is not found. Node browser doesn't find it and the archive://
Deleting the entry directly from the db could be a workaround even if Alfresco should do a bit better to keep user's data safe  :?

mrogers
Star Contributor
Star Contributor
The data is perfectly safe.   You need to give more details of what you think the error is.   And if you have a repeatable test case then please raise an issue in JIRA.