[SOLVED] Setup matrix homeserver

Hardware: VPS bought online ( Contabo )
YunoHost version: 4.2.6.1
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Hello everyone.

I was wondering how could I setup my server as a matrix homeserver and using it to access Element on Yunohost?

Which, I guess, would be what happens already automatically with XMPP and the related apps.

I tried to look for guides and tutorials online, but they all look so different I wouldn’t really know which one to trust.
Plus, having Yunohost add always an extra layer of “difficulties” when looking at those guides because I have to adapt things. :sweat_smile:

Anyone can please help?

Well, it’s not that difficult…go to applications and install Synapse aaaaaand you’re done.

Lol.
Glad it is so easy. :sweat_smile:
I was just installing the wrong application then.

However, the installation failed apparently because of this

2021-07-25 21:56:52,500: DEBUG -         pip install --upgrade pip
2021-07-25 21:56:52,500: DEBUG - 
2021-07-25 21:56:52,500: DEBUG -     and then retry package installation.
2021-07-25 21:56:52,500: DEBUG - 
2021-07-25 21:56:52,500: DEBUG -     If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
2021-07-25 21:56:52,500: DEBUG - 
2021-07-25 21:56:52,500: DEBUG -     This package requires Rust >=1.41.0.
2021-07-25 21:56:52,500: DEBUG - 
2021-07-25 21:56:52,501: DEBUG -     ----------------------------------------
2021-07-25 21:56:52,510: WARNING - Command "/opt/yunohost/matrix-synapse/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2r_sy6de/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-bpj9p0bd/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-2r_sy6de/cryptography/
2021-07-25 21:56:52,559: DEBUG - + ynh_exit_properly
2021-07-25 21:56:52,559: DEBUG - + local exit_code=1
2021-07-25 21:56:52,559: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-07-25 21:56:52,560: DEBUG - + '[' 1 -eq 0 ']'
2021-07-25 21:56:52,560: DEBUG - + trap '' EXIT
2021-07-25 21:56:52,561: DEBUG - + set +o errexit
2021-07-25 21:56:52,561: DEBUG - + set +o nounset
2021-07-25 21:56:52,561: DEBUG - + sleep 0.5
2021-07-25 21:56:53,062: DEBUG - + type -t ynh_clean_setup
2021-07-25 21:56:53,062: DEBUG - + ynh_clean_setup
2021-07-25 21:56:53,062: DEBUG - + ynh_clean_check_starting
2021-07-25 21:56:53,062: DEBUG - + '[' -n '' ']'
2021-07-25 21:56:53,062: DEBUG - + '[' -n '' ']'
2021-07-25 21:56:53,062: DEBUG - + exit 1
2021-07-25 21:56:54,063: ERROR - Unable to install synapse: An error occurred inside the app installation script

Full log here in case.

This problems reminds me of this : https://forum.yunohost.org/t/problem-during-the-synapse-update/6776/22

Please check and see if it is the same…

All done and setup.

Thank you. :blush:

1 Like

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