From 7.3.2 to 7.3.4.1
Upgrading to 7.3.4 consists of one unique, easy step; please read it carefully before proceeding.
Please:
- Stop the user requests / traffic to the server (either on the front-end Apache HTTPD server or firewall/router)
- Stop Digital Experience Manager before backing up and running the fix applier
- Backup your Digital Experience Manager installation before running the fix applier
- Run a pre-production test first.
Release notes
- The changelogs of Digital Experience Manager 7.3.4.1 and its updated modules are available in the 7.3.4.1 Release notes
Spring bean modifications
- If you have customized your application context in the file
digital-factory-config/jahia/applicationcontext-custom.xml
, please consult the list of changes we made in our Spring beans as you might need to update your configuration.
Synchronisation of OSGi configurations is enabled
- In DX 7.3.1.1 we have fixed and activated the cluster synchronisation of OSGi configurations (usually found under /digital-factory-data/karaf/etc ). From now on, any modification done in a OSGi configuration file will be automatically applied to the other cluster nodes. It is still possible to deactivate such synchronisation by following this procedure.
- Configuration files that were present in the
digital-factory-data/modules
folder will be moved todigital-factory-data/karaf/etc
Before upgrading, ensure that you:
- Stop user requests and traffic to the server, either on the front-end Apache HTTPD server or firewall/router
- Stop Jahia before backing up and running the fix applier
- Backup your Jahia installation before running the fix applier. For more details about how to backup Jahia, see the Configuration and Fine tuning guide.
- Run a pre-production test first
Note that the following steps are mainly for projects running under Tomcat or JBoss. If you use WebSphere as application server, refer to the section 7 of the WebSphere 8.5.5 installation guide.
Tomcat
Upgrading a standalone installation
When you perform a standalone install upgrade, you:
- Migrate Digital Experience Manager core and modules
- Stop Jahia and back up your installation
- Upgrade your application
- Clean Tomcat and resources folders
- Start Digital Experience Manager
Migrating Digital Experience Manager core and modules
Copy the fix applier you would like to use on your production server.
A list of all the files you have customized in your installation will help you to go through the upgrade and decide more easily if you want to merge, keep or overwrite the files. For all the files impacted, the fix applier creates a backup in the following folder:
And a detailed log is also available under:
If you didn't use the default ROOT context, the log is located under:
If the fix creator detects that a file has been modified it will try to automatically merge it. If the merge fails you will be able to overwrite the files or skip it installing the modification.
If the merge fails or you decide to skip it, a diff file <FILE_NAME>.patch
is available in the destination folder. Make sure that you don't forget to manually apply the changes.
Stopping Jahia and backing up your installation
Upgrading your application
Open a terminal in the JAHIA_INSTALLATION/tomcat/webapps/ROOT
or JAHIA_INSTALLATION/tomcat/webapps/<your context>
directory if you didn't use the default ROOT context, and type the following command:
The fix applier manages the upgrade of your platform by deleting, updating and merging all necessary files. The fix applier also handles the migration of Jahia Core and all the additional Jahia modules installed on your platform.
If you have externalized your configuration (jar file or folder), you will need to apply the modification relative to jahia.properties or jahia.node.properties manually at the appropriate place.
If you store your DX sources (digital-factory-data
, digital-factory-config
) on a location other than default, you might need to execute the Fix Applier package and pass the required parameters (replace the <DF_INSTALL_DIR> with the corresponding absolute path and the name of the fix applier file with the appropriate one:
Cleaning Tomcat and resources folders
The fix applier handles the cleaning of the Tomcat and resources folders automatically, but depending on your OS and permissions you may need to clean them manually. Ensure that you remove the content of the following Tomcat and resources folders:
Starting your Digital Experience Manager
Start your DX.
If you used additional bundles before migration (bundles that are not Jahia Modules, bundles installed using the Karaf Features), re-install them with the same procedure as used for the initial installation of the additional bundles.
Clustered installation upgrade
Migrate all your nodes starting with the processing node.
To upgrade a clustered installation:
- Shut all nodes down.
- Apply the steps described for a standalone installation.
- Repeat the previous step for each of your cluster nodes.
JBoss
To upgrade your application:
-
Stop your JBoss server and backup your application.
- Upgrade your application. Open a terminal in the JAHIA_INSTALLATION/ and type the following command: (with the right fix applier name).
java -jar <PATH-TO-FIX-APPLIER>/<FIXAPPLIER_NAME>.jar --target /standalone/deployments/digitalfactory.ear --config /standalone/deployments/digital-factory-config.jar --data /digital-factory-data
- Purge the webapp cache by removing
<JBOSS_HOME>
/standalone/tmp/work/jboss.web/default-host
- Restart your JBoss server.
Start JBoss server and monitor the log file to check for a proper startup of migrated DX instance.