Update from v5.0.x to v5.0.latest¶
To update from v4.6.x, see Update from v4.6 to v5.0. To update from an older version, visit the update page and choose the applicable path.
Update the application¶
Note which version you actually have before starting.
First, run:
1 2 | |
1 2 | |
1 2 | |
Then execute the instructions below starting from the version you're upgrading from.
v5.0.1¶
Some packages increase their type hinting strictness. You can run Ibexa DXP Rector to update your code.
v5.0.2¶
Database update¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |
On Commerce, run this additional update queries:
1 2 3 4 5 | |
1 2 3 4 5 6 7 | |
v5.0.3¶
Form Builder performance fix: missing indexes on form submission data ¶
In large production databases, the ibexa_form_submission and ibexa_form_submission_data tables may contain a lot of rows.
Missing indexes can cause high CPU load and slow queries.
Run the provided SQL upgrade script to add the missing indexes to your database:
1 | |
1 | |
v5.0.4¶
Database update ¶
From a platform first installed on v5.0.3 or updated precisely to v5.0.3, you need to execute the requests below. If the platform comes from lower than v5.0.3 and is updated to higher than v5.0.3, you don't need this part (but if you run the requests anyway, you only obtain error messages, nothing being broken or lost).
1 2 3 4 5 6 | |
1 2 3 4 5 6 | |
v5.0.5¶
Elasticsearch 8 support¶
As of v5.0.5, Ibexa DXP adds support for Elasticsearch 8.19 or higher. You can continue using unsupported Elasticsearch 7.16.2+, but it's recommended to upgrade to Elasticsearch 8 for improved performance and security features.
When choosing to keep using Elasticsearch 7.16.2, adjust your configuration as described in the Update configuration section below to avoid using deprecated settings.
If you choose to upgrade to Elasticsearch 8, follow these steps:
Update Elasticsearch server¶
Upgrade your Elasticsearch server to version 8.19 or higher. Follow the Elasticsearch upgrade guide for detailed instructions.
When using Ibexa Cloud, see Elasticsearch service for a list of supported versions.
Update configuration¶
Update your configuration in config/packages/ibexa_elasticsearch.yaml.
Replace deprecated connection pool settings¶
The deprecated connection_pool and connection_selector settings are now ignored and don't have any effect.
Replace them with appropriate node_pool_selector and node_pool_resurrect settings:
1 2 3 4 5 6 | |
1 2 3 4 5 6 | |
For more information, see Node pool settings.
Remove trace option¶
The trace debugging option is no longer available.
1 2 3 4 5 6 | |
1 2 3 4 5 6 | |
Reindex content¶
After upgrading to Elasticsearch 8 and updating your configuration, reindex the search engine:
-
Push the index templates:
1php bin/console ibexa:elasticsearch:put-index-template --overwrite -
Reindex your content:
``` bash php bin/console ibexa:reindex
Database update¶
Run the provided SQL upgrade script to ensure the Messenger tables for background tasks exist in your database:
1 | |
1 | |
LTS Updates and additional packages¶
LTS Updates are standalone packages with their own update procedures. To use the latest features added to them, update them separately with the following commands:
Integrated help ¶
See Integrated help for more information.
If you're already using it, run the following command to get the latest version of this feature:
1 | |
Anthropic connector ¶
See how to configure Anthropic connector for more information.
If you're already using it, run the following command to get the latest version of this feature:
1 | |
Real-time collaborative editing¶
To learn more about the Real-time editing, see the installation and configuration instructions.
If you're already using it, run the following command to get the latest version of this feature:
1 | |