Skip to content

Commit 51c906b

Browse files
authored
Merge branch 'umbraco:main' into main
2 parents 6965937 + 264c3ad commit 51c906b

File tree

13 files changed

+179
-120
lines changed

13 files changed

+179
-120
lines changed

10/umbraco-deploy/getting-started/deploy-settings.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For illustration purposes, the following structure represents the full set of op
4848
"DiskOperationsTimeout": "0.0:05:00",
4949
"SourceDeployBatchSize": null,
5050
"PackageBatchSize": null,
51-
"UseDatabaseBackedTransferQueue": true,
51+
"UseDatabaseTransferQueue": true,
5252
"IgnoreBrokenDependenciesBehavior": "Restore",
5353
"AcceptInvalidCertificates": false,
5454
"TransferFormsAsContent": true,
@@ -89,7 +89,7 @@ Our recommended approach is to leave this setting as `Default` and use source co
8989

9090
However, we are aware that some customers prefer the option to use the backoffice for all data transfers. If that is the case, the `BackOfficeOnly` setting will allow this.
9191

92-
## ExcludedEntityTypes
92+
## ExcludedEntityTypes {#excludedentitytypes}
9393

9494
This setting allows you to exclude a certain type of entity from being deployed. This is **not** recommended to set, but sometimes there may be issues with the way a custom media fileprovider works with your site and you will need to set it for media files. Here is an example:
9595

@@ -133,7 +133,7 @@ Here is an example of how the setting can look:
133133
],
134134
```
135135

136-
## Timeout settings
136+
## Timeout settings {#timeout-settings}
137137

138138
Umbraco Deploy have a few built-in timeouts, which on larger sites might need to be modified. You will usually see these timeouts in the backoffice with an exception mentioning a timeout. It will be as part of a full restore or a full deploy of an entire site. In the normal workflow you should never hit these timeouts.
139139

@@ -158,7 +158,7 @@ This setting defaults to 5 minutes.
158158

159159
All of these times are configured using [standard timespan format strings](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-timespan-format-strings). The values of the settings will have to be the same value on all timeout settings.
160160

161-
## Batch settings
161+
## Batch settings {#batch-settings}
162162

163163
Even with appropriate settings of the above timeouts, Deploy's backoffice transfer operations can hit a hard limit imposed by the hosting environment. For Azure, this is around 4 minutes. This will typically only be reached if deploying a considerable amount of items in one go. For example, a media folder with thousands of items can reach this limit.
164164

@@ -169,29 +169,29 @@ If encountering this issue, there are two batch settings that can be applied wit
169169
* `SourceDeployBatchSize` - applies a batch setting for the transfer of multiple selected items to an upstream environment (such as a media folder with many images).
170170
* `PackageBatchSize` - applies a batch setting to the processing of a Deploy "package", which contains all the items selected for a Deploy operation, plus all the determined dependencies and relations.
171171

172-
## UseDatabaseBackedTransferQueue
172+
## UseDatabaseTransferQueue
173173

174174
In earlier versions of Umbraco Deploy, the transfer queue was implemented using in-memory storage. As a result, it would not be persisted across application restarts.
175175

176176
From 9.5 and 10.1, a database backed queue was implemented and is used by default.
177177

178178
If for any reason there was a need to revert to the previous implementation, the value of this setting can be set to `false`.
179179

180-
## TransferFormsAsContent
180+
## TransferFormsAsContent {#transfer-forms-data-as-content}
181181

182182
In order for Deploy to handle Forms data as content, you'll to ensure the `TransferFormsAsContent` setting is set to `true`. To transfer Forms data as schema, i.e. via .uda files committed to source control, use a value of `false`.
183183

184184
{% hint style="info" %}
185185
On changing this value from `false` to `true`, make sure to remove any `.uda` files for Forms entities that have already been serialized to disk. These will no longer be updated. By deleting them you avoid any risk of them being processed in the future and inadvertently reverting a form to an earlier state.
186186
{% endhint %}
187187

188-
## TransferDictionaryAsContent
188+
## TransferDictionaryAsContent {#transfer-dictionary-items-as-content}
189189

190190
In a similar way, Deploy can be configured to allow for backoffice transfers of dictionary items instead of using files serialized to disk, by setting `TransferDictionaryAsContent` as `true`.
191191

192192
Please see the note above under _TransferFormsAsContent_ on the topic of removing any existing serialized files having changed this value to `true`.
193193

194-
## IgnoreMissingLanguagesForDictionaryItems
194+
### IgnoreMissingLanguagesForDictionaryItems
195195

196196
When deploying dictionary items, an exception will be thrown if a translation is provided for a language that doesn't exist in the target environment.
197197

@@ -209,7 +209,7 @@ If you transfer a dictionary item with an empty translation to another environme
209209

210210
Set this value to `false` to not overwrite already populated values with empty strings.
211211

212-
## AllowMembersDeploymentOperations and TransferMemberGroupsAsContent
212+
## AllowMembersDeploymentOperations and TransferMemberGroupsAsContent {#transfer-members}
213213

214214
As of version 9.3.0, it's also possible to transfer members and member groups via the back-office between environments. This is disabled by default as a deliberate decision to make use of the feature needs to be taken, as for most installations it will make sense to have member data created and managed only in production. There are obvious potential privacy concerns to consider too. However, if being able to deploy and restore this information between environments makes sense for the specific workflow of your project, it's a supported scenario.
215215

@@ -226,13 +226,13 @@ With `TransferMemberGroupsAsContent` set to `true`, member groups can also be tr
226226

227227
Please see the note above under _TransferFormsAsContent_ on the topic of removing any existing serialized files having changed this value to `true`.
228228

229-
## ExportMemberGroups
229+
## ExportMemberGroups {#exporting-member-groups}
230230

231231
This setting is to be defined and set to `false` only if you are using an external membership provider for your members. You will not want to export Member Groups that would no longer be managed by Umbraco but by an external membership provider.
232232

233233
Setting `exportMemberGroups` to `false` will no longer export Member Groups to .uda files on disk. The default for this setting is `true`, as most sites use Umbraco's built-in membership provider and thus will want the membership groups exported.
234234

235-
## IgnoreBrokenDependenciesBehavior
235+
## IgnoreBrokenDependenciesBehavior {#ignore-broken-dependencies}
236236

237237
When restoring or transferring content, Umbraco Deploy will make checks to ensure that any dependent content, media or other items are either present in the target environment, or can be deployed from the source environment.
238238

@@ -257,7 +257,7 @@ When configuring for Deploy 9, an additional `IgnoreBrokenDependencies` setting
257257
"IgnoreBrokenDependenciesBehavior": "Restore",
258258
```
259259

260-
## Memory cache reload
260+
## Memory cache reload {#memory-cache-reload}
261261

262262
Some customers have reported intermittent issues related to Umbraco's memory cache following deployments, which are resolved by a manual reload of the cache via the _Settings > Published Status > Caches_ dashboard. If you are running into such issues and are able to accommodate a cache clear after deployment, this workaround can be automated via the following setting:
263263

@@ -267,7 +267,7 @@ Some customers have reported intermittent issues related to Umbraco's memory cac
267267

268268
By upgrading to the most recent available version of the CMS major you are running, you'll be able to benefit from the latest bug fixes and optimizations in this area. That should be your first option if encountering cache related issues. Failing that, or if a CMS upgrade is not an option, then this workaround can be considered.
269269

270-
### Deployment of culture & hostnames settings
270+
### Deployment of culture & hostnames settings {#deployment-of-culture--hostnames-settings}
271271

272272
Culture and hostname settings, defined per content item for culture invariant content, are not deployed between environments by default. They can be opted into via configuration.
273273

@@ -283,7 +283,7 @@ To enable this, set the configuration value as appropriate for the types of doma
283283

284284
Combinations of settings can be applied, e.g. `Hostname,AbsolutePath`.
285285

286-
## Deployment of public access settings
286+
## Deployment of public access settings {#deployment-of-public-access-settings}
287287

288288
When deploying content items, public access rules based on member groups are transferred. You can amend this behavior using this setting.
289289

@@ -298,7 +298,7 @@ When deploying content items, public access rules based on member groups are tra
298298

299299
`AddOrUpdate` is the default setting used if no value is configured.
300300

301-
## Deployment of trashed content
301+
## Deployment of trashed content {#deployment-of-trashed-content}
302302

303303
Specifies options for handling trashed content (documents, media and members) on export or import:
304304

@@ -325,7 +325,7 @@ If you would prefer to use SQL Server LocalDb when it's available on your local
325325
"PreferLocalDbConnectionString": true
326326
```
327327

328-
## MediaFileChecksumCalculationMethod
328+
## MediaFileChecksumCalculationMethod {#media-file-checksum-calculation-method}
329329

330330
Deploy will do comparisons between the entities in different environments to determine if they match and decide whether to include them in the operation. By default, for media files, a check is made on a portion of the initial bytes of the file.
331331

@@ -335,7 +335,7 @@ If a lot of files need to be checked, this can be slow, and a faster option is a
335335

336336
To use this method, set the value to `Metadata`.
337337

338-
## NumberOfSignaturesToUseAllRelationCache
338+
## NumberOfSignaturesToUseAllRelationCache {#number-of-signatures-to-use-all-relation-cache}
339339

340340
When reviewing a set of items for a deployment operation, Deploy will retrieve and include relations. It does this either via single database lookups, or by bringing all relations into memory in one step, and retrieving them from there.
341341

0 commit comments

Comments
 (0)