Skip to content
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

Cannot create a new user using command with magento-cloud-docker #338

Open
XiaoYiyichonga opened this issue Jan 12, 2022 · 1 comment
Open

Comments

@XiaoYiyichonga
Copy link

XiaoYiyichonga commented Jan 12, 2022

 - Summary of the issue
 -      After successfully set up the magento-cloud-docker at my own Mac os, I cannot create a new user using the provide command from Adobe website.
 - Information on your environment:
 -      Mac os,
 -      Installed Magento-cloud-docker
 - Steps to reproduce,
 -      1. magento-cloud-docker was successfully setup and we can access is with "http://magento2.docker/"
 -      2. I want to create a new user based on the following command.
 -         ```
           php bin/magento admin:user:create --admin-user="xxx" --admin-password="xxx" --admin- email="xxxx" --admin-firstname="xxxi" --admin-lastname="xxx"
           ````
 - Expected and actual results,
   The expected result is this command was successfully run and a new user was created.
   actual result is I met a error as below
  "In Installer.php line 1136:
   Can't run this operation: configuration for DB connection is absent."
@BaDos
Copy link
Contributor

BaDos commented Aug 31, 2022

@XiaoYiyichonga Hi,

Do you run this command inside the deploy container?
The build container does not have access to the DB.

@BaDos BaDos self-assigned this Aug 31, 2022
@BaDos BaDos removed their assignment Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
Ready for Grooming
Development

No branches or pull requests

2 participants