Your message dated Sun, 10 Jan 2021 21:04:18 +0000
with message-id <e1kyhso-0009di...@fasolo.debian.org>
and subject line Bug#960276: fixed in matrix-synapse 1.24.0-2
has caused the Debian Bug report #960276,
regarding matrix-synapse: init.d script is unable to generate missing keys
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
960276: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960276
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: matrix-synapse
Version: 1.12.4-1
Severity: normal

I was trying to set up synapse and kept getting the error:

Starting matrix-synapse: matrix-synapseTLS certificate file not found ... 
failed!

Turns out the synapse.config does not like certain files being missing, or
an invalid database configuration:

/usr/bin/python3 -m synapse.config read tls_certificate_file --config-path ...

Unsupported database type 'psycopg3'

This was my own fault for making a typo in the configuration.  However, after
fixing that I got this:

Error accessing file '/etc/matrix-synapse/homeserver.signing.key' (config for
signing_key): No such file or directory

The init.d script redirects the output of the config command to /dev/null and
only uses the return value, so it will complain about missing TLS certificates
and the user will never see the actual error.

The latter error seems to be a catch 22 in the synapse.config module.  If the
signing key does not exist, you can't retrieve its path to check if it exists
and create it if it doesn't.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.35-core2-server (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages matrix-synapse depends on:
ii  adduser                    3.118
ii  debconf [debconf-2.0]      1.5.74
ii  libjs-jquery               3.5.1+dfsg-3
ii  libpython3-stdlib          3.8.2-3
ii  lsb-base                   11.1.0
ii  python3                    3.8.2-3
ii  python3-attr               19.3.0-4
ii  python3-bcrypt             3.1.7-3
ii  python3-bleach             3.1.5-2
ii  python3-canonicaljson      1.1.4-3
ii  python3-daemonize          2.4.7-4
ii  python3-distutils          3.8.2-2
ii  python3-frozendict         1.2-2
ii  python3-idna               2.9-1
ii  python3-jinja2             2.11.1-1
ii  python3-jsonschema         3.2.0-3
ii  python3-lxml               4.5.0-1.1
ii  python3-msgpack            0.6.2-1+b1
ii  python3-nacl               1.3.0-5
ii  python3-netaddr            0.7.19-4
ii  python3-openssl            19.1.0-2
ii  python3-phonenumbers       8.12.1-1
ii  python3-pil                7.0.0-4+b1
ii  python3-prometheus-client  0.7.1-1.1
ii  python3-pyasn1             0.4.2-4
ii  python3-pyasn1-modules     0.2.1-1
ii  python3-pymacaroons        0.13.0-3
ii  python3-service-identity   18.1.0-6
ii  python3-signedjson         1.1.0-1
ii  python3-six                1.14.0-3
ii  python3-sortedcontainers   2.1.0-2
ii  python3-systemd            234-3+b2
ii  python3-treq               18.6.0-0.2
ii  python3-twisted            18.9.0-11
ii  python3-typing-extensions  3.7.4.2-1
ii  python3-unpaddedbase64     1.1.0-5
ii  python3-yaml               5.3.1-2

Versions of packages matrix-synapse recommends:
ii  python3-psycopg2  2.8.5-1

Versions of packages matrix-synapse suggests:
pn  python3-txacme  <none>

-- Configuration Files:
/etc/matrix-synapse/homeserver.yaml [Errno 13] Permission denied: 
'/etc/matrix-synapse/homeserver.yaml'

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: matrix-synapse
Source-Version: 1.24.0-2
Done: Andrej Shadura <andre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
matrix-synapse, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 960...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated matrix-synapse 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 10 Jan 2021 21:50:32 +0100
Source: matrix-synapse
Architecture: source
Version: 1.24.0-2
Distribution: unstable
Urgency: medium
Maintainer: Matrix Packaging Team 
<pkg-matrix-maintain...@lists.alioth.debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Closes: 960276
Changes:
 matrix-synapse (1.24.0-2) unstable; urgency=medium
 .
   [ Lars Kruse ]
   * Fix the initscript:
     - Make sure the uploads directory exists.
     - Force start-stop-daemon to create a pidfile (Closes: #960276)
     - Remove the check for certifacte/key files (Closes: #960276).
Checksums-Sha1:
 cce6120f4be8255f1bc563966e1ddb955923947b 2652 matrix-synapse_1.24.0-2.dsc
 cdfb6ba28930dd4212c897416085e05108fa6d48 106720 
matrix-synapse_1.24.0-2.debian.tar.xz
Checksums-Sha256:
 4feecae0a2a188a0c6751ab644dfa5e641e3dffcaf16542cf00637fd9fe6c30c 2652 
matrix-synapse_1.24.0-2.dsc
 849203da27dc06329c5125415bfecaac713a8c558e4dcbde58e03ce861927167 106720 
matrix-synapse_1.24.0-2.debian.tar.xz
Files:
 3ebbc0c75dfa72ba66c21da73d9106f1 2652 net optional matrix-synapse_1.24.0-2.dsc
 ad61926ddd0e27bec70fcab6d159d4d2 106720 net optional 
matrix-synapse_1.24.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAl/7aNIACgkQXkCM2RzY
OdLg9QgAxvgobUmemS6gnQj6bOFSswcG3Zg3ggxC+nKxPiP7sJ68NJxFwYHj6N+x
yHcTZBJMSl5F1yeP8ohmJF84OB8cUJ0//Db5H5CJZaOh+TpcFHBTkpCWZVv29nRO
vftXXlmgCchYdLKWTsIqdg8BwnIdcmXNutfQXayT2eXk84U5H6p030v3G/WUH4M7
sovtAVvPx9urRv2uwRiveX5GMPNwX7GIwu9E7eUyftPX2MwrD0pw4lzRjWTtc65k
r4vDjVMrb2OgTv/95VKA5sHRvN1l7KQke3WOMWoWk+VL2gpEsUAMOyCnYrvoMpHx
oELnTHtWjHbw+ec4XsDMVt5/YE6Q7Q==
=byBW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to