Error when restoring from old backup (Yunohost 11.x)

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.11 (stable)
How are you able to access your server: The webadmin
SSH

Describe your issue

Hello everyone,

I have just completed the migration from Yunohost 11.x to 12.x and from Debian 11.x to 12.x respectively. I have backed up everything (system configuration + apps) on the old system (Debian 11 + Yunohost 11.x). I then saved the backup on external storage.

After all the backups, the server was completely reinstalled with Debian 12.5. Yunohost was then also installed completely fresh. The installation and post-installation went well. Everything seems perfect.

After installing letsencrypt for the main domain, I then started the restore of the backup. However, this resulted in an error message: Synapse could not be found in the list of installed APPs <br>* followed by a cancellation of the restore.

Synapse was originally installed on the server (11.x) and should now be restored.

How can I fix this? Does anyone have a tip?

Share relevant logs or error messages

https://paste.yunohost.org/raw/qelorukaru
https://paste.yunohost.org/raw/ovupisurot

A small addition: what works is that I install debian 11 and yunohost 11 and then import the backup. This works (almost) without any problems. But not with debian 12 / yunohost 12.

This sounds similar to Problème de restauration de sauvegarde sur yunohost 12 (freshrss)