Restore failing with missing chat_mention function

I see the problem. Commit 82e75c8 created functions in the discourse_functions schema and commit 8016fca dropped the functions. When you try to restore a backup that was created between those two commits on a version after 8016fca, then the restore fails.

The restore functionality contains a workaround for such issues, but it didn’t work for discourse_functions created from within plugins. Here’s a PR that will fix this:

1 Like