[Synapse] Instant messaging server matrix network

Can you try a reboot of your server and do a new time this command.

Did it but


root@my:~# ls /var/run/postgresql/.s.PGSQL.5432                                                       
ls: cannot access '/var/run/postgresql/.s.PGSQL.5432': No such file or directory

Well,

Can you create a specific topic for that with a full explaination because it’s not really the best topic for specific technical help


Ok
I already did it here:

1 Like

New Testing available for Synapse

  • 16 May 2019 #122
    • Use the sso script directly from the config directroy

New Testing available for Synapse

  • 25 May 2019 #126
    • Upgrade to 0.99.5.1

Hello,

New version available for synapse:

  • 4 April 2019 #115
    • Update to synapse 0.99.3
  • 4 May 2019 #120
    • Update to synapse 0.99.3.2
  • 6 May 2019 #122
    • Use the sso script directly from the config directroy
  • 16 April 2019 #126
    • Update to synapse 0.99.4

Hi,
Upgrade done, like a charm :slight_smile:
For info, I am running it on a Pi at home without any issue :wink:
Thanks

Hi again,

I have a question : I received a video larger than 10 Mbit (made with an iPhone).
When trying to run the video I got : No video with supported format and MIME type found.
When I try to downlaod it, I got :

errcode “M_TOO_LARGE”
error “Requested file is too large > 10485760 bytes”

Do you know how to increase this value ?

New Testing available for Synapse

  • 11 Jully 2019 #132
    • Upgrade to 1.1.0

Hi,

New version available for synapse

  • 21 Jully 2019 #134
    • Upgrade to 1.1.0

Hi,

I’m struggling at configuring the app service https://github.com/tulir/mautrix-whatsapp/ on my internet cube lime 2.
Are there some plans to package some app services together with synapse? Or should the whatsapp bot be packaged as an independent app?

Cheers

My idea is to make one idependant app for each synapse “gateway”.

Also, if you’re brave enough, there is an Ansible playbook that let you install bot and bridge on an existing synapse installation. But I don’t know how well it blend with the yunohost update and stuff


I managed to have mautrix-whatsapp running on my homeserver as a service. I guess that would be the first step to package it as an app. I’m not a programmer, but I’m interested in trying it.
@nouts I’m not sure the docker packaging is compatible with yunohost. And this would be too much for a first try. However I might find some sources in this ansible playbook.
@Josue do you have some hints where I should start reading/forking ?

Bonjour,
je ne sais pas si je post au bon endroit car mon problĂšme ne me semble pas spĂ©cifique Ă  Synapse
 quoiqu’il en soit voici
 j’ai tentĂ© une install de synapse qui ne s’est pas bien passĂ©e (je sais plus pk)
 je l’ai donc desinstallĂ©e et rĂ©installĂ©e
 sauf qu’impossible, j’ai un message d’erreur que j’ai du mal Ă  comprendre (voir ci dessous les logs.

En faisant une sauvegarde de mon yunohost, je me suis rendu compte que le dossier synapse est toujours existant (dans mon admin web)
je prĂ©cise que j’ai tentĂ© une installation vers un sous domaine pointant vers mon domaine principal.

2019-08-25 11:53:20,722: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-08-25 11:53:20,723: DEBUG - + set +x
2019-08-25 11:53:20,723: DEBUG - + ynh_app_setting set synapse__2 synapse_db_pwd **********
2019-08-25 11:53:20,723: DEBUG - + ACTION=set
2019-08-25 11:53:20,723: DEBUG - + APP=synapse__2
2019-08-25 11:53:20,723: DEBUG - + KEY=synapse_db_pwd
2019-08-25 11:53:20,723: DEBUG - + VALUE=**********
2019-08-25 11:53:20,723: DEBUG - + python -
2019-08-25 11:53:20,723: DEBUG - + ynh_psql_test_if_first_run
2019-08-25 11:53:20,723: DEBUG - + ‘[’ -f /etc/yunohost/psql ‘]’
2019-08-25 11:53:20,723: DEBUG - + echo ‘PostgreSQL is already installed, no need to create master password’
2019-08-25 11:53:20,723: DEBUG - PostgreSQL is already installed, no need to create master password
2019-08-25 11:53:20,723: DEBUG - + ynh_psql_create_user matrix_synapse__2 **********
2019-08-25 11:53:20,724: DEBUG - + user=matrix_synapse__2
2019-08-25 11:53:20,724: DEBUG - + pwd=**********
2019-08-25 11:53:20,724: DEBUG - + su ‘–command=psql -c"CREATE USER matrix_synapse__2 WITH PASSWORD ‘'’**********’'‘"’ postgres
2019-08-25 11:53:20,824: DEBUG - + ynh_exit_properly
2019-08-25 11:53:20,824: WARNING - psql: could not connect to server: No such file or directory
2019-08-25 11:53:20,824: DEBUG - + local exit_code=2
2019-08-25 11:53:20,825: WARNING - Is the server running locally and accepting
2019-08-25 11:53:20,825: DEBUG - + ‘[’ 2 -eq 0 ‘]’
2019-08-25 11:53:20,825: WARNING - connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?
2019-08-25 11:53:20,825: DEBUG - + trap ‘’ EXIT
2019-08-25 11:53:20,825: DEBUG - + set +eu
2019-08-25 11:53:20,825: DEBUG - + sleep 0.5
2019-08-25 11:53:21,327: DEBUG - + ynh_print_err ‘–message=!!\n synapse__2’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-08-25 11:53:21,327: WARNING - e[91me[1m[ERR]e[0m !!
2019-08-25 11:53:21,328: DEBUG - + local legacy_args=m
2019-08-25 11:53:21,328: WARNING - synapse__2’s script has encountered an error. Its execution was cancelled.
2019-08-25 11:53:21,329: DEBUG - + args_array=([m]=message=)
2019-08-25 11:53:21,329: WARNING - !!
2019-08-25 11:53:21,329: DEBUG - + declare -Ar args_array
2019-08-25 11:53:21,330: WARNING -
2019-08-25 11:53:21,330: DEBUG - + local message
2019-08-25 11:53:21,330: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n synapse__2’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-08-25 11:53:21,331: DEBUG - + set +x
2019-08-25 11:53:21,331: DEBUG - + ynh_print_log ‘\e[91m\e[1m[ERR]\e[0m !!\n synapse__2’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-08-25 11:53:21,331: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n synapse__2’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-08-25 11:53:21,331: DEBUG - + ‘[’ api == cli ‘]’
2019-08-25 11:53:21,331: DEBUG - + type -t ynh_clean_setup
2019-08-25 11:53:21,332: DEBUG - + ynh_die
2019-08-25 11:53:21,332: DEBUG - + local legacy_args=mc
2019-08-25 11:53:21,332: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-08-25 11:53:21,332: DEBUG - + declare -Ar args_array
2019-08-25 11:53:21,333: DEBUG - + local message
2019-08-25 11:53:21,333: DEBUG - + local ret_code
2019-08-25 11:53:21,333: DEBUG - + ynh_handle_getopts_args
2019-08-25 11:53:21,333: DEBUG - + set +x
2019-08-25 11:53:21,333: DEBUG - + echo ‘’
2019-08-25 11:53:21,334: DEBUG - + exit 1

merci de votre aide

Bonjour,
Tu aurais du, en effet, créer un nouveau sujet.
Mais si tu veux regarder ce sujet, il contient peut-ĂȘtre la solution.
Bonne journée.

Ah oui, zut,
bon ben dĂ©solé  merci pour le lien, je vais voir ce sujet
 je ne l’avais pas vu en faisant des recherches

I started packaging mautrix-whatsapp here

I opened a new topic here

1 Like

New Testing available for Synapse

  • 10 September 2019 #145
    • Upgrade to 1.3.1