Step-by-Step Overview: Upgrading Sitecore 9.3 XM to 10.3.1 XM
Step-by-Step Overview: Upgrading Sitecore 9.3 XM to 10.3.1 XM
Dear friends,
In a world where technology is constantly evolving, it becomes imperative for us to stay updated, and the same holds true for Sitecore websites. After dedicating days and nights to research, I've observed a scarcity of content on websites or blogs related to Sitecore upgrades. Hence, I've decided to share my experience with Sitecore upgradation/migration in the hope that it proves beneficial to you in some way. Let's delve into the intricacies of the upgrade/migration process.
1. System Prerequisites
- Windows 10
- Sitecore License
- Microsoft SQL Server 2017 or later and SQL Server Management Studio (SSMS)
- To run a Single Sitecore installation, the minimum configuration requirements are:
- 4 core processor
- 16 GB of RAM
- Install Visual Studio 2022 (.Net Framework 4.8): Begin by installing Visual Studio 2022 and make sure it's compatible with the .Net Framework 4.8
- SQL Server 2017 Microsoft SQL Server 2017 or later and SQL Server Management Studio (SSMS)
- IIS Configuration: Set up Internet Information Services (IIS) as per the instructions provided in Installing IIS in Windows 11 - PowerServer 2022 R2 help. https://docs.appeon.com/ps2022r2/Installing_IIS_in_Windows_11.html
Run the Sitecore.UpdateApp tool to perform database cleanup for Items as a Resource (IaaR). Follow these steps to execute the command:
- 1. Navigate to the tool location in the command prompt.
- 2. Before running the command, ensure that you update the connection string to "<Tool Location/ Sitecore.UpdateApp 1.3.1 for Sitecore 8.1.0 rev. 151003\App_Config."
- 3. Additionally, place the license file at "<Tool Location/ Sitecore.UpdateApp 1.3.1 for Sitecore 8.1.0 rev. 151003\Data."
- 4. Finally, execute the command "Sitecore.UpdateApp.exe clean."
6. SXA (XM) package upgrade - (SXA only)
The next step pertains specifically to Sitecore SXA:
- Install the Sitecore SXA 10.3.0 package to update the SXA content. After installation, restart Sitecore and run the indexing manager. Upon installing this package, you may encounter the following errors:
i. Could not load file or assembly 'Sitecore.ContentTesting'
Solution: In the main web.config file, modify the entry from
xml <add key="sxaxm:define" value="sxaxconnect" />
to
xml <add key="sxaxm:define" value="sxaxmonly" />
ii. Similarly, update the corresponding value in the "App_config/Sitecore.XA.Foundation.XConnect.Integration.sxaconfig.xconnect" file.
iii. In the indexing manager, the "sitecore_sxa_master_index" and "sitecore_sxa_web_index" may not be visible. Solution: The file "App_Config\Modules\SXA\z.Foundation.Overrides\Sitecore.XA.Foundation.Search.Solr.config" is overridden after the Sitecore 10.3.0 package installation. Search for the entry "<param desc="core">" in this file, and ensure that its value corresponds to "<YourDomainName>_sxa_web_index" and "<YourDomainName>_sxa_master_index" concerning the id="sitecore_sxa_master_index" for both the web and master indexes.
7. Upgrade your Sitecore Content - (SXA only)
After executing this step, you will notice a yellow warning/message indicating the need to update Sitecore content on most of the items.
After completing the aforementioned steps, and ensuring that Sitecore is up and running, proceed with the following actions:
Perform the following activities on the Sitecore side:
- Publish the Site
- Rebuild link databases
- Clean up databases
- Deploy marketing definitions
- Rebuild all indexes using the index manager
Comments
Post a Comment