Restore failing with missing chat_mention function

I’m trying to restore from a recent server to one built today. It’s failing with this error. I don’t see that anywhere in the Discouse code or in plugin code.

I’m not sure what to do next.

                                                                                                                           [20/9694]
ERROR:  function discourse_functions.raise_chat_mention_notifications_old_notification_id_readonly() does not exist
EXCEPTION: psql failed: ERROR:  function discourse_functions.raise_chat_mention_notifications_old_notification_id_readonly() does not exist
/var/www/discourse/lib/backup_restore/database_restorer.rb:92:in `restore_dump'                                
/var/www/discourse/lib/backup_restore/database_restorer.rb:26:in `restore'            
/var/www/discourse/lib/backup_restore/restorer.rb:51:in `run'
script/discourse:157:in `restore'   
/var/www/discourse/vendor/bundle/ruby/3.
2 Likes

I’ve now seen this error on this new standard install and also on a business hosted site.

1 Like

I raised the internal bat signal, we will be looking at this over the next few days.