I see this error oin startup:
3:22:11 [Q] INFO Process-1:1 processing [rebuild_mailinglist_cache_for_month]
13:22:11 [Q] ERROR Failed [rebuild_mailinglist_cache_for_month] - MailingList matching query does not exist. : Traceback (most recent call last):
File "/opt/mailman/mm/venv/lib/python3.7/site-packages/django_q-1.0.1-py3.7.egg/django_q/cluster.py", line 377, in worker
res = f(*task['args'], **task['kwargs'])
File "/opt/mailman/mm/venv/lib/python3.7/site-packages/HyperKitty-1.2.3-py3.7.egg/hyperkitty/tasks.py", line 79, in _rebuild_mailinglist_cache_for_month
mlist = MailingList.objects.get(name=mlist_name)
File "/opt/mailman/mm/venv/lib/python3.7/site-packages/Django-2.1.9-py3.7.egg/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/opt/mailman/mm/venv/lib/python3.7/site-packages/Django-2.1.9-py3.7.egg/django/db/models/query.py", line 399, in get
hyperkitty.models.mailinglist.MailingList.DoesNotExist: MailingList matching query does not exist.
Latest build versions of everything.
A curious problem, but seems to be well defined. I am importing mbox format files with 25 years worth of archives in 250 files from a Listserv list into hyperkitty. All is going swimmingly, except I get lots of partial emails with sender of None put into the current month, with text that has clearly been truncated. As I look at each one, I see that the line in the imported text is immediately after a line starting with 'From'. Clearly, 'From:' is an RCS-82 header, but 'From ' is not, and yet there is much evidence here that this is messing up the import.
Is this a known bug? If not, how do I report it?
Suddenly stopped working. For all the lists I have created, suddenly the confirm setting is ignored for subscriptions and users are subscribed right away.
This only happened after I added another domain - surely that can't be the cause?
Where to look to troubleshoot this?
I’m having an issue downloading attachments from HyperKitty. The download begins as expected, but never progresses. Eventually it times out. I imagine the browser is expecting data matching the content-length header, but never receives it.
Inspecting the contents of the download file reveals (address varies):
<memory at 0x7f148fcb9588>
I’ve been able to work around the issue with the following patch:
--- env/lib/python3.7/site-packages/hyperkitty/models/email.py.orig 2018-12-06 21:38:39.544448735 +0000
+++ env/lib/python3.7/site-packages/hyperkitty/models/email.py 2018-12-06 23:01:39.923239421 +0000
@@ -309,7 +309,7 @@
folder = self._get_folder()
if folder is None:
- return self.content
+ return self.content.tobytes()
filepath = os.path.join(folder, str(self.counter))
if not os.path.exists(filepath):
logger.error("Could not find local attachment %s for email %s",
I haven't been able to replicate the issue with the HyperKitty tests, presumably the issue is somewhere in the Django <-> uwsgi <-> nginx stack.
My configs are based on mailman-suite and maxking/docker-mailman. I've tried stripping out all the performance tweaks from my uwsgi and nginx configs, but no change.
Has anyone come across this before?
I see discussion about this topic here in July. My immediate interest is that I had hoped to move from an antique plain-text only list to modern list software that will support content such as inline images (partly to staunch the flow of subscribers to facebook, simply to be able to post pictures.)
Does hyperkitty support this, and where can one read about that?
How can one do this? Raw database access gets you involved in all the usual foreign key constraints.
I don't know how to make use of this information:
After a very large import of decades of data, I need to delete just one wrong mail that is corrupt. I think it is a valid case. I could run the import again after fixing the import mbox, but it takes many hours to load.
Not working - download just waits forever after a few bytes in the browser.
Could it be that you have to set hyperkitty to store attachments in the filesystem, and configure uwsgi to serve them as static files? Is that what the hyperkitty setting HYPERKITYY_ATTACHMENT_FOLDER is for?
If this is so, can anybody show the fragment of uwsgi configuration required?
hey, I am not very experienced with the mailman shell and configuration. I configured mailman using the mailman.cnf and I know that I can use "mailman conf" to get all the parameters. But now I would like to change the preferred language of a list. Because despite I set
[mailman] default_language: de
even new lists will still have "en" as preferred language. I checked this just by reading the $language variable in a list template. How can I change the list parameters and how can I make mailman to use the german language files? I found the files, so I know they exist, but still need to make mailman use them...