Hi Mark and everyone else,
Everything seems to be working great except none of the lists are being archived although they are configured to be archived. So, I assume that this is a configuration issue with hyperkitty. Here is some additional info:
.pck Files are being accumulated in /var/lib/mailman3/archives/hyperkitty/spool directory. I believe these are the emails waiting to be archived.
The following messages are in my mailman logs. First, in /var/log/mailman3/mailman.log:
Feb 24 16:01:33 2022 (1722225) Traceback (most recent call last): File "/opt/mailman/venv/lib/python3.9/site-packages/mailman_hyperkitty/__init__.py", line 151, in _archive_message url = self._send_message(mlist, msg) File "/opt/mailman/venv/lib/python3.9/site-packages/mailman_hyperkitty/__init__.py", line 207, in _send_message raise ValueError(result.text)
Then, in /var/log/mailman3/web/mailman-web-error.log:
Process Process-1:12: Traceback (most recent call last): File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/opt/mailman/venv/lib/python3.9/site-packages/django_q/cluster.py", line 356, in pusher task = SignedPackage.loads(task[1]) File "/opt/mailman/venv/lib/python3.9/site-packages/django_q/signing.py", line 25, in loads return signing.loads( File "/opt/mailman/venv/lib/python3.9/site-packages/django_q/core_signing.py", line 44, in loads return serializer().loads(data) File "/opt/mailman/venv/lib/python3.9/site-packages/django_q/signing.py", line 39, in loads return pickle.loads(data) AttributeError: Can't get attribute 'unlock_and_call' on <module 'hyperkitty.tasks' from '/opt/mailman/venv/lib/python3.9/site-packages/hyperkitty/tasks.py'> 21:23:57 [Q] ERROR reincarnated pusher Process-1:12 after sudden death 21:23:57 [Q] INFO Process-1:13 pushing tasks at 1734586
I am not confident that my base_url value is correct in mailman-hyperkitty.cfg. I have tried the following without success:
base_url: http://localhost/hyperkitty/ base_url: http://localhost/mailman3/hyperkitty/
Also, I have tried the following as well:
base_url: https://domain.tld/hyperkitty/ base_url: https://domain.tld/mailman3/hyperkitty/
Where domain.tld is my server's public domain name with the following in settings.py:
MAILMAN_ARCHIVER_FROM = ('127.0.0.1', 'IP address for domain.tld', '::1')
However, nothing has yet worked.
I have read that the base_url is supposed to be the external facing url of hyperkitty which I thought would be the public domain name but that hasn't worked either.
Please let me know if anybody has any ideas on how to get my archives working.
Thanks,
Gordon Dickens