Error while installing backup

I formatted the virtual server. I set up the site from zero. It gives this error while installing backup. I had a backup on the beta9 version. I’m using the beta9 version on the new site.
I had installed different extensions on the old site. In the new site, the same extensions are not loaded. Could the problem be caused by the extension not being loaded?

[2021-05-12 17:54:38] [STARTED]
[2021-05-12 17:54:38] 'dursuncan' has started the restore!
[2021-05-12 17:54:38] Marking restore as running...
[2021-05-12 17:54:38] Making sure /var/www/discourse/tmp/restores/default/2021-05-12-175438 exists...
[2021-05-12 17:54:38] Copying archive to tmp directory...
[2021-05-12 17:54:38] Unzipping archive, this may take a while...
[2021-05-12 17:54:38] Extracting dump file...
[2021-05-12 17:54:39] Validating metadata...
[2021-05-12 17:54:39]   Current version: 20210420015635
[2021-05-12 17:54:39]   Restored version: 20210429154322
[2021-05-12 17:54:39] EXCEPTION: You're trying to restore a more recent version of the schema. You should migrate first!
[2021-05-12 17:54:39] /var/www/discourse/lib/backup_restore/meta_data_handler.rb:31:in `validate'
/var/www/discourse/lib/backup_restore/restorer.rb:113:in `validate_backup_metadata'
/var/www/discourse/lib/backup_restore/restorer.rb:43:in `run'
/var/www/discourse/script/spawn_backup_restore.rb:23:in `restore'
/var/www/discourse/script/spawn_backup_restore.rb:36:in `block in <main>'
/var/www/discourse/script/spawn_backup_restore.rb:4:in `fork'
/var/www/discourse/script/spawn_backup_restore.rb:4:in `<main>'
[2021-05-12 17:54:39] Trying to rollback...
[2021-05-12 17:54:39] There was no need to rollback
[2021-05-12 17:54:39] Cleaning stuff up...
[2021-05-12 17:54:39] Removing tmp '/var/www/discourse/tmp/restores/default/2021-05-12-175438' directory...
[2021-05-12 17:54:39] Marking restore as finished...
[2021-05-12 17:54:39] Notifying 'dursuncan' of the end of the restore...

Yes, please add the missing plugins or replace 20210429154322 with 20210420015635 in the backup filename if you don’t want to use those plugins anymore.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.