Skip to content

Commit 56d1491

Browse files
authored
Merge pull request #6537 from umbraco/minor-upgrades
Updated Cloud Minor Upgrades article
2 parents 603b6f2 + 638b76a commit 56d1491

File tree

1 file changed

+26
-17
lines changed

1 file changed

+26
-17
lines changed
Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,69 @@
11
---
2-
description: This article explains how Minor upgrades on Umbraco Cloud works.
2+
description: This article explains how Minor upgrades work in Umbraco Cloud.
33
---
44

55
# Minor Upgrades
66

7-
When a new minor version is released, there are two ways of upgrading your project. For existing projects, you can opt-in for automatic minor upgrades.
7+
When a new minor version is released, there are two ways to upgrade your project:
88

9-
To enable Automatic Minor Upgrades follow these steps:
9+
- [Automatic Minor Upgrades](#automatic-minor-upgrades)
10+
- [Manual Minor Upgrades](#manual-minor-upgrades)
11+
12+
## Automatic Minor Upgrades
13+
14+
To enable automatic minor upgrades, follow these steps:
1015

1116
1. Go to your Umbraco Cloud project.
12-
2. Go to `Settings` -> `Automatic Upgrades`.
17+
2. Navigate to **Configuration** -> **Automatic Upgrades**.
1318

1419
<figure><img src="../.gitbook/assets/image (47).png" alt="Settings Umbraco Cloud"><figcaption><p>Settings Umbraco Cloud</p></figcaption></figure>
15-
3. Enable Automatic Minor Upgrades
20+
3. Enable **Automatic Minor Upgrades**.
1621

1722
<figure><img src="../.gitbook/assets/image (10) (1).png" alt=""><figcaption><p>Enable Minor Upgrades</p></figcaption></figure>
1823

19-
With automatic upgrades enabled it will be applied to all products on Umbraco Cloud: Umbraco CMS, Umbraco Forms, and Umbraco Deploy. Your project does not need to be running the latest minor for automatic upgrades to work. The project will be upgraded to the latest minor when it is released.
24+
With automatic upgrades enabled, all products on Umbraco Cloud will automatically be upgraded. This includes Umbraco CMS, Umbraco Forms, and Umbraco Deploy. Your project does not need to be running the latest minor version for automatic upgrades to work. The project will be upgraded to the latest minor version when it is released.
2025

21-
If you create a new project on Umbraco Cloud the project will by default have automatic minor upgrades enabled.
26+
If you create a new project on Umbraco Cloud automatic upgrades are enabled by default.
2227

2328
{% hint style="info" %}
2429
For projects where automatic minor upgrades are enabled, having a Development environment is not compulsory. However, it is highly recommended to facilitate a smoother and more controlled upgrade experience. In cases where manual upgrades are necessary, a Development environment becomes essential.
2530
{% endhint %}
2631

2732
A development environment is included in all Umbraco Cloud plans, except Starter. Find pricing details for Umbraco Cloud Starter plans on our [website](https://umbraco.com/products/umbraco-cloud/pricing).
2833

29-
A manual upgrade involves a more hands-on approach, where the upgrade process is initiated and controlled by the user or development team. This allows for greater flexibility and oversight, enabling teams to test and adapt the upgrade to their specific needs and configurations. Particularly, it provides an opportunity to thoroughly test the new version in a controlled environment before applying it to live production environments. This ensures compatibility and minimizes disruptions.
34+
## Manual Minor Upgrades
35+
36+
A manual upgrade involves a more hands-on approach, where the upgrade process is initiated and controlled by the user or development team. This allows for greater flexibility and oversight, enabling teams to test and adapt the upgrade to their specific needs and configurations. A manual upgrade provides an opportunity to thoroughly test the new version in a controlled environment before applying it to live production environments. This ensures compatibility and minimizes disruptions.
37+
38+
For more information about manual minor upgrades, see the [Manual upgrade of Umbraco CMS](../product-upgrades/manual-upgrades/manual-cms-upgrade.md) article.
3039

31-
## Troubleshooting Automated minor upgrades
40+
## Troubleshooting Automated Minor Upgrades
3241

33-
Umbraco Cloud supports doing minor upgrades to your projects in an automated manner. The feature is available when a new minor version of Umbraco is released (for example 10.5.0 or 10.6.0).
42+
Umbraco Cloud supports performing minor upgrades to your projects automatically. The feature is available when a new minor version of Umbraco is released (for example 10.5.0 or 10.6.0).
3443

35-
The upgrade will cover most issues it encounters, but at certain Umbraco configurations, it needs some manual intervention. This is usually related to custom code being dependent on some APIs that have either changed or been removed for the new minor upgrade.
44+
The upgrade will resolve most issues it encounters, but some Umbraco configurations may need manual intervention. This is usually related to custom code that depends on APIs that have changed or been removed in the new minor version.
3645

37-
In general, if anything should fail during this process, you can reach out for support, using the in-app chat in the bottom right corner. We will help you through the upgrade process, should anything happen.
46+
If anything fails during this process, you can reach out for support using the in-app chat in the bottom right corner. We will assist you through the upgrade process if any issues arise.
3847

39-
## Database upgrade failing
48+
## Database Upgrade Failing
4049

4150
Symptoms and feedback are given from the upgrade process: **Unable to run the Umbraco installer**
4251

4352
The first step in the process, after having updated all the files, is to call the Umbraco install engine. This is done in order to get its database updated to support the new version. As this step is the first time the site gets requested after the updated files are run, it may fail. The reason is often code that is incompatible with the upgraded files.
4453

4554
It can be code that references APIs that have been deprecated, or code that has some strong references to specific versions. If the error is clear, it will be shown on the screen. It will be a typical ASP.NET error message also called a Yellow Screen of Death (YSOD). You should request the site, and check the error it shows. If the error isn't descriptive, then it is time to clone the repository to your local machine and fix the issue. The usual suspects would be:
4655

47-
* The code you have running is referencing an API that has been changed, is being modified, is obsolete, or removed.
48-
* The `web.config` had assembly bindings for a specific DLL version that doesn't exist anymore. During the upgrade process, we do update the references we are shipping, but there might be something missing.
56+
- The code you have running is referencing an API that has been changed, is being modified, is obsolete, or removed.
57+
- The `web.config` had assembly bindings for a specific DLL version that doesn't exist anymore. During the upgrade process, we do update the references we are shipping, but there might be something missing.
4958

5059
Once you have the site running locally, you should push your changes to the repository. This will update the site, and it should now be in a running state.
5160

5261
The upgrade process left off when it needed three more steps. These three steps now need to be done manually.
5362

5463
1. Complete the installer
55-
* To complete the installer, you should visit the site: `https://dev-YOURSITEALIAS.euwest01.umbraco.io`. This will show you the installer screen, where you should insert your backoffice credentials and follow the process. It will run through a few steps, and later Umbraco will be updated to the latest version.
64+
- To complete the installer, you should visit the site: `https://dev-YOURSITEALIAS.euwest01.umbraco.io`. This will show you the installer screen, where you should insert your backoffice credentials and follow the process. It will run through a few steps, and later Umbraco will be updated to the latest version.
5665
2. Export the metadata files.
57-
* The second thing you need to do is to regenerate the metadata files used for transferring items like document types, data types, and media types. This is done by accessing the Power tools (Kudu) on the project, opening the cmd prompt, and browsing to the wwwroot/data folder. Once there, you need to enter `echo > deploy-export`. This will generate the required files for the upgraded site to work with Umbraco Deploy.
66+
- The second thing you need to do is to regenerate the metadata files used for transferring items like document types, data types, and media types. This is done by accessing the Power tools (Kudu) on the project, opening the cmd prompt, and browsing to the wwwroot/data folder. Once there, you need to enter `echo > deploy-export`. This will generate the required files for the upgraded site to work with Umbraco Deploy.
5867
3. The last thing to do is to go to the `/site/locks` folder (still through Kudu) and rename the file called `upgrading` to `upgraded-minor` - rename the file by typing `ren upgrading upgraded-minor`. This will indicate to Umbraco Cloud, that the development environment is now ready to deploy all its changes to the next environment.
5968

6069
Before deploying the upgrade to the next environment, you should verify that everything looks as expected on the development environment.

0 commit comments

Comments
 (0)