Use this procedure to upgrade from a previous version of Alfresco Community Edition. The process involves a new installation of the Alfresco Community Edition binaries and configuration, and an in-place upgrade of a copy of the repository. Use this procedure to upgrade from a previous version of Alfresco Content Services.
Install the new version of Alfresco Community Edition.
- Shut down your existing instance.
Back up your existing repository (alfresco-v.1) and the
database. See Backing up and restoring the
Note: Back up any configuration overrides from the <extension> directory.
- Install the new version (alfresco-v.2) of the Alfresco using the setup wizard/installer in a different directory to the existing installation. See Installing Alfresco Community Edition using the setup wizards.
Validate the new 5.2
installation to check that it is working correctly.
- Configure the new installation with a new repository and database (not the existing one).
- Start the server and validate that the system works correctly.
For more information, see Validating the upgrade.
Apply all customizations to the new 5.2 installation.
- Stop the server.
- Remove any unwanted applications.
- Modify applications.
- Install the required AMP files. See Installing an Alfresco Module Package.
- Do not copy the files. Copy only the override settings so that you will not overwrite the new extension files in the upgraded version.
Start the Alfresco server.
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.
- Fully test the working and configuration of your customizations.
- Stop the server.
Restore production data.
- Remove all the files and directories under the contentstore directory of the new installation. Also, delete the database.
- Delete the files in the two Solr alfrescoModels directories, and the indexes in the two directories (solr/workspace/ and solr/archive/) of the new installation.
- Restore the backup of the indexes, contentstore directory, files, and database from your previous installation into the new installation.
Start the server.
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 you are happy with the upgraded system, remove the old installation and repository.
[Optional] Perform this additional step only if you have configured multi-tenancy and
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.
Take a backup of the following three existing MT extension files and delete them
from the existing MT extension directory:
- alfresco/extension/mt/mt-context.xml to alfresco/extension/mt/mt-context.xml
- alfresco/extension/mt/mt-admin-context.xml to alfresco/extension/mt/mt-admin-context.xml
- alfresco/extension/mt/mt-contentstore-context.xml to alfresco/extension/mt/mt-contentstore-context.xml
- Take a backup of the following three existing MT extension files and delete them from the existing MT extension directory: