Linux 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
SBC model: RPi 4
Hi!
I’ve been running a synapse server for ~6 months now, and it’s been pretty much smooth sailing. But today when I tried to upgrade matrix-synapse from 1.67 to 1.68 with “pip3 install -U matrix-synapse” I ran into an error: “ModuleNotFoundError: No module named ‘setuptools’”
so setuptools has been uninstalled at some point I guess? I installed it again with pip, and now I get “error: can’t find Rust compiler” (when building wheel for matrix-synapse)
I tried reinstalling with “dietpi-software reinstall 125” but it results in the same error…
I don’t know how I would proceed. I tried installing Rust with rustup but that didn’t help. Between last update and this update I have only installed and uninstalled dietpi-dashboard and webmin (just trying them out) and installed (and kept) netdata. Otherwise I haven’t fiddled around (at least I think)
Yeah I found out from here that it indeed requires rust from now on, however they state that installing with pip should not be affected: Upgrading between Synapse Versions - Synapse
I tested it using my GitHub PR on a R5S without issues. Installation was done in a couple of minutes. However, it would require at least 2GB ram due to the Rust installation done inside /tmp. Not the same drama as we had on Vaultwarden
The thing is, if we would install rust, we would store it on a tmpfs inside. Means the rust installation would be located in memory. Therefore, we need to ensure to have enough ram available. Especially on smaller SBC like RP2 or 3
Or we implement a persistent Rust install option to use. It’s anyway on the wish list somewhere. But with some luck the pre-compiled matrix-synapse wheels are implemented before our next release, at least replies are promising.
Hi guys, the matrix-synapse is not working for me. Is it working for somebody right now?
I also tried steps mentioned above, but still getting errors while installing.
pls open a new post within troubleshooting section if you have issues with installation. There you can post error messages you receive and further system details.