This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
If you are updating from an installation based on the ezsystems/ezplatform-ee metarepository,
run the following command to upgrade your database:
1
phpbin/consoleibexa:upgrade
Caution
You can only run this command once.
Check the Location ID of the "Components" Content item and set it as a value of the content_tree_module.contextual_tree_root_location_ids key in config/ezplatform.yaml:
1
- 60 # Components
If you are upgrading between Ibexa Commerce versions,
add the content/read Policy with the Owner Limitation set to self to the "Ecommerce registered users" Role.
Version v3.3.2 introduces new entity managers.
To ensure that they work in multi-repository setups, you must update the Doctrine schema.
You do this manually by following this procedure:
Run the php bin/console cache:clear command to generate the service container.
Run the following command to discover the names of the new entity managers.
Take note of the names that you discover:
If you use Fastly, deploy the most up-to-date VCL configuration.
Locate the vendor/ezsystems/ezplatform-http-cache-fastly/fastly/ez_main.vcl file, make sure that it has been updated with the following changes, and upload it to your Fastly:
Commerce features in Experience and Content editions are disabled by default.
If you use these features, after the update enable Commerce features by going to config\packages\ecommerce.yaml
and setting the following:
Ibexa DXP now supports Fastly shielding. If you are using Fastly and want to use shielding, you need to update your VCL files.
Tip
Even if you do not plan to use Fastly shielding, it is recommended to update the VCL files for future compatibility.
Locate the vendor/ezsystems/ezplatform-http-cache-fastly/fastly/ez_main.vcl file and update your VCL file with the recent changes.
Do the same with vendor/ezsystems/ezplatform-http-cache-fastly/fastly/ez_user_hash.vcl.
Upload a new snippet_re_enable_shielding.vcl snippet file, based on vendor/ezsystems/ezplatform-http-cache-fastly/fastly/snippet_re_enable_shielding.vcl.
If you are hosting your site on Ibexa Cloud be aware of the fact that Varnish is enabled by default as of v1.13.5, v2.4.3 and v2.5.0.
If you are using Fastly, read about how to disable Varnish.
When you resolve all conflicts and update composer.lock, commit the merge.
You may or may not keep composer.lock, depending on your version management workflow.
If you do not want to keep it, run git reset HEAD composer.lock to remove it from the changes.
Run git commit, and adapt the message if necessary.
Go back to master, and merge the update-3.3 branch:
12
gitcheckoutmaster
gitmergeupdate-3.3
Insecure password hashes
To ensure that no users have unsupported, insecure password hashes, run the following command:
1234
# In v1 and v2:
phpbin/consoleezplatform:user:validate-password-hashes
# In v3:
phpbin/consoleibexa:user:validate-password-hashes
This command checks if all user hashes are up-to-date and informs you if any of them need to be updated.
Please tell support that you have updated your installation. They will update your support portal to match the new version.
This ensures that you receive notifications about new maintenance releases and security advisories for the correct version.
You can contact support at support@ibexa.co or through your Support portal.