[2024-10-21 19:49:39] Marking restore as running... [2024-10-21 19:49:39] Making sure /var/www/discourse/tmp/restores/default/2024-10-21-194939 exists... [2024-10-21 19:49:39] Copying archive to tmp directory... [2024-10-21 19:49:44] Unzipping archive, this may take a while... [2024-10-21 19:49:54] Extracting dump file... [2024-10-21 19:49:59] Validating metadata... [2024-10-21 19:49:59] Current version: 20241018031851 [2024-10-21 19:49:59] Restored version: 20241011054348 [2024-10-21 19:49:59] Enabling readonly mode... [2024-10-21 19:49:59] Pausing sidekiq... [2024-10-21 19:49:59] Waiting up to 60 seconds for Sidekiq to finish running jobs... [2024-10-21 19:50:05] Creating missing functions in the discourse_functions schema... [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:33] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:34] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:35] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] CREATE INDEX [2024-10-21 19:50:36] ERROR: function discourse_functions.raise_chat_mention_notifications_old_notification_id_readonly() does not exist [2024-10-21 19:50:36] EXCEPTION: psql failed: ERROR: function discourse_functions.raise_chat_mention_notifications_old_notification_id_readonly() does not exist [2024-10-21 19:50:36] /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' /var/www/discourse/script/spawn_backup_restore.rb:20:in `restore' /var/www/discourse/script/spawn_backup_restore.rb:33:in `block in
' /var/www/discourse/script/spawn_backup_restore.rb:4:in `fork' /var/www/discourse/script/spawn_backup_restore.rb:4:in `
' [2024-10-21 19:50:36] Trying to rollback... [2024-10-21 19:50:36] Rolling back... [2024-10-21 19:50:36] Cleaning stuff up... [2024-10-21 19:50:36] Dropping functions from the discourse_functions schema... [2024-10-21 19:50:36] Removing tmp '/var/www/discourse/tmp/restores/default/2024-10-21-194939' directory... [2024-10-21 19:50:37] Unpausing sidekiq... [2024-10-21 19:50:37] Marking restore as finished...