cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to delete User due to error: Node does not exist:

stevewickii
Champ in-the-making
Champ in-the-making
I am using Alfresco (Labs) version 3.0.0 (Stable 1526) schema 1002, on Windows XP SP2 with MS SQL Server 2000.

I am getting an error in the web client when I try to delete a user that I created with the web client.

The error is:
Failed to delete User due to error: Node does not exist: user://alfrescoUserStore/aec44151-c08a-11dd-b6d9-05356deb71e0

The node browser reveals that the NodeRef for the user I am trying to delete is actually
user://alfrescoUserStore/6ae02e3a-048c-4cfa-8c44-7c2cd39df172

What is going on here?  Where is the web client getting this invalid NodeRef?

I tried reindexing by setting index.recovery.mode=FULL, thinking that Alfresco may be getting the invalid NodeRef from the Lucene index.  The alfresco.log indicates that the FullIndexRecoveryComponent completed successfully.  Unfortunately, I am still getting the same error from the web client.

Any help would be appreciated.

Thanks!
1 REPLY 1

stevewickii
Champ in-the-making
Champ in-the-making
Fixed!

It turns out that the NodeRef in question points to a group that the user belonged to.  I was not able to delete the group through the web client, because of the same issue (Node does not exist).  I figured out that Alfresco was getting this fantom NodeRef from the Lucene index, so I attempted to rebuild the lucene index by setting the property "index.recovery.mode=FULL" in my custom-repository.properties.  The FullIndexRecoveryComponent completed without a problem, but I still got the same error when I attempted to delete the user or the group in question.  I decided to delete the lucene-indexes folder from the alf_data folder, and try the full index recovery again.  Presto!  It worked.  I am now able to delete the user and group in question.