[Forwardport] MAGETWO-84608: Cannot perform setup:install if Redis needs a password…#17449
Merged
magento-engcom-team merged 1 commit intomagento:2.3-developfrom Aug 11, 2018
mage2pratik:2.3-develop-PR-port-17078
Merged
[Forwardport] MAGETWO-84608: Cannot perform setup:install if Redis needs a password…#17449magento-engcom-team merged 1 commit intomagento:2.3-developfrom mage2pratik:2.3-develop-PR-port-17078
magento-engcom-team merged 1 commit intomagento:2.3-developfrom
mage2pratik:2.3-develop-PR-port-17078
Conversation
… and Redis page cache is enabled in env.php
Contributor
|
Hi @mage2pratik. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
sidolov
approved these changes
Aug 8, 2018
Contributor
|
Hi @sidolov, thank you for the review. |
magento-engcom-team
pushed a commit
that referenced
this pull request
Aug 11, 2018
…l if Redis needs a password… #17449
Contributor
|
Hi @mage2pratik. Thank you for your contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Original Pull Request
#17078
Description
Needed to perform setup on a fresh magento install using an authenticated redis instance for the cache configuration part.
Redis session password configuration works whereas the cache configuration does not take the provided configuration.
Changed setup/src/Magento/Setup/Model/ConfigOptionsList/Cache.php and setup/src/Magento/Setup/Model/ConfigOptionsList/PageCache.php to enable a configuration password during initial setup.
Fixed Issues (if relevant)
Manual testing scenarios
bin/magento setup:installwith cache options in env.php as so :'cache' => [ 'frontend' => [ 'default' => [ 'backend' => 'Cm_Cache_Backend_Redis', 'backend_options' => [ 'server' => redis_host, 'database' => '0', 'port' => 6379, 'password' => redis_password ] ], 'page_cache' => [ 'backend' => 'Cm_Cache_Backend_Redis', 'backend_options' => [ 'server' => redis_host, 'port' => 6379, 'database' => '1', 'compress_data' => '0', 'password' => redis_password ] ] ] ],The setup will fail saying that the redis configuration is wrong.
Contribution checklist