Monday, April 15, 2024
support@conference.yunohost.org
April
Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 20
21
22
23
24
25
26
27
28
29
30
         
             

[07:06:24] <Josué> > <@freetux:tetaneutral.net> Josué same problem :
> ```
> Warning: jinja2.exceptions.UndefinedError: 'macaroon_secret_key' is undefined
> Error: Could not upgrade synapse: An error occurred inside the app upgrade script
> ```

Arf... Well, might still need to write a fix for fix. It's related to the really old install.
[07:06:45] <Josué> Will try to fix it this evening.
[09:06:31] <Josué> > <@josue:tille.ch> Arf... Well, might still need to write a fix for fix. It's related to the really old install.

Helo, freetux https://github.com/YunoHost-Apps/synapse_ynh/pull/450 should do the fix
[14:57:55] <Chatpitaine Caverne> > <@lsolrac:matrix.org> Hello. I have a question. For those running yunohost in a reverse proxy, what are you using? I'm using nginx but Im not getting streams to work, so Im looking for alternatives

Hello, I'm working on installation of Haproxy to get access to TCP connections. But not working very intensively 😸
[15:13:09] <Solrac> I've considered Caddy but I wanna know what other peeps do, cause theres plenty of options
[16:12:59] <freetux> > <@josue:tille.ch> Helo, freetux https://github.com/YunoHost-Apps/synapse_ynh/pull/450 should do the fix

This time it's the right one. 👌
```
Info: [####################] > Upgrade of synapse completed
Success! synapse upgraded
Success! Upgrade complete
```
But the service seems broken. 😅
[16:14:07] <freetux> ```
Apr 15 16:13:39 systemd[1]: Starting Synapse Matrix homeserver...
Apr 15 16:13:40 python[1956125]: File '/etc/matrix-synapse/conf.d/app_service.yaml' is empty or doesn't parse into a key-value map. IGNORING.
Apr 15 16:13:40 systemd[1]: Started Synapse Matrix homeserver.
Apr 15 16:13:41 python[1956131]: Error in configuration:
Apr 15 16:13:41 python[1956131]: Invalid auto_join_rooms entry None
Apr 15 16:13:41 python[1956131]: File '/etc/matrix-synapse/conf.d/app_service.yaml' is empty or doesn't parse into a key-value map. IGNORING.
Apr 15 16:13:41 systemd[1]: synapse.service: Main process exited, code=exited, status=1/FAILURE
Apr 15 16:13:41 systemd[1]: synapse.service: Failed with result 'exit-code'.
Apr 15 16:13:41 systemd[1]: synapse.service: Consumed 1.749s CPU time.
```
[16:16:05] <Josué> Ok what is the value of grep auto_joint_rooms /etc/yunohost/apps/synapse/settings.yml
[16:21:37] <freetux> ```
auto_join_rooms: '#auto_join_room:matrix.domain.tld'
auto_join_rooms_for_guests: 'true'
autocreate_auto_join_rooms: 'false'
```
[16:30:42] <freetux> I have exactly the same configuration on my other synapse instance.
[16:45:37] <Josué> OK, will check this this evening
[16:57:33] <freetux> The log of the upgrade if it can help: https://paste.yunohost.org/raw/kecosomilo
[21:35:50] <Josué> freetux: Should be fixed by [3b6c230](https://github.com/YunoHost-Apps/synapse_ynh/pull/450/commits/3b6c23079603b6ce0b8423cc2810bb39747dbe65) on [testing](https://github.com/YunoHost-Apps/synapse_ynh/pull/450)