From mark@postmark.io Tue Sep 20 02:09:40 2022 From: Mark Dale To: mailman-users@mailman3.org Subject: [MM3-users] Messages not being archived Date: Tue, 20 Sep 2022 12:09:22 +1000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7076603133928913215==" --===============7076603133928913215== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi I've just installed Mailman 3 using the Debian 11 package. Mailman-Version: 3.3.3 HyperKitty version 1.3.4 Postorius Version 1.3.4 =20 The first list that I've added is receiving and sending mail okay, however th= e messages are not being archived. The logs report a HyperKitty error. I've copy-pasted that in at the end of t= his email. I've checked the following:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D /etc/mailman3/mailman.cfg contains: [archiver.hyperkitty] class: mailman_hyperkitty.Archiver enable: yes configuration: /etc/mailman3/mailman-hyperkitty.cfg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D The list has archiving configured on in Postorius. - Archive policy: Private archives - Active archivers: hyperkitty =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D /etc/mailman3/mailman-hyperkitty.cfg has: [general] base_url: https://lists.mydomain.com/mailman3/archives #base_url: https://lists.mydomain.com/mailman3/hyperkitty/ api_key: aaaaaaaaaaaaaaaaaaaaaa =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D /usr/share/mailman3-web/settings_local.py contains: ALLOWED_HOSTS =3D [ "localhost", '*' ] MAILMAN_ARCHIVER_KEY =3D 'aaaaaaaaaaaaaaaaaaaaaa' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D The headers of the emails received from the list show blanks for Archived-At = and List-Archive: X-Mailman-Version: 3.3.3 Precedence: list Archived-At: <> List-Archive: <> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D /var/log/mailman3/mailman.log The errors in the log contain messages (that I'm clueless about) regarding Hy= perKitty. Sep 20 01:05:54 2022 (1293) HyperKitty failure on https://lists.mydomain.com/= mailman3/archives/api/mailman/archive Sep 20 01:05:54 2022 (1293) Exception in the HyperKitty archiver: ... 503 Service Unavailable ... Sep 20 01:05:54 2022 (1293) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/mailman_hyperkitty/__init__.py", line = 154, in _archive_message url =3D self._send_message(mlist, msg) File "/usr/lib/python3/dist-packages/mailman_hyperkitty/__init__.py", line = 210, in _send_message raise ValueError(result.text) ... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D If anyone can point me in the right direction to get the archive happening, t= hat'd be grand. Cheers, Mark =20 --===============7076603133928913215==-- From mark@postmark.io Tue Sep 20 02:22:22 2022 From: Mark Dale To: mailman-users@mailman3.org Subject: [MM3-users] Re: Messages not being archived Date: Tue, 20 Sep 2022 12:22:06 +1000 Message-ID: <12e02257c63dfb5b80a20dd53d83f47fbaec90c1.camel@postmark.io> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1237439210919753023==" --===============1237439210919753023== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 2022-09-20 at 12:09 +1000, Mark Dale via Mailman-users wrote: > ============================= > /etc/mailman3/mailman-hyperkitty.cfg has: > > [general] > base_url: https://lists.mydomain.com/mailman3/archives > #base_url: https://lists.mydomain.com/mailman3/hyperkitty/ > api_key: aaaaaaaaaaaaaaaaaaaaaa > > ============================= All sorted. I reset the base-url back to the default ... base_url: https://lists.mydomain.com/mailman3/hyperkitty/ and all is well. Happy days! --===============1237439210919753023==--