12-07-2016 09:58 PM
Hi Alfrescians,
I encountered Solr problems even after performing a full re-indexing. I always get JiBXException and EOFException.
I checked /opt/alfresco-community/alf_data/solr/archive-SpaceStore/alfrescoModels and /opt/alfresco-community/alf_data/solr/workspace-SpaceStore/alfrescoModels for my custom model, it was there but it's content is empty. What should I do with it? should I delete it? Please give me some advice to fix this issue. Thanks in advance.
Best Regards,
June
12-08-2016 12:15 AM
Yes ,you can try to remove alfrescoModels folder and perform a full re-index.
If this issue still exists ,you can try to change your custom content model xml file (for example add some space into it or add a new property ) in alfresco ,then solr will try to download the new version model definition.
12-08-2016 12:15 AM
Yes ,you can try to remove alfrescoModels folder and perform a full re-index.
If this issue still exists ,you can try to change your custom content model xml file (for example add some space into it or add a new property ) in alfresco ,then solr will try to download the new version model definition.
12-08-2016 01:09 AM
Hello Kayne,
I found an error in alfresco.log :
ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-20] Exception from executeScript - redirecting to status template error: 11080082 Wrapped Exception (with status template): 11080083 Nodes with no type are ignored by SOLR
What is this about? I already deleted alfrescoModels folder in /opt/alfresco-community/alf_data/solr/archive-SpaceStore/alfrescoModels and /opt/alfresco-community/alf_data/solr/workspace-SpaceStore/alfrescoModels, then perform the full re-indexing.
Best regards,
June
12-08-2016 02:08 AM
During indexing,solr will try to get node metadata information(for example note type) and property information from alfresco.
This error means some of the nodes don't have nodeType information.
But I don't think this error cause JiBXException and EOFException.
12-09-2016 02:07 AM
I did not see any JiBXExecption and EOFExection in solr.log, the errors are now in alfresco.log.
What should I do to fix nodes that have no nodeType informations ?
02-28-2017 01:09 AM
Hi June,
I have the exact same problem. Did you get it to work?
I am upgrading from 4.2 (lucene) to 5.2 (solr4). It seems that the re-indexing finished well enough but search is not working and I have those same errors in alfresco.log.
Regards,
Aaron
03-01-2017 08:18 PM
Hi Aaron,
I manage to solve the issue by doing the ff:
Step 1: Stop Alfresco and your Database (MySQL for my instance).
Step 2: Delete all the contents of the following folders: (UNIX environment)
a. <ALFRESCO_HOME>/alf_data/solr4/index/workspace/SpacesStore
b. <ALFRESCO_HOME>/alf_data/solr4/index/archive/SpacesStore
c. <ALFRESCO_HOME>/alf_data/solr4/model
d. <ALFRESCO_HOME>/alf_data/solr4/content
Step 3: Start your Database and then Alfresco
This is my reference: Performing a full reindex with Solr | Alfresco Documentation
Best Regards,
June
03-02-2017 12:55 AM
Hi,
Thanks for your help. I actually managed to get re-indexing to work using the documentation you referenced. In my problem, I forgot to actually
Regards,
Aaron
01-19-2017 05:20 AM
Hi kayne,
I found a similar error like June but in an upgrade of Alfresco (from v3.4 to v5.1) but the folder "alf_data/solr4" was empty because it was a new index.
Any idea?
Thanks in advance!
Jorge
01-19-2017 06:42 AM
Have you tried to perform a full reindex after you upgraded alfresco,please refer to Performing a full reindex with Solr | Alfresco Documentation on how to reindex