Should upgrading a site from Group 1.0 to 2.0alpha4 be working at this point? If yes, then I hit a snag...
Problem/Motivation
Unable to upgrade a very simple Group site from 1.4 to 2.0alpha 4. Error occurs when running database updates.
$ drush updb
-------- ----------- --------------- -----------------------------------------------------------------------------------
Module Update ID Type Description
-------- ----------- --------------- -----------------------------------------------------------------------------------
group 9201 hook_update_n 9201 - Add plugin_id and group_type fields and update indexes for group content.
group 9202 hook_update_n 9202 - Remove the 'bypass group access' permission from all roles.
group 9203 hook_update_n 9203 - Convert group roles with the 'administer group' permission to admin roles.
group 9204 hook_update_n 9204 - Convert synchronized group roles to new scope and target_role structure.
group 9205 hook_update_n 9205 - Convert default group roles to new scope and target_role structure.
group 9206 hook_update_n 9206 - Convert user created group roles to new scope and target_role structure.
group 9207 hook_update_n 9207 - Remove label and description from group content types.
-------- ----------- --------------- -----------------------------------------------------------------------------------
Do you wish to run the specified pending updates? (yes/no) [yes]:
>
> [notice] Update started: group_update_9201
> [error] Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'plugin_id' cannot be null: INSERT INTO "tmp_8914b4group_content_field_data" ("id", "type", "langcode", "uid", "gid", "entity_id", "label", "created", "changed", "default_langcode", "plugin_id", "group_type") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11); Array
> (
> [:db_insert_placeholder_0] => 1
> [:db_insert_placeholder_1] => term-group_membership
> [:db_insert_placeholder_2] => en
> [:db_insert_placeholder_3] => 1
> [:db_insert_placeholder_4] => 1
> [:db_insert_placeholder_5] => 1
> [:db_insert_placeholder_6] => admin
> [:db_insert_placeholder_7] => 1654189793
> [:db_insert_placeholder_8] => 1654189793
> [:db_insert_placeholder_9] => 1
> [:db_insert_placeholder_10] =>
> [:db_insert_placeholder_11] =>
> )
> in Drupal\mysql\Driver\Database\mysql\ExceptionHandler->handleExecutionException() (line 50 of /var/www/html/web/core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php).
> [error] The entity update process failed while processing the entity type group_content, ID: 1.
> [error] Update failed: group_update_9201
[error] Update aborted by: group_update_9201
[error] Finished performing updates.
Failed to run drush updb: exit status 1
Steps to reproduce
I was testing on my local with a very simple Group 1.4 site with a single group.
thank you!
-mike