- Issue created by @helmo
I'm trying to upgrade a site from goalgorilla/open_social 11.6.0 to a version that includes a recent Drupal core.
However that fails on 'field_group_posts_enabled' not found
in the database update social_group_flexible_group_update_11701 which was introduced in
#3348199: Flexible groups are not properly updated after field_group_posts_enabled was introduced →
Updating to 11.8.2 or 11.7.5 has the same effect.
#3348199: Flexible groups are not properly updated after field_group_posts_enabled was introduced → lists a number of steps, but I do not know what's different in our situation.
I guess that field_group_posts_enabled still needed to be created, or it's existence should be checked first.
On a staging site I added a boolean field called 'group_posts_enabled' via /admin/group/types/manage/flexible_group/fields/add-field
That seems to have solved it. The db updates then continued, with warnings though:
> [notice] Update started: social_group_flexible_group_update_11701
> [warning] Undefined array key 0 social_group_flexible_group.install:564
> [warning] Trying to access array offset on value of type null social_group_flexible_group.install:564
> [notice] Post for group members was disabled for 4 flexible groups (ids): 36, 47, 52, 56
> [notice] Update completed: social_group_flexible_group_update_11701
[success] Finished performing updates.
[success] Cache rebuild complete.
Is my workaround correct?
Active
11.8
Code (back-end)