cancel
Showing results for 
Search instead for 
Did you mean: 

Integrity Error after Alfresco Upgrade

texano
Champ in-the-making
Champ in-the-making
Hi,

I've upgrade my Alfresco installation with 20GB repository content from 4.2.C to the newest 5.0.D.
Now we are having errors related to "Mandatory property not set" and "node.integrity.IntegrityException" when creating new sites, viewing tasks, etc. This errors are show in Alfresco Share page and in catalina.out logs.
Please check the attached files.


2015-04-25 19:57:54,094  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-8] Exception from executeScript - redirecting to status template error: 03250167 Found 1 integrity violations:
Mandatory property not set:
   Node: workspace://SpacesStore/32fddf43-103a-4f48-b001-b48552dff3ad
   Name: 32fddf43-103a-4f48-b001-b48552dff3ad
   Type: {http://www.alfresco.org/model/content/1.0}person
   Property: {http://www.alfresco.org/model/content/1.0}sizeCurrent
org.alfresco.repo.node.integrity.IntegrityException: 03250167 Found 1 integrity violations:
Mandatory property not set:
   Node: workspace://SpacesStore/32fddf43-103a-4f48-b001-b48552dff3ad
   Name: 32fddf43-103a-4f48-b001-b48552dff3ad
   Type: {http://www.alfresco.org/model/content/1.0}person
   Property: {http://www.alfresco.org/model/content/1.0}sizeCurrent
        at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:664)
        at org.alfresco.repo.node.integrity.IntegrityChecker.beforeCommit(IntegrityChecker.java:766)




Can you guys help me with this?

Thank you.

33 REPLIES 33

texano
Champ in-the-making
Champ in-the-making
Hey guys,

Can someone help me with this?

Thanks.

miguel75
Champ in-the-making
Champ in-the-making
I've exactly the same problem Smiley Sad

openpj
Elite Collaborator
Elite Collaborator
Try to execute a full reindex, removing also the alfrescoModels included in Solr, it should solve your problem.
This because Apache Solr actually includes an old version of the Alfresco content models and you have to remove them for letting Solr to get the newer versions.

Hope this helps.

ceeliro
Champ in-the-making
Champ in-the-making
Perfect it worked (at least for me)! Thanks a lot

miguel75
Champ in-the-making
Champ in-the-making
Hi!

Thanks for the reply, but it doesn't work for me Smiley Sad

I've deleted all indexes and alfrescomodels, but the error persists.

With alfresco stopped:
[alfresco@alfresclon solr4]$ pwd
/opt/alfresco5.0.d/alf_data/solr4
[alfresco@alfresclon solr4]$ ls -la
total 20
drwxrwxr-x 5 alfresco alfresco 4096 Apr 29 11:45 .
drwxrwxr-x 8 alfresco alfresco 4096 Apr 29 11:25 ..
drwxrwxr-x 3 alfresco alfresco 4096 Apr 29 11:46 content
drwxrwxr-x 4 alfresco alfresco 4096 Apr 29 11:45 index
drwxrwxr-x 2 alfresco alfresco 4096 Apr 29 11:46 model
[alfresco@alfresclon solr4]$ rm -rf *

[alfresco@alfresclon alfrescoModels]$ pwd
/opt/alfresco5.0.d/solr4/alfrescoModels
[alfresco@alfresclon alfrescoModels]$ rm -rf *


miguel75
Champ in-the-making
Champ in-the-making
I've tried upgrading to 5.0a instead of 5.0d and now it's working ok.

ceeliro
Champ in-the-making
Champ in-the-making
Perform same procedure than before and also set index.recovery.mode=FULL in the alfresco-global.properties

douglascrp
World-Class Innovator
World-Class Innovator
That flag is ignored by solr.

In order to perform a full reindex, you will have to do it manually, removing the alf_data/solr4 folder

texano
Champ in-the-making
Champ in-the-making
Hi OpenPj,

Reindex did not work here Smiley Sad


Even I need to expand some tab and Alfresco Share i'm getting the error.. Can you help us?
Please check attached file.


Thanks.