Bug #25743
closed
I think maybe this is because i used the blocksy theme and these new sites did not have it. My fault! Silly mistake...
Would the solution be to activate blocky on the sites and would this resolve the layout issues?
thanks and sorry for this!
Both of the problematic sites you referenced were cases where the S3 global.css asset hadn't been switched to 'public' status. That is, when you originally cloned the sites, they appear to have been private. Thus all of their copied S3 assets were also private. At some point these two sites were switched to public, but in such a way that at least some of the S3 assets didn't also have their 'public' flag flipped. I'm unsure that this has anything to do with the originally-reported issue, which was quite specific to the way that Blocksy loads assets. Can you say anything more about the way that you handled private/public status of these clones? It might help me to understand whether this is a one-off or whether there's a deeper bug with the way that S3 assets have their status toggled when changing the site's status.
Faculty cloned the original site themselves so they chose the privacy settings of the cloned sites. So this is why there are differences across the privacy settings for the clones.
The process for this was:
1. I created the 121test site to serve as the template site. Blocksy was the theme on the 121test site.
2. Faculty joined the Commons and I invited them to be admins on the 121test site.
3. Faculty cloned the 121test site to make the site for their course. During the cloning process they selected the privacy setting of the resulting cloned site.
I think this is related to #25754.
I believe the site cloning process uses a cronjob. However, we have a cronjob lag of six days at the moment so older items in the queue need to be completed before the site cloning ones can run.
Boone, I also think Cavalcade (our cronjob runner) is not currently running on production because I do not see the cronjob queue moving. Can you confirm?
The two site that were still looking incorrect now do seem to be okay - the styles are rendering normally.
I also cloned the 121test site again, in the cloning processes I selected that the new site should be visible only to admins (private) as I think this is what Boone was saying was the issue on the walker and grove clones above.
In my new private clone site the styles appear to have cloned correctly: https://121teststyle.commons.gc.cuny.edu/
- Status changed from New to Resolved
- Target version set to 2.7.13
Thanks, Laurie. I mentioned this in yesterday's call, but I'll record it here for future reference: It seems pretty clear that the stylesheet problem is related to the Cavalcade issues. When you clone a site, a number of asynchronous tasks are scheduled, several of them having to do with the copying of files and with the switching of S3 permissions. When our Cavalcade queue backs up, these tasks may take hours or days to run. During that gap, if there's a mismatch between the privacy setting of the clone source and that of the new site, it could result in certain assets not being properly loadable. Anyway, I don't think there's any further action that needs to be taken specific to the Blocksy theme, and we should continue to monitor Cavalcade more generally. See #25754, where we're covering potential causes of Cavalcade backups.
- Related to Bug #25754: Forum Post - no email, no crossposting added
Also available in: Atom
PDF