Support #22060
closedcouple a group with a particular existing site problem.
0%
Description
Experienced user Syelle Graves writes:
When I created this group a few days ago https://commons.gc.cuny.edu/groups/text-based-pedagogy-training-cilc-heritage-spring-2025/admin/group-settings/, I cloned it from an existing group and site, and I cloned both the group and site together.
However, for reasons I cannot imagine, the group now has no coupled site; I have no idea what went wrong.
When I go to settings > group site, the only option is to create a new site.
What am I missing? How do I couple it with the existing site that I already made? https://txbpt2025springheritage.commons.gc.cuny.edu/
These instructions https://help.commons.gc.cuny.edu/how-to-create-a-group-site/#:~:text=On%20the%20group%20home%20page,existing%20one%20to%20your%20group say we can connect an existing site, but I don't see that option. It almost looks like the group is still stuck in the cloning process? I see the message "Domain of Site being cloned: txbpt2025springl2.commons.gc.cuny.edu" even though the clone is done?
Files
Updated by Boone Gorges about 2 months ago
- Category name set to Group Blogs
- Status changed from New to Reporter Feedback
- Assignee set to Boone Gorges
- Target version set to Not tracked
This is likely related to #21888. We're having ongoing issues related to the cloning of source sites that have a lot of content. When the clone quits partway through, it can leave a site that's only partly initialized. In the case of a group site like this one, it appears that the clone process started, and a flag was set on the Commons group indicating that the clone was in process; but then the site clone didn't finish in time, and the flag was never unset.
Jeremy, copying you here because I think you last touched it. https://github.com/cuny-academic-commons/cac/blob/3095b6e70f0a81845d7ffa49fe69e9f5afccffdb/wp-content/plugins/cac-bp-custom-includes/groupblog.php#L442 On the group settings page, it was falling through to this 'else' clause, which I don't think should ever happen in an existing group (only during group creation). Maybe not something that needs to be made more resilient, since hopefully the problem will go away once we've cleared up problems with the speed of cloning.
We'll be working on smoothing out these issues in #21888 and related tickets, but in the meantime, I've cleared out the "clone in progress" metadata for this group. At this point, the user should be able to select an existing site to reestablish the connection. https://commons.gc.cuny.edu/groups/text-based-pedagogy-training-cilc-heritage-spring-2025/admin/group-settings/
Updated by Marilyn Weber about 2 months ago
Syelle reports YES clearing the clone in prog worked! Thank them for me.
Updated by Boone Gorges about 2 months ago
- Status changed from Reporter Feedback to Resolved
Excellent, thanks!