Skip to content

Commit fc700db

Browse files
authored
Merge pull request #6718 from umbraco/cloud-upgrade
Simplified steps in Major upgrades Cloud article
2 parents d0424b8 + 00b3225 commit fc700db

File tree

2 files changed

+31
-35
lines changed

2 files changed

+31
-35
lines changed
24.4 KB
Loading

umbraco-cloud/product-upgrades/major-upgrades.md

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,14 @@ Look for the "**Upgrade from/to Umbraco xx"** boxes. These boxes contain importa
6060

6161
## Step 1: Enable .NET
6262

63+
Before proceeding, you must determine whether the .NET framework version needs to be updated for your project. If no changes to the .NET version are required, you can skip this step and proceed with Step 2.
64+
65+
Refer to the [Choose the correct .NET version](https://docs.umbraco.com/umbraco-cms/fundamentals/setup/upgrading#choose-the-correct-.net-version) section to identify whether a .NET version update is necessary for your upgrade.
66+
6367
1. Go to the project in the Umbraco Cloud portal.
6468
2. Navigate to **Configuration** -> **Advanced**.
6569
3. Scroll down to the **Runtime Settings** section.
66-
4. **Ensure that the latest version of .NET is enabled** for each environment on your Cloud project, by selecting it from the dropdown.
70+
4. Select the appropriate .NET version from the **Change .NET framework runtime for your Umbraco install** dropdown for each environment in your Cloud project.
6771

6872
<figure><img src="../../.gitbook/assets/runtime-settings.png" alt=""><figcaption><p>Runtime settings</p></figcaption></figure>
6973

@@ -76,34 +80,30 @@ Look for the "**Upgrade from/to Umbraco xx"** boxes. These boxes contain importa
7680

7781
## Step 3: Upgrade the project locally using Visual Studio
7882

79-
1. Open your project in Visual Studio - use the `csproj` file in the `/src/UmbracoProject` folder.
80-
2. Right-click your project solution in **Solution Explorer**.
81-
3. Select **Properties**.
82-
83-
<figure><img src="images/Solution-Explorer.png" alt=""><figcaption></figcaption></figure>
83+
1. Open the `csproj` file located in the `/src/UmbracoProject` folder.
84+
2. Determine if you need to update the .NET version based on the changes made in [Step 1](major-upgrades.md#step-1-enable-net):
85+
* **If the .NET version was updated:** Update the `<TargetFramework>` to match the version set in your Cloud environment.
86+
* **If the .NET version was not updated:** Skip this step.
8487

85-
4. Change the **Target framework** in the **General** section of the **Application** tab.
86-
1. Choose the version you set on your Cloud environment in [Step 1](major-upgrades.md#step-1-enable-.net).
87-
88-
![Target Framework](images/Target-Framework.png)
88+
<details>
8989

90-
5. Go to **Tools** > **NuGet Package Manager** > **Manage NuGet Packages for Solution.**
91-
6. Navigate to the **Updates** tab.
92-
7. Select the version you are updated to, and follow the instructions:
90+
<summary>Upgrading to Umbraco 15</summary>
9391

94-
{% tabs %}
95-
{% tab title="Umbraco 15" %}
9692
The following packages are no longer needed on the Cloud platform:
9793

9894
* `Umbraco.Cloud.Cms.PublicAccess`
9995
* `Umbraco.Cloud.Identity.Cms`
10096

101-
The references to these packages need to be deleted.
97+
Delete the `<PackageReference>` entries for these packages.
98+
99+
</details>
102100

103-
1. Open the `.csproj` file.
104-
2. Locate `PackageReference` for the packages mentioned above.
105-
3. Delete the references and save the file.
101+
3. Go to **Tools** > **NuGet Package Manager** > **Manage NuGet Packages for Solution**.
102+
4. Navigate to the **Updates** tab.
103+
5. Select the version you are updated to and follow the instructions:
106104

105+
{% tabs %}
106+
{% tab title="Umbraco 15" %}
107107
Update the following packages:
108108

109109
* `Umbraco.Forms.Deploy`
@@ -164,11 +164,9 @@ Update the following packages:
164164
{% endtabs %}
165165

166166
{% hint style="info" %}
167-
If you have more projects in your solution or other packages, make sure that these are also updated to support the latest .NET.
167+
Update all projects and packages in your solution to support the latest .NET.
168168
{% endhint %}
169169

170-
![All packages checked in the Visual Studio Package manager and ready for update](images/check-all-packages-2.png)
171-
172170
## Step 4: Finishing the Upgrade
173171

174172
1. Ensure the [Unattended Upgrades](https://docs.umbraco.com/umbraco-cms/fundamentals/setup/upgrading#run-an-unattended-upgrade) feature is **enabled**.
@@ -291,20 +289,18 @@ The following steps involve setting a **content-freeze** period on the project.
291289
4. Import content using either of the following approaches:
292290
1. [Restore content and media](../deployment/restoring-content/) directly from the backoffice.
293291
2. Use the [Database Backup and Restore](../databases/backups.md) functionality in the Cloud Portal.
294-
5. Follow [Step 1](major-upgrades.md#step-1-enable-.net) for the next environment in the line.
295-
6. Deploy the upgrade from the left-most environment (Development).
296-
7. Verify and test all functionality on the upgraded environment.
297-
8. [Remove your custom hostname(s)](../set-up/project-settings/manage-hostnames/) from the production environment.
298-
9. Ensure the hostname(s) no longer point to the production environment.
299-
10. [Add the custom hostname(s)](../set-up/project-settings/manage-hostnames/) to the new environment (Staging).
300-
11. Follow [Step 1](major-upgrades.md#step-1-enable-.net) for the production environment.
301-
12. Deploy the upgrade to the production environment.
292+
5. Deploy the upgrade from the left-most environment (Development).
293+
6. Verify and test all functionality on the upgraded environment.
294+
7. [Remove your custom hostname(s)](../set-up/project-settings/manage-hostnames/) from the production environment.
295+
8. Ensure the hostname(s) no longer point to the production environment.
296+
9. [Add the custom hostname(s)](../set-up/project-settings/manage-hostnames/) to the new environment (Staging).
297+
10. Deploy the upgrade to the production environment.
302298
1. In case the upgrade is taking longer than expected, restore a backup of the Staging database on the production environment.
303-
13. Cancel **content-freeze**.
304-
14. Verify and test all functionality in the production environment.
305-
15. [Remove your custom hostname(s)](../set-up/project-settings/manage-hostnames/) from the Staging environment.
306-
16. Ensure the hostname(s) no longer point to the Staging environment.
307-
17. [Add the custom hostname(s)](../set-up/project-settings/manage-hostnames/) to the production environment.
299+
11. Cancel **content-freeze**.
300+
12. Verify and test all functionality in the production environment.
301+
13. [Remove your custom hostname(s)](../set-up/project-settings/manage-hostnames/) from the Staging environment.
302+
14. Ensure the hostname(s) no longer point to the Staging environment.
303+
15. [Add the custom hostname(s)](../set-up/project-settings/manage-hostnames/) to the production environment.
308304
{% endtab %}
309305

310306
{% tab title="Without content freeze" %}

0 commit comments

Comments
 (0)