Use this information to upgrade the S3 Connector from a previous version (such as 1.3.x) to 3.x for Tomcat-based deployments only.
-
Stop the Alfresco Content Services server.
-
Navigate to the root directory of your installation.
-
Use the following command to check for the module you wish to delete:
java -jar bin/alfresco-mmt.jar list tomcat/webapps/alfresco.war
This displays a list of the installed modules. Make a note of the module ID of the module you wish to uninstall, for example,
org_alfresco_integrations_S3Connector
. -
Use the Module Management Tool (MMT) to uninstall the AMP from the repository WAR (
alfresco.war
). For example:java -jar bin/alfresco-mmt.jar uninstall org_alfresco_integrations_S3Connector tomcat/webapps/alfresco.war
For more information, see Using the Module Management Tool (MMT) and Uninstalling an Alfresco Module Package.
-
Navigate to the
amps
directory. -
Delete any previously installed S3 Connector AMP.
-
Copy the AMP file you downloaded during installation to the
amps
directory. -
Use the Module Management Tool (MMT) to install the AMP into the repository WAR (
alfresco.war
).For more information, see Using the Module Management Tool (MMT) and Installing an Alfresco Module Package.
-
Check that the configuration is set up correctly for your environment.
Note: To upgrade a system that never used the file system (i.e. on-premises installation without locally saved binaries), we recommend that you choose a pure S3 content store. See S3 Connector content store subsystems and Properties reference for more details.
-
Starting from version 3.1, the S3 Connector has custom soft deletion disabled by default, since this feature is already present in Amazon’s S3 service. For details on how to re-enable it, see S3 Connector deleted content store.
-
Start the server.