Skip to content

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

@nachosalvador

Description

@nachosalvador

Hello, when I try to install a site running:

drush site-install --account-mail=[email protected] --account-name=admin --account-pass=admin --locale=en --site-name="example" --site-mail=[email protected] -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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions