Quantcast
Channel: Alfresco Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 305

Alfresco upgrade solr vs solr4

$
0
0

Hi,

We are upgrading alfresco from 4.2 to 5.1. I followed the instructions from the below URL but there are lots of solr indexing errors after the upgrade.

http://docs.alfresco.com/5.1/tasks/upgrade-process.html

Did anyone upgraded successfully from 4.2 to 5.1?

I see solr and solr4 in 5.1 whereas in 4.2, only solr exists. Should i remove solr4 references from 5.1 or can both solr and solr4 coexist in 5.1?

alfresco-global.properties 
### Solr indexing ###
index.recovery.mode=AUTO
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
#solr.host=localhost
solr.port.ssl=8443 
solrcore.properties 
data.dir.root=/opt/alfresco-community/alf_data/solr
data.dir.store=archive/SpacesStore
enable.alfresco.tracking=true
cache.alfresco.size=100
max.field.length=2147483647

here are some of the errors after the upgrade (deleted indexes from solr and deleted content from alfrescoModels).

INFO: Server startup in161914 ms2016-04-1917:10:45,501  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-19] First transaction was not found with the correct timestamp.2016-04-1917:10:45,501  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-19] SOLR has successfully connected to your repository  however the SOLR indexes and repository database do not match.2016-04-1917:10:45,501  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-19] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-04-1917:10:45,502  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-19] You can also check your SOLR connection details in solrcore.properties.2016-04-1917:10:45,518  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-18] First transaction was not found with the correct timestamp.2016-04-1917:10:45,520  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-18] SOLR has successfully connected to your repository  however the SOLR indexes and repository database do not match.2016-04-1917:10:45,520  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-18] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-04-1917:10:45,520  ERROR [solr.tracker.MetadataTracker][SolrTrackerScheduler_Worker-18] You can also check your SOLR connection details in solrcore.properties.2016-04-1917:10:45,657  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-18] Tracking failed
5.1.x

Viewing all articles
Browse latest Browse all 305

Trending Articles