Awesome thank you.
If I’m understanding this correctly, it looks like there’s a database table used by a plugin called “data explorer” which has a duplicate row in it, and deleting that duplicate row allows the rebuild script to proceed. From that thread, it also sounds like this error — or similar ones — have happened before, and there may have been updates to Discourse to prevent this from occurring in the future. Meaning, future upgrades we run may not encounter this.
Let me know if you think I’m reading that correctly!
You’re referring to the Ubuntu upgrade? If so, gotcha.