Before performing an upgrade or applying a Service Pack, make sure you check the recommended upgrade path and the prerequisites checklist. As a part of upgrade, you need to validate and test to ensure that Alfresco upgrade was successful.
For upgrading from a previous version of Alfresco Content Services to a later version, see Upgrading Alfresco Content Services [1].
The following diagram shows the upgrade paths for major versions:
From Community | To Enterprise |
---|---|
Alfresco Community Edition 201806 GA | Alfresco Content Services 6.0.0 |
Alfresco Community Edition 201901 GA | Alfresco Content Services 6.1.0 |
Alfresco Community Edition 201911 GA | Alfresco Content Services 6.2.0 |
Please contact Alfresco Support for upgrade advice that's specific to your environment.
You can then follow the upgrade path to Alfresco Content Services to upgrade to the most current release. See Alfresco Content Services upgrade paths [12] for more information.
Use this procedure to upgrade from a previous version of Alfresco Content Services using the distribution zip. The process involves a new installation of the Alfresco Content Services binaries and configuration, and an in-place upgrade of a copy of the repository.
File Name | Properties |
---|---|
alfresco-global.properties | dir.root=/alfresco-v.1/alf_data db.url=url<v.1> |
solrcore.properties | data.dir.root=/alfresco-v.1/solr/myindexes |
For example, the new Alfresco installation will have the following settings:
In alfresco-global.properties: dir.root=/alfresco-v.2/alf_data db.url=url<v.2> In solrcore.properties: data.dir.root:/alfresco-v.2/solr/myindexes
For more information, see Validating the upgrade [15].
Monitor the startup log messages for information on the status of the upgrade. If any issue(s) occur in the logs during startup, you need to rollback the whole repository to fix the issue(s) and then try again.
If any issue(s) occur in the logs during startup, you need to rollback the whole repository to fix the issue(s) and then try again.
If upgrading to the latest version, your existing MT sample extension files are no longer relevant and must be deleted. It is also recommended that you backup your existing MT files.
You need to copy the database once only as it is upgraded by the first node that is upgraded. The other nodes detect it has been upgraded and skip the database upgrade step.
Cause: It occurs because the cloned node contains the cluster id from production and tries to join that cluster.
Solution: To avoid the problem you should ensure any cloned nodes required for upgrade testing are network isolated from the production nodes.
Once you have upgraded, follow these steps to validate the new installation.
The configuration overrides ensure the server immediately directs data to the appropriate locations.
Test and familiarize after upgrading
You have successfully upgraded. Now test that the core features that you intend to use work as expected.
Test the Alfresco Content Services server after customizing an upgrade
Test and familiarize after upgrading and configuring
You have successfully upgraded and configured Alfresco Content Services. Now make sure that the features and customizations you have added are operational.
Test and familiarize after upgrading in a cluster
You have successfully upgraded and configured Alfresco Content Services in a distributed/clustered environment. Now make sure that the features and customizations you have added are operational.
Test and familiarize after upgrading and configuring in a cluster
You have successfully upgraded and configured Alfresco Content Services in a distributed/clustered environment. Now make sure that the features and customizations you have added are operational.
If Solr is being used, put the following directories from your backup to the dir.root directory on a new instance.
Some of the above mentioned directories are optional. This is because if the indexes are not copied over from the previous installation, Solr will query Alfresco Content Services and rebuild its index in background after start up. It may take more time to rebuild indexes on large repositories. Applications will be accessible during the reindex process.
Remember to specify the relevant JDBC driver into your application server's classpath.
Links:
[1] https://docs.alfresco.com/../tasks/upgrade-process.html
[2] https://docs.alfresco.com/../concepts/upgrade-path.html
[3] https://docs.alfresco.com/../concepts/upgrade-community.html
[4] https://docs.alfresco.com/../tasks/upgrade-validate.html
[5] https://docs.alfresco.com/../concepts/testing-alfresco-upgrade.html
[6] https://docs.alfresco.com/../tasks/restore-prod-data.html
[7] https://docs.alfresco.com/../concepts/welcome.html
[8] https://docs.alfresco.com/supported-platforms-ACS.html
[9] https://docs.alfresco.com/search-enterprise/concepts/search-upgrade.html
[10] https://docs.alfresco.com/upgrade-community.html
[11] https://docs.alfresco.com/../concepts/ch-upgrade.html
[12] https://docs.alfresco.com/upgrade-path.html
[13] https://docs.alfresco.com/../concepts/backup-intro.html
[14] https://docs.alfresco.com/alfresco-start.html
[15] https://docs.alfresco.com/upgrade-validate.html
[16] https://docs.alfresco.com/alfresco-stop.html
[17] https://docs.alfresco.com/../concepts/remove-apps-install.html
[18] https://docs.alfresco.com/../concepts/modify-alf-apps.html
[19] https://docs.alfresco.com/amp-install.html
[20] https://docs.alfresco.com/../concepts/testing-alfresco-upgrade.html%23testing__2
[21] https://docs.alfresco.com/restore-prod-data.html
[22] https://docs.alfresco.com/troubleshoot-upgrade.html
[23] https://docs.alfresco.com/../tasks/adminconsole-reposerverclustering.html