Hi all!
Does somebody run the synapse matrix on FreeBSD?
I'm trying to install. Currently, without 100% sucess. What I've done at the moment.
1. To install synapsis with LDAP support and all dependecies.
2. To prepare config file.
Add content from the link https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml .
Set proper permisison for synapse user.
I encountered the following errors:
I've set global environemnt variable for PYTHONHOME=/usr/local/bin in /etc/login.conf at setenv line.
Then used
It needed to reinstall packages. I've just done it like this. And other errors ($PYTHONHOME etc.) should dissapear.
If you missed to add server_name: my.server.name line into the
I stuck as below. If you run the synapse that's great and let us know how did you do that.
Does somebody run the synapse matrix on FreeBSD?
I'm trying to install. Currently, without 100% sucess. What I've done at the moment.
1. To install synapsis with LDAP support and all dependecies.
pkg install py36-matrix-synapse py36-matrix-synapse-ldap3
2. To prepare config file.
vi /usr/local/etc/matrix-synapse/homeserver.yaml
Add content from the link https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml .
Set proper permisison for synapse user.
chown synapse /usr/local/etc/matrix-synapse/homeserver.yaml
I encountered the following errors:
Code:
user@serv:~ % service synapse start
Starting synapse.
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00000008009d8000 (most recent call first):
Abort
/usr/local/etc/rc.d/synapse: WARNING: failed to start synapse
user@serv:~ %
Then used
cap_mkdb /etc/login.conf
and restart OS.
Code:
user@serv:~ % service synapse start
Starting synapse.
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00000008009d8000 (most recent call first):
Abort
/usr/local/etc/rc.d/synapse: WARNING: failed to start synapse
user@serv:~ %
pkg upgrade -f
Code:
user@serv:~ % sudo service synapse start
Starting synapse.
Missing mandatory `server_name` config option.
/usr/local/etc/rc.d/synapse: WARNING: failed to start synapse
user@serv:~
/usr/local/etc/matrix-synapse/homeserver.yaml
.I stuck as below. If you run the synapse that's great and let us know how did you do that.
Code:
user@serv:~ % sudo service synapse start
Starting synapse.
Please opt in or out of reporting anonymized homeserver usage statistics, by
setting the `report_stats` key in your config file to either True or False.
We would really appreciate it if you could help our project out by reporting
anonymized usage statistics from your homeserver. Only very basic aggregate
data (e.g. number of users) will be reported, but it helps us to track the
growth of the Matrix community, and helps us to make Matrix a success, as well
as to convince other networks that they should peer with us.
Thank you.
/usr/local/etc/rc.d/synapse: WARNING: failed to start synapse
user@serv:~ %