Hello everyone.

Here is what I got when try to install Commerce Kickstart via drush. Do you have any insights on what that might be?

drush site-install commerce_kickstart --db-url=mysql://drupal:drupal@localhost/drupal --account-name=admin --account-pass=admin --site-name=Sitename -y
You are about to DROP all tables in your 'drupal' database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a few seconds ...                  [ok]
WD php: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 [error]
Column 'module' cannot be null: INSERT INTO {role_permission} (rid,
permission, module) VALUES (:db_insert_placeholder_0,
:db_insert_placeholder_1, :db_insert_placeholder_2); Array
(
    [:db_insert_placeholder_0] => 3
    [:db_insert_placeholder_1] => use search_api_sorts
    [:db_insert_placeholder_2] =>
)
 in user_role_grant_permissions() (line 3154 of
/var/www/vhosts/drupal/modules/user/user.module).
WD php: Warning: Cannot modify header information - headers already sent by [warning]
(output started at /usr/share/pear/drush/includes/output.inc:38) in
drupal_send_headers() (line 1232 of
/var/www/vhosts/drupal/includes/bootstrap.inc).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} (rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array
(
    [:db_insert_placeholder_0] => 3
    [:db_insert_placeholder_1] => use search_api_sorts
    [:db_insert_placeholder_2] =>
)
 in user_role_grant_permissions() (line 3154 of /var/www/vhosts/drupal/modules/user/user.module).
Drush command terminated abnormally due to an unrecoverable error.          [error]

Comments

bojanz’s picture

Category: Bug report » Support request
Status: Active » Fixed

The 2.24 release was generally broken, -dev is fine and I'm tagging 2.25 today.
I've used drush to install today's -dev and it works fine.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.