-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
[docs] Magento 2 Quickstart doesn't work "couldn't validate opensearch" #4762
Comments
Thanks! It's too hard to look at your output as a screenshot, please edit to show the full output of the problem command, thanks! You could add it as a separate file in your gist if you want to as well. |
I don't get as far as you got:
|
@cmuench could you validate the Magento2 quickstart and give us a little guidance here? Seems some things have shifted in Magento 2.4.6? |
OK, I removed vendor dir and then did
|
Here's the error In SearchConfig.php line 81: Could not validate a connection to the OpenSearch. No alive nodes found in Failed to run magento setup:install --base-url=https://docker.magento.com/ --cleanup-database --db-host=db --db-name=db --db-user=db --db-password=db --elasticsearch-host=elasticsearch --admin-firstname=Magento --admin-lastname=User --admin-email=bharatkulkarni@dckap.com --admin-user=admin --admin-password=admin@123 --language=en_US: exit status 1 ` |
@bharatk101-dckap Can you try to add the option In my Magento 2 Demo I use this: |
I confirm that changing the quickstart to makes it succeed. |
However, then we get one step farther and
What do we have to do to fix that @cmuench ? Thanks! |
The Magento_AdminAdobeImsTwoFactorAuth module was introduced in 2.4.6. mkdir ddev-magento2 && cd ddev-magento2
ddev config --project-type=magento2 --php-version=8.1 --docroot=pub --create-docroot --disable-settings-management
ddev get ddev/ddev-elasticsearch
ddev start
ddev composer create --repository=https://repo.magento.com/ magento/project-community-edition -y
rm -f app/etc/env.php
# Change the base-url below to your project's URL
ddev magento setup:install --base-url='https://ddev-magento2.ddev.site/' --cleanup-database --db-host=db --db-name=db --db-user=db --db-password=db --elasticsearch-host=elasticsearch --search-engine=elasticsearch7 --elasticsearch-port=9200 --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US
ddev magento deploy:mode:set developer
ddev magento module:disable Magento_TwoFactorAuth Magento_AdminAdobeImsTwoFactorAuth
ddev config --disable-settings-management=false I will create a pull request for the docs. |
Is there an existing issue for this?
Run a Diagnostic and Paste Link Here
DDev Debug test file - https://gist.github.com/bharatk101-dckap/1e66df93732d1da9f7722e2fbfacc437
Expected Behavior
I installed ddev on my machine and used Magento 2 Quickstart steps to install latest Magento version but I got the error while setting up the magento. Magento setup should complete without any error
Actual Behavior
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: