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/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/troubleshooting.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,12 @@ The reason for this is that the KUDU deploy process fails. This process takes th
10
10
11
11
To resolve this issue, remove the `RestorePackagesWithLockFile` to allow the deployments to go through as expected.
12
12
13
+
### Deployment reports: No changes detected - cleaning up
14
+
15
+
The package you uploaded didn't contain any changes that would affect the git repository on the Cloud Environment. The CICD job will skip the rest of its usual steps and complete.
16
+
17
+
If the expected that the deployment should create a change to the Cloud Environment, please make sure that you are uploading the correct zip file.
18
+
13
19
## Cloud Sync
14
20
15
21
### The projects left-most mainline environment has changed
@@ -163,16 +169,27 @@ In rare cases deployments fail, and the cloud infrastructure doesn't clean up co
163
169
164
170
In order to fix this issue, you need to use [KUDU](../../../optimize-and-maintain-your-site/monitor-and-troubleshoot/power-tools/) to remove the leftover marker file.
165
171
166
-
1. Access KUDU on the "left-most" environment
172
+
1. Access KUDU on the affected environment
167
173
168
174
* If you only have one environment you want the live environment
169
-
* If you have more than one environment, you want the left-most mainline environment
175
+
* If you use V1 endpoints and have more than one environment, you want the left-most mainline environment
170
176
171
177
3. Navigate to `site` > `locks` folder In there, there should be a file named `updating`
172
178
4. Remove the `updating` file.
173
179
174
180
Once the marker file is removed, run your pipeline again.
175
181
182
+
### Unable to verify Deployment has finished
183
+
184
+
This error will be shown when the system is unable to verify the latest deployment is pushed and deployed in Kudu.
185
+
When a change is pushed to a Cloud Environment the Kudu deployment is started. CICD is also utilizing this flow.
186
+
187
+
A couple of steps to try:
188
+
- make sure your code can compile and run (mostly relevant if you are using the skipBuildAndRestore toggle in V2)
189
+
- running npm commands via csproj files is generally unsupported on Umbraco Cloud
190
+
- create and commit a small change and try deploying again
191
+
- a small change can be adding a dummy text file next to you code files or adding a comment in a cs file.
192
+
176
193
## Environment errors after deployment
177
194
178
195
### Unable to determine environment by its {environment-id}
Copy file name to clipboardExpand all lines: umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/umbracocloudapi.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,15 +277,18 @@ Should the deployment fail, check the `deploymentStatusMessages` for more inform
277
277
],
278
278
"createdUtc": string,
279
279
"completedUtc":string,
280
-
"modifiedUtc": string
280
+
"modifiedUtc": string,
281
+
"cloudRepositoryUpdated": boolean
281
282
}
282
283
```
283
284
284
285
## Query Deployments and fetch Changes
285
286
286
287
### Get Deployments
287
288
288
-
The endpoint lets you retrieve a list of completed deployments. It can only list deployments that have been run through the api.
289
+
The endpoint lets you retrieve a list of deployments that have created a change in the git repository of the Cloud Environment. Deployment can have state 'Completed' or 'Failed'.
290
+
291
+
It can only list deployments that have been run through the api.
289
292
290
293
The API allows you to filter and limit the number of returned deployments using query parameters:
291
294
@@ -327,6 +330,7 @@ The response from this API call will return an object containing a list of deplo
0 commit comments