cancel
Showing results for 
Search instead for 
Did you mean: 

solr4 version conflict

sharifu
Confirmed Champ
Confirmed Champ
I am upgrading to alfresco 5.0.b from 4.2.f and I have notice the following and would liek to know how to sove it.



org.apache.solr.common.SolrException: version conflict for _DEFAULT_!8000000000000300!800000000017d21d expected=1513025908295860224 actual=1513025908313686016
   at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:976)
   at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:693)
   at org.alfresco.solr.SolrInformationServer.updateContentToIndexAndCache(SolrInformationServer.java:2138)
   at org.alfresco.solr.tracker.ContentTracker$ContentIndexWorkerRunnable.doWork(ContentTracker.java:117)
   at org.alfresco.solr.tracker.AbstractWorkerRunnable.run(AbstractWorkerRunnable.java:40)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
7 REPLIES 7

sscbrian
Champ on-the-rise
Champ on-the-rise
What's your upgrade process?  Specifically relating to SOLR (although, in general might be helpful too).  Are you bringing over the old indexes, or are you having it build new?

sharifu
Confirmed Champ
Confirmed Champ
steps i have taken to upgrade


stop alfresco
backup mysql, contentstore, shared
install new alfresco 5.x, with default settings using solr
restore mysql, contentstore and shared.


indexes shoudl be all created new.

sscbrian
Champ on-the-rise
Champ on-the-rise
When you install 5.X, are you letting tomcat start alfresco before you restore MySQL and contentstore?  If you run Alfresco before that, SOLR will make indexes which won't match up right after you do the database/contentstore restore.

sharifu
Confirmed Champ
Confirmed Champ
i did not let it start. i restored mysql and contentstore then started alfresco. i am on 5.0.d now

macbazzo
Champ in-the-making
Champ in-the-making
I tried to upgrade to 5.0.d. but I think I have did something wrong. Could you help me?
The steps are:
From 5.0.a server (server a)
# service alfresco stop
# postgresql/scripts/ctl.sh start
# pg_dump -f pg_dump.sql alfresco
# tar -zcvf alfresco-5.0.a-$DATA.tar.gz /work/docroot/alfresco-5.0.a

Install 5.0.d in another server (server d)
# ./alfresco-community-5.0.d-installer-linux-x64.bin
Java [Y/n] :y
PostgreSQL [Y/n] :Y
Alfresco : Y (Cannot be edited)
Solr1 [y/N] : n
Solr4 [Y/n] :y
SharePoint [Y/n] :y
Web Quick Start [y/N] : y
Integração com o Google Docs [Y/n] :y
LibreOffice [Y/n] :y

>>> I didn't start alfresco
# cd /work/docroot/alfresco-5.0.d/
From backup file - alfresco-5.0.a-21-10-2015.tar
# cp -r /work/bkps/alfresco-5.0.a/alf_data/contentstore alf_data
# cp -r /work/bkps/alfresco-5.0.a/alf_data/contentstore.deleted alf_data
# postgresql/scripts/ctl.sh start
# ./psql alfresco <  pg_dump.sql
# postgresql/scripts/ctl.sh stop
# service alfresco start
But I can't login in alfresco…
"Seus detalhes de autenticação não foram reconhecidos ou o Alfresco não está disponível no momento."
Your login details were not recognized or Alfresco is currently unavailable …

sscbrian
Champ on-the-rise
Champ on-the-rise
Did you merge in your configuration changes from alfresco-global.properties?  If you're on LDAP/AD and forget that step then you won't have your account info available for login.

loyda
Champ in-the-making
Champ in-the-making
Estimados necesito el paso a paso para migrar de alfresco community 4.2 a 5.0.d en windows server 2008-R2