alfresco upgrade 4.2.e to lastest

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
zidane
Member II

alfresco upgrade 4.2.e to lastest

Hello
I tried to upgrade alfresco from version 4.2.e to the latest version
I have an installation with alfresco on multi tenants and record managments
I backed up the database and restored it to the new version as well for both contentstore and contentstore.deleted directory
the problem when i startup alfresco has an error like this in catalina.out

ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr.AlfrescoCoreAdminHandler@2277f243_Worker-13] Model tracking failed
 org.alfresco.error.AlfrescoRuntimeException: 00160181 GetModelsDiff return status is 404
        at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
        at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
        at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
        at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:236)
        at org.alfresco.solr.component.EnsureModelsComponent.prepare(EnsureModelsComponent.java:87)
        at org.apache.solr.handler.component.AlfrescoSearchHandler.handleRequestBody(AlfrescoSearchHandler.java:292)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
        at org.alfresco.solr.Cloud.getResponse(Cloud.java:165)
        at org.alfresco.solr.Cloud.getSolrDocumentList(Cloud.java:149)
        at org.alfresco.solr.SolrInformationServer.getDocsWithUncleanContent(SolrInformationServer.java:722)
        at org.alfresco.solr.tracker.ContentTracker.doTrack(ContentTracker.java:81)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

and like this

2019-01-16 13:33:33,868  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 85 potential problems, results written to: /opt/alfresco-community/tomcat/temp/Alfresco/Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-alf_-4287377821265431339.txt
 2019-01-16 13:33:33,904  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 26 potential problems, results written to: /opt/alfresco-community/tomcat/temp/Alfresco/Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-act_-1883470748027748097.txt
 2019-01-16 13:33:34,060  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-community/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-pre-upgrade-alf_-2181793910309732180.xml.
 2019-01-16 13:33:34,060  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-community/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-pre-upgrade-act_-2379699316508480070.xml.
 2019-01-16 13:33:34,076  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-community/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-6330239327620631742.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-RepoTables.sql).
 2019-01-16 13:33:38,299  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-community/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-3784341625556473514.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-LockTables.sql).
 2019-01-16 13:33:38,555  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-community/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-3568661785322263149.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-ContentTables.sql).
 2019-01-16 13:33:39,233  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-community/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-4376962439438055995.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-PropertyValueTables.sql).

any help please

Regards

1 Reply
kintu_barot
Senior Member

Re: alfresco upgrade 4.2.e to lastest

You should follow the standard upgrade path Alfresco Content Services upgrade paths | Alfresco Documentation  and backup and restore procedure mentioned in Performing a hot backup | Alfresco Documentation .

For automatic backup of database and content both you can refer Alfresco Backup Script for Linux Instance Support | ContCentric 

Thanks

Kintu

ContCentric

Regards,
Kintu
ContCentric