@billstclair See here: https://gitlab.com/-/snippets/2411739
Your instance is so old, though… I’m not sure you could even upgrade vanilla Pleroma without problems. Make sure to take a backup first, and maybe even attempt the migration locally first.
Best thing you can do is likely step through versions upgrading it, until you’re on something more recent.