Apologies for the disruption @hiccup, here’s a fix for the problem:
https://github.com/discourse/discourse/pull/18446
We’ll backport this to the beta branch as soon as it’s merged.
Edit: PR has been merged and backported. The problem should go away if you upgrade now @hiccup.