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: 10/umbraco-deploy/getting-started/deploy-settings.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ For illustration purposes, the following structure represents the full set of op
48
48
"DiskOperationsTimeout": "0.0:05:00",
49
49
"SourceDeployBatchSize": null,
50
50
"PackageBatchSize": null,
51
-
"UseDatabaseBackedTransferQueue": true,
51
+
"UseDatabaseTransferQueue": true,
52
52
"IgnoreBrokenDependenciesBehavior": "Restore",
53
53
"AcceptInvalidCertificates": false,
54
54
"TransferFormsAsContent": true,
@@ -89,7 +89,7 @@ Our recommended approach is to leave this setting as `Default` and use source co
89
89
90
90
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.
91
91
92
-
## ExcludedEntityTypes
92
+
## ExcludedEntityTypes {#excludedentitytypes}
93
93
94
94
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:
95
95
@@ -133,7 +133,7 @@ Here is an example of how the setting can look:
133
133
],
134
134
```
135
135
136
-
## Timeout settings
136
+
## Timeout settings {#timeout-settings}
137
137
138
138
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.
139
139
@@ -158,7 +158,7 @@ This setting defaults to 5 minutes.
158
158
159
159
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.
160
160
161
-
## Batch settings
161
+
## Batch settings {#batch-settings}
162
162
163
163
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.
164
164
@@ -169,29 +169,29 @@ If encountering this issue, there are two batch settings that can be applied wit
169
169
*`SourceDeployBatchSize` - applies a batch setting for the transfer of multiple selected items to an upstream environment (such as a media folder with many images).
170
170
*`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.
171
171
172
-
## UseDatabaseBackedTransferQueue
172
+
## UseDatabaseTransferQueue
173
173
174
174
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.
175
175
176
176
From 9.5 and 10.1, a database backed queue was implemented and is used by default.
177
177
178
178
If for any reason there was a need to revert to the previous implementation, the value of this setting can be set to `false`.
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`.
183
183
184
184
{% hint style="info" %}
185
185
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.
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`.
191
191
192
192
Please see the note above under _TransferFormsAsContent_ on the topic of removing any existing serialized files having changed this value to `true`.
193
193
194
-
## IgnoreMissingLanguagesForDictionaryItems
194
+
###IgnoreMissingLanguagesForDictionaryItems
195
195
196
196
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.
197
197
@@ -209,7 +209,7 @@ If you transfer a dictionary item with an empty translation to another environme
209
209
210
210
Set this value to `false` to not overwrite already populated values with empty strings.
211
211
212
-
## AllowMembersDeploymentOperations and TransferMemberGroupsAsContent
212
+
## AllowMembersDeploymentOperations and TransferMemberGroupsAsContent {#transfer-members}
213
213
214
214
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.
215
215
@@ -226,13 +226,13 @@ With `TransferMemberGroupsAsContent` set to `true`, member groups can also be tr
226
226
227
227
Please see the note above under _TransferFormsAsContent_ on the topic of removing any existing serialized files having changed this value to `true`.
228
228
229
-
## ExportMemberGroups
229
+
## ExportMemberGroups {#exporting-member-groups}
230
230
231
231
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.
232
232
233
233
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.
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.
238
238
@@ -257,7 +257,7 @@ When configuring for Deploy 9, an additional `IgnoreBrokenDependencies` setting
257
257
"IgnoreBrokenDependenciesBehavior": "Restore",
258
258
```
259
259
260
-
## Memory cache reload
260
+
## Memory cache reload {#memory-cache-reload}
261
261
262
262
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:
263
263
@@ -267,7 +267,7 @@ Some customers have reported intermittent issues related to Umbraco's memory cac
267
267
268
268
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.
269
269
270
-
### Deployment of culture & hostnames settings
270
+
### Deployment of culture & hostnames settings {#deployment-of-culture--hostnames-settings}
271
271
272
272
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.
273
273
@@ -283,7 +283,7 @@ To enable this, set the configuration value as appropriate for the types of doma
283
283
284
284
Combinations of settings can be applied, e.g. `Hostname,AbsolutePath`.
285
285
286
-
## Deployment of public access settings
286
+
## Deployment of public access settings {#deployment-of-public-access-settings}
287
287
288
288
When deploying content items, public access rules based on member groups are transferred. You can amend this behavior using this setting.
289
289
@@ -298,7 +298,7 @@ When deploying content items, public access rules based on member groups are tra
298
298
299
299
`AddOrUpdate` is the default setting used if no value is configured.
300
300
301
-
## Deployment of trashed content
301
+
## Deployment of trashed content {#deployment-of-trashed-content}
302
302
303
303
Specifies options for handling trashed content (documents, media and members) on export or import:
304
304
@@ -325,7 +325,7 @@ If you would prefer to use SQL Server LocalDb when it's available on your local
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.
331
331
@@ -335,7 +335,7 @@ If a lot of files need to be checked, this can be slow, and a faster option is a
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.
0 commit comments