Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2851 closed task (fixed)

patch update on matrix

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2022-II
Component: SysAdmin Keywords:
Cc:

Description

Been a while since patch updates

Change History (3)

comment:1 by robe, 2 years ago

Resolution: fixed
Status: newclosed

I kept the current /etc/matrix-synapse/log.yaml.

changes in case we want to apply them

--- /etc/matrix-synapse/log.yaml        2022-09-21 15:17:55.934755168 +0000
+++ /etc/matrix-synapse/log.yaml.dpkg-new       2022-11-22 11:14:55.000000000 +0000
@@ -6,7 +6,7 @@
 # Synapse also supports structured logging for machine readable logs which can
 # be ingested by ELK stacks. See [2] for details.
 #
-# [1]: https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
+# [1]: https://docs.python.org/3/library/logging.config.html#configuration-dictionary-schema
 # [2]: https://matrix-org.github.io/synapse/latest/structured_logging.html

 version: 1
@@ -62,13 +62,6 @@
         # information such as access tokens.
         level: INFO

-    twisted:
-        # We send the twisted logging directly to the file handler,
-        # to work around https://github.com/matrix-org/synapse/issues/3471
-        # when using "buffer" logger. Use "console" to log to stderr instead.
-        handlers: [file]
-        propagate: false
-
 root:
     level: INFO


Configuration file '/etc/matrix-synapse/log.yaml'

comment:2 by robe, 2 years ago

Rebooting seems to have made it not able to get a new ip.

I suspect something amiss with ufw firewall conflicting with lxd which I have seen before, though usually not until I upgraded to ubuntu 22.

comment:3 by robe, 2 years ago

Adding these rules to osgeo3 host seems to have fixed

https://discuss.linuxcontainers.org/t/lxd-bridge-doesnt-work-with-ipv4-and-ufw-with-nftables/10034/17

sudo ufw allow in on lxdbr0
sudo ufw route allow in on lxdbr0

I'll update ansible scripts to include those

Note: See TracTickets for help on using tickets.