IBX-8377: Fix OAuth server installation #2397
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Install tables before enabling the bundles to avoid having
php bin/console
checking the bundles' configs.SET FOREIGN_KEY_CHECKS=0;
was useless: The session is broken between the commands andFOREIGN_KEY_CHECKS
is set back to1
.Preview: https://ez-systems-developer-documentation--2397.com.readthedocs.build/en/2397/users/oauth_server/#server-installation
Note: Some errors might occur during the play of the SQL dump. If a fix is found, another PR would be opened.
ERROR 1005 (HY000) at line 18: Can't create table
db.
ibexa_oauth2_consent(errno: 150 "Foreign key constraint is incorrectly formed")
but theibexa_oauth2_consent
table is created anyway.ERROR 1822 (HY000): Failed to add the foreign key constraint. Missing index for constraint 'ibexa_oauth2_consent_user_fk' in the referenced table 'ezuser'
which is also incomprehensible.Checklist