Skip to content

Commit 609f757

Browse files
authored
Add deployment configuration hint to docs (#106)
1 parent 8055749 commit 609f757

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

doc/01_Installation/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,23 @@ See [OpenSearch Client Setup](../02_Configuration/04_Opensearch.md) for more inf
4444
./bin/console messenger:consume pimcore_generic_data_index_queue
4545
```
4646

47+
**Deployment hint:**
48+
49+
For deployments of applications with this bundle via deployment pipelines without actual database access, the Symfony cache warming process could fail as doctrine ORM tries to determine the database version on cache warm-up to build its cache. Therefore, it is recommended to configure the database server version in the default DBAL connection like this:
50+
51+
```yaml
52+
doctrine:
53+
dbal:
54+
default_connection: default
55+
connections:
56+
default:
57+
...
58+
server_version: mariadb-10.11.0
59+
```
60+
4761
## Commands after Installation
4862
4963
It is needed to run following command after installation (at least) once to create the indices and add all assets and data objects to the index queue:
5064
```bash
5165
./bin/console generic-data-index:update:index -r
52-
```
66+
```

0 commit comments

Comments
 (0)