Troubleshooting
If you see the following errors in the terminal and log file:

The named database cannot be accessed with the connection string provided. In this example, the problem is getting access to the Sitecore.Core database.
Make sure that SQL Server is accessible from the Sitecore upgrade container at the address specified in the sql-server.txt secret file and that the connection string for the database is correct and run the upgrade container again.
Build and deploy Sitecore role instances
To upgrade individual Sitecore roles in a containerized deployment, you must:
-
Use the new Sitecore XP version as a codebase.
-
Consume all the breaking changes and resolve all the conflicts.
Your solution should be fully aligned with the new Sitecore version.
-
Use the new Sitecore Docker images as a base in the Docker files for the corresponding roles and rebuild your images.
-
Deploy the containerized environment using the new Sitecore roles images with your solution and configure it to use the upgraded SQL databases.
If you have on-premise environment, follow the instructions in the Sitecore Experience Platform Upgrade guide to upgrade your Sitecore roles. There is no need to perform any database upgrade actions as they all are done by the Sitecore upgrade container.