New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-31740: Fixed and migrated DFS configuration to Symfony 5 #596
EZP-31740: Fixed and migrated DFS configuration to Symfony 5 #596
Conversation
Update: config had to be changed a bit, for more details see ezsystems/ezplatform-kernel#108 (comment). |
Fixed failing P.sh config via 08f6239. |
I have a client which have a problem using the aws_s3_adapter. They are not able to set |
that sounds like this ticket https://jira.ez.no/browse/EZP-31912 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
Tested locally and on platform.sh.
Covered in both cases: default configuration, NFS w/o separate DFS db, NFS with separate DFS db.
Also checked NFS with and without separate db with multi site.
QA Approved on eZ Platform EE v3.1.2 with diffs.
We have one thing to follow-up on p.sh but it's not blocking for this task.
@vidarl the issue you're referring to is actually unrelated to AWS, it's just IO Prefix which had been broken. Fixed via ezsystems/ezplatform-kernel#110. |
v3.1
+TL;DR;
This PR fixes DFS configuration and adjusts it for Symfony 5 changes.
Breaking changes
There's no way to fix configuration in a BC-safe way due to changes between Symfony 3 and 5.
Required configuration is as follows
Doc
It's no longer possible to use local NFS adapter shipped with Flysystem (3rd party). Developers who want dynamic (SiteAccess-dependent) paths in their NFS directory path need to use our new SiteAccess-aware adapter. Thus meta repository upgrade is required. Patch from this Pull Request can be applied on a project. Also it's worth to mention this in deprecation/removal section of 3.x doc and in upgrade instructions.
Upgrade:
Env settings:
Before:
After:
Project configuration (if the patch was applied and dfs.yaml hasn't been customized, then this step is not required):
Before:
After:
QA
Internal sync might be required before proceeding because the configuration is quite complicated.
This PR fixes multiple issues which cannot be reproduced separately, so DFS sanities are in order.
Multi-repository case can be set-up applying this example onto this PR's patch.
Please also check if default configuration (no DFS, stored locally in public directory) is still working.