Closed davidmooreppf closed 7 years ago
@davidmooreppf can you confirm the shortname for your Disqus account? Is it nyc-councilmatic
or nyccouncilmatic
?
It's nyc-councilmatic. Can hand off the login & pw to Admin over chat. #120 was a previous reference issue. I'll look more tmw but as of now, all the "Discussions" in Disqus admin say they were created five hours ago, so that would be the time of the deploy.
Picking this back up, I can start a Disqus support ticket to inquire about any way to access comments before last week's deploy.
Realizing that Disqus is an add-on system, do we think the deploy fully re-installed Disqus too? It's not an emergency, but it would definitely be good to retrieve comments from Intro 1259, currently featured on homepage
In Disqus Admin panel, previous user comments are not showing as "Deleted", they don't seem to appear anywhere.
In Disqus Admin, there's a Discussions view that has ten legislative pages, somehow updated five hours ago, but there are no public comments on those pages, certainly not five hours ago today, so I don't know how Discussions is being defined. Can ask Disqus.
I'm gonna check in with Disqus this afternoon on this front, it's priority given some local media tmw. Just one last ping in case anything comes to mind on restoring from previous Disqus version. I'll dive in this afternoon though w/ Disqus support and maybe more documentation.
Okay, David. When we last checked, it looked like comments were back...so, please let us know what Disqus has to say!
Disqus is there at bottom of pages, but ten user comments on homepage legislative item are still not on production.
Ah, ok! I see. We'll look more closely at this.
OK, poked around Disqus admin more. I do need to get to bottom of this for our community group partner.
Their help section didn't help. I started an issue describing the below on their support forum. Gah.
Under their /admin/moderate, old comments didn't appear under "pending" or "approved".
But I went to "All" in "past year" and the old comments appeared. I saved a .txt dump just in case. But they wouldn't appear with their initial avatars unless we can restore them from below.
So to try to make them appear, I went to one from last year on intro 856, selected it, and clicked "approve". It saved as check-marked approved in same Disqus admin "all" comments view, but it's not on site, and not in "approved" section on Disqus admin. Attached image.
So before I make any more checks in /admin, I'll stop here. You have the login for Disqus admin, yes? Can share. And we could screenshare for minute if that's more efficient.
Misc notes:
Is this how we embedded Disqus? Universal code?
Anything happen in the notifications merge into Master that would have affected Disqus? I can't parse files in detail.
@davidmooreppf I looked into this and I believe I've figured out the cause. When we launched the new updates, we had to make some changes to the way we format the legislation URLs. This was put in place to handle potential conflicts where different legislation had the same URL. Here's an example:
We have redirects setup to handle this, but it appears to be tripping up Disqus, as comments are associated to a specific URL.
It looks like Disqus has some tools for migrating and moving comments for the exact scenario. David - do you want to try it out? https://help.disqus.com/customer/portal/articles/286778-migration-tools
Ah makes sense to me. I'll start that migration shortly. We have the same Disqus shortname so should merge OK...
I had seen page in Disqus help about importing comments from Drupal or WP or whatever, but hadn't seen that migration page.
Great - let me know if it works and if you need anything from us.
So bottom of that page is a Redirect Crawler button. I can push it, but before I do, just confirming we have setup the 301 re-directs it's expecting to find? I mean, as opposed to something else? Ha just being cautious.
@davidmooreppf yes, we have redirects set up for all the old URLs. Go for it!
I took the extremely technical step of pressing the button. They say it might take 24 hours, obvs. probably fewer since we have fewer re-directs. Will update.
Woo. May we be blessed by the old gods and the new
So, here's my attempt to check on status. It could still be running but gives no such indication.
The migration page said to check /admin/discussions view for updates. That view is showing ten discussion items (bit confusing), I think that's unchanged. It's definitely still just one page.
But over on Intro 856, the old comment I approved now appears. Though not in /admin/discussions.
So I'm going to try approving an old comment on Intro 1259 and seeing if it appears after I press the button again. If that works I'll replicate with all old comments.
Crawlers must have still been running b/c after posting this I hit refresh and nine comments re-appeared on homepage Intro 1259, and seemingly on all other pages.
So I don't really understand what /admin/discussions is showing, that had been confusing earlier as well when looking for old comments, but I think we're all set.
I'll double check tmw and then close the issue. Thx Derek.
This looks fixed. @davidmooreppf re-open the issue, if needed.
E.g. on bottom of featured bill page, where there had been nine or ten comments. Maybe the deploy nuked them?
I can log in to our Disqus admin panel in a few minutes to see what comments are still there, to help see if we can restore.