AnsweredAssumed Answered

upgrade alfresco from 3.4.0 c (3335) to current 4.0.c

Question asked by user21 on Jan 19, 2012
Hello, i want to upgrade my alfresco from  3.4.0 (c 3335) to current version  4.0с, but upgrading failed…

What i did:

1. cold backup old version
2. install new alfresco
3. run new alfresco
5. copy to new alf_data folders (contentstore, contentstore.deleted) from old alf_data
6. set to use old alfresco db
7. comment strings in

and add

for rebuilding lucene indexes

8. add aditional configs to
9. run the system

After runnig, lucene indexes successfull rebuilding, but then got this errors:

2012-01-19 13:23:20,005  ERROR [web.context.ContextLoader] [main] Context initialization failed
        at org.alfresco.repo.web.scripts.RepoStore.findNodeRef(
        at org.alfresco.repo.web.scripts.RepoStore$7$1.execute(
        at org.alfresco.repo.web.scripts.RepoStore$7$1.execute(
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
        at org.alfresco.repo.web.scripts.RepoStore$7.doWork(
        at org.alfresco.repo.web.scripts.RepoStore$7.doWork(
        at org.alfresco.repo.web.scripts.RepoStore.getDocument(….

SEVERE: Job Solr.CoreTracker-alfresco threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 00190001 GetModelsDiff return status is 404
        at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(
        at org.alfresco.solr.tracker.CoreTracker.trackModels(
        at org.alfresco.solr.tracker.CoreTracker.trackRepository(
        at org.alfresco.solr.tracker.CoreTracker.updateIndex(
        at org.alfresco.solr.tracker.CoreTrackerJob.execute(
        at org.quartz.simpl.SimpleThreadPool$
19.01.2012 13:23:45 org.quartz.core.JobRunShell run….

Maybe I should have been updated to 3.4.0c 3.4.0d, and then upgrade to 4.0c?