From 3e2817f01d238085cbd87da5e3c35a1252828f41 Mon Sep 17 00:00:00 2001 From: Jesper Madsen <32263802+jesp209i@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:32:57 +0100 Subject: [PATCH 1/5] Update Troubleshooting.md --- .../project-settings/umbraco-cicd/Troubleshooting.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md index bd2031c1ddd..8231baee2e3 100644 --- a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md +++ b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md @@ -103,6 +103,14 @@ You can see an example of how you could zip your repository before uploading it, ## Deployment failed +### File missing: The .umbraco file cannot be found in the root of the repository + +The `.umbraco` file is missing or has been renamed. This file needs to be present in the root of the repo + +### File format Error: The .umbraco file is not valid + +The `.umbraco` file has invalid charecters. Usually the slashed in the path needs to be reversed + ### Cannot apply update because the following packages would be downgraded: Package: Umbraco.{abc}, Version: {x.y.z} The service goes through all .csproj-files contained in the uploaded package, and compares that to the versions running in your left-most cloud environment. From 62ad22514bc405b728f088c7599cbffa0dbb792a Mon Sep 17 00:00:00 2001 From: Jesper Madsen <32263802+jesp209i@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:37:11 +0100 Subject: [PATCH 2/5] Update Troubleshooting.md --- .../project-settings/umbraco-cicd/Troubleshooting.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md index 8231baee2e3..bb150fe41a8 100644 --- a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md +++ b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md @@ -105,11 +105,19 @@ You can see an example of how you could zip your repository before uploading it, ### File missing: The .umbraco file cannot be found in the root of the repository -The `.umbraco` file is missing or has been renamed. This file needs to be present in the root of the repo +The `.umbraco` file is missing or has been renamed. This file needs to be present in the root of the repo. ### File format Error: The .umbraco file is not valid -The `.umbraco` file has invalid charecters. Usually the slashed in the path needs to be reversed +The `.umbraco` file has invalid charecters. The most common error is that the slashes in the base field is the wrong way. + +Below is an example of the default `.umbraco` file that comes with a new Umbraco Cloud project. + +``` +[project] +base = "src/UmbracoProject" +csproj = "UmbracoProject.csproj" +``` ### Cannot apply update because the following packages would be downgraded: Package: Umbraco.{abc}, Version: {x.y.z} From d479c1b19266a8bc0ac6ee68ae5fea01ee57a9aa Mon Sep 17 00:00:00 2001 From: Jesper Madsen <32263802+jesp209i@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:09:08 +0100 Subject: [PATCH 3/5] Update Troubleshooting.md --- .../set-up/project-settings/umbraco-cicd/Troubleshooting.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md index bb150fe41a8..8a504cb00f1 100644 --- a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md +++ b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md @@ -105,11 +105,12 @@ You can see an example of how you could zip your repository before uploading it, ### File missing: The .umbraco file cannot be found in the root of the repository -The `.umbraco` file is missing or has been renamed. This file needs to be present in the root of the repo. +The `.umbraco` file is missing or has been renamed. This file needs to be present in the root of the zipped package. ### File format Error: The .umbraco file is not valid -The `.umbraco` file has invalid charecters. The most common error is that the slashes in the base field is the wrong way. +The `.umbraco` file has invalid charecters. Sometimes people need to change the folder structure of the repository and change the name of the default project. +Take care that the base field is not using backslashes ('\') as folder deminitor. Below is an example of the default `.umbraco` file that comes with a new Umbraco Cloud project. From f06c2a1761cbf7ed844c01f441c6cd1e71aeb51f Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 16 Jan 2025 08:46:53 +0100 Subject: [PATCH 4/5] Update Troubleshooting.md --- .../set-up/project-settings/umbraco-cicd/Troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md index 8a504cb00f1..ea888f70234 100644 --- a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md +++ b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md @@ -109,7 +109,7 @@ The `.umbraco` file is missing or has been renamed. This file needs to be presen ### File format Error: The .umbraco file is not valid -The `.umbraco` file has invalid charecters. Sometimes people need to change the folder structure of the repository and change the name of the default project. +The `.umbraco` file has invalid characters. Sometimes people need to change the folder structure of the repository and change the name of the default project. Take care that the base field is not using backslashes ('\') as folder deminitor. Below is an example of the default `.umbraco` file that comes with a new Umbraco Cloud project. From 1bb8e969208a76cad90e5d8451b6fa6344551271 Mon Sep 17 00:00:00 2001 From: Jesper Madsen <32263802+jesp209i@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:26:40 +0100 Subject: [PATCH 5/5] Update umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md Co-authored-by: sofietoft --- .../set-up/project-settings/umbraco-cicd/Troubleshooting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md index ea888f70234..ed53014f1fa 100644 --- a/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md +++ b/umbraco-cloud/set-up/project-settings/umbraco-cicd/Troubleshooting.md @@ -109,8 +109,8 @@ The `.umbraco` file is missing or has been renamed. This file needs to be presen ### File format Error: The .umbraco file is not valid -The `.umbraco` file has invalid characters. Sometimes people need to change the folder structure of the repository and change the name of the default project. -Take care that the base field is not using backslashes ('\') as folder deminitor. +The `.umbraco` file has invalid characters. Sometimes people need to change the repository's folder structure and the default project's name. +Ensure that the base field does not use backslashes ('\') as the folder denominator. Below is an example of the default `.umbraco` file that comes with a new Umbraco Cloud project.