You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: umbraco-cloud/product-upgrades/major-upgrades.md
+31-35Lines changed: 31 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,10 +60,14 @@ Look for the "**Upgrade from/to Umbraco xx"** boxes. These boxes contain importa
60
60
61
61
## Step 1: Enable .NET
62
62
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
+
63
67
1. Go to the project in the Umbraco Cloud portal.
64
68
2. Navigate to **Configuration** -> **Advanced**.
65
69
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.
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.
84
87
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
-

88
+
<details>
89
89
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>
93
91
94
-
{% tabs %}
95
-
{% tab title="Umbraco 15" %}
96
92
The following packages are no longer needed on the Cloud platform:
97
93
98
94
*`Umbraco.Cloud.Cms.PublicAccess`
99
95
*`Umbraco.Cloud.Identity.Cms`
100
96
101
-
The references to these packages need to be deleted.
97
+
Delete the `<PackageReference>` entries for these packages.
98
+
99
+
</details>
102
100
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:
106
104
105
+
{% tabs %}
106
+
{% tab title="Umbraco 15" %}
107
107
Update the following packages:
108
108
109
109
*`Umbraco.Forms.Deploy`
@@ -164,11 +164,9 @@ Update the following packages:
164
164
{% endtabs %}
165
165
166
166
{% 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.
168
168
{% endhint %}
169
169
170
-

171
-
172
170
## Step 4: Finishing the Upgrade
173
171
174
172
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.
291
289
4. Import content using either of the following approaches:
292
290
1.[Restore content and media](../deployment/restoring-content/) directly from the backoffice.
293
291
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.
302
298
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.
0 commit comments