By trying to move my synapse installation to an updated server i got same problems. The yunohost backups could not be restored… I tried a lot of things the last days… now also tied a fresh new installation of synapse. But now i get the error warning that synapse can´t be installed on a domain on with also an other yunohost app is running… I use to have Hubzilla and Synapse on the same domain on my old server installation… now this seams not be possible anymore… so all the old matrix account names will not work anymore because i can´t restore synapse on the same domain it just to run…
Is this a new rule: Synapse can´t be installed on a shared domain?
Or
Do you have any idea why i get this error warning?
I can not answer to your question directly, but I can talk about my installation, maybe it can help.
Let’s say my main domain is MyServer.org
I have a Synapse server installed on synapse.Myserver.org
But the matrix identifiers of the users on it are @user:MyServer.org
thanks - I could try this for a fresh installation… but if i want to use the backup this would not help.
now I tried an other thing:
I deinstalled the other up/ Hubzilla and tried to do the reinstallation by the synapse backup file.
Now there is an other problem: WARNING - Command "/opt/yunohost/matrix-synapse/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-55pffjgf/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-wxddovis/install-record.txt --single-version-externally-managed --compile --install-headers /opt/yunohost/matrix-synapse/include/site/python3.7/cryptography" failed with error code 1 in /tmp/pip-install-55pffjgf/cryptography/
If this is not enough, this issue may be closer to your problem, but I’ve seen people with problems caused by the manual installation of Rust, so I am not sure this is the good way :
You will have to dig this, and I hope you will find a way.
It may be fixed in last Synapse version, but not in the version you try to restore.
just found out that if synapse is installed first - hubzilla can be installed as second app with out a problem to the same domain - so i can work on with the backup files …
i just tried
$ mkdir /tmp/synapse-backup
$ cd /tmp/synapse-backup
$ tar xf /home/yunohost.backup/archives/my-synapse-backup.tar
$ nano ./apps/synapse/settings/scripts/_common.sh
<Change line to:
`pip3 install --upgrade 'Twisted>=20.3.0<21' matrix-synapse==$upstream_version matrix-synapse-ldap3`
>
$ tar cf /home/yunohost.backup/archives/new-synapse-backup.tar *
$ yunohost backup restore new-synapse-backup --apps