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

Drush 9 site-install doesn't take in account the --account-pass option #3186

Closed
nachosalvador opened this issue Nov 22, 2017 · 4 comments
Closed

Comments

@nachosalvador
Copy link

Hello, when I try to install a site running:

drush site-install --account-mail=admin@example.com --account-name=admin --account-pass=admin --locale=en --site-name="example" --site-mail=admin@example.com -y

The site was installed correctly and the admin account created but the password didn't work and I can't login. I solved it doing drush upwd after site install.

Here my drush status:

Drupal version : 8.4.0
Site URI : default
DB driver : mysql
DB hostname : db
DB port : 3306
DB username : db
DB name : db
Database : Connected
Admin theme : seven
PHP binary : /usr/local/bin/php
PHP config : /usr/local/etc/php/php.ini
PHP OS : Linux
Drush script : /var/www/html/vendor/bin/drush
Drush version : 9.0.0-beta7
Drush temp : /tmp
Drush configs : /var/www/html/vendor/drush/drush/drush.yml
Drush aliases :
Install profile : minimal
Drupal root : /var/www/html/web
Site path : sites/default
Files, Public : sites/default/files
Files, Temp : /tmp

@rodrigoaguilera
Copy link
Contributor

please update to the latest beta (beta9) at least before reporting

@froboy
Copy link

froboy commented Nov 22, 2017

I'm able to recreate this using drush site-install -y config_installer --account-name=admin --account-pass=admin on Drush version : 9.0.0-beta9 . I can get in with uli but admin/admin doesn't work.

@webflo
Copy link
Contributor

webflo commented Nov 28, 2017

@froboy config_installer is a special profile. It has explicit support for Drush. http://cgit.drupalcode.org/config_installer/commit/?id=a55e096f50d6795417554b1e8b019076d177e7ef is not in the latest release yet. Please try again with the dev version of config_installer.

@nachosalvador
Copy link
Author

nachosalvador commented Nov 29, 2017

Thank you @webflo , update config_installer to dev version solves it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants