Before Read: If you run into more issues don’t hesitate to contact me or just ping me in the ezcommunity.slack.com :
Ibexa DXP 3.3.3 (Release date: Mai 18, 2021)
Please always refer to Ibexa 3.3 Upgrade Documentation
Without any long introduction let’s start with the update steps:
1 2 3 |
composer require ibexa/experience:3.3.3 --with-all-dependencies --no-scripts composer recipes:install ibexa/experience --force -v composer run post-install-cmd |
Now you have the latest Ibexa 3.3.3 installation
1 2 |
Lock file operations: 0 installs, 1 update, 0 removals - Upgrading ibexa/experience (v3.3.1 => v3.3.3) |
Be sure to remove the Kaliop bundle in the config/bundles.php file
1 |
Kaliop\eZMigrationBundle\eZMigrationBundle::class => ['all' => true], |
and set the minimum stability to stable, in composer.json:
1 |
"minimum-stability": "stable", |
Update database to v3.3.3
There are no specific DB updates for
3.3.3 but be sure that below updates are available in your installation:
vendor/ibexa/installer/upgrade/db/mysql/ibexa-3.3.0-to-3.3.1.sql
vendor/ibexa/installer/upgrade/db/mysql/ibexa-3.3.1-to-3.3.2.sql
+
Be sure that update entity managers introduced in
3.3.2are available:
1 |
php bin/console debug:container --parameter=doctrine.entity_managers --format=json | grep ibexa_ |
In my case I got below output:
1 |
"ibexa_default": "doctrine.orm.ibexa_default_entity_manager" |
For this entity I have to run below command to get the SQL statement:
1 |
php bin/console doctrine:schema:update --em=ibexa_default --dump-sql |
which produce below queries to execute in your DB:
1 2 3 4 5 6 7 |
ALTER TABLE session CHANGE session_id session_id VARCHAR(255) NOT NULL; ALTER TABLE comment DROP FOREIGN KEY FK_9474526CE2904019; ALTER TABLE comment DROP body, DROP ancestors, DROP depth, DROP created_at, DROP state; DROP INDEX idx_9474526ce2904019 ON comment; CREATE INDEX IDX_5BC96BF0E2904019 ON comment (thread_id); ALTER TABLE comment ADD CONSTRAINT FK_9474526CE2904019 FOREIGN KEY (thread_id) REFERENCES thread (id) ON UPDATE NO ACTION ON DELETE NO ACTION; ALTER TABLE thread DROP permalink, DROP is_commentable, DROP num_comments, DROP last_comment_at; |
ℹ️ For the time being the comment table updates are needed only when using the Ibexa commerce component
At this Step the whole update installation is done. Enjoy!