Deleting messages from HyperKitty archive
Hi,
I'm running Mailman 3.3.9 with HyperKitty version 1.3.8 (venv installed as per the docs).
As superuser (listmaster) I can "Delete message/thread" and "Delete archive".
These options aren't there for the list owners.
The docs (link below) say that in the newer HyperKitty version 1.3.9, list owners can delete messages/threads
Is there a patch I can implement on HyperKitty version 1.3.8 (so list owners can delete messages), or is it possible to update HyperKitty to version 1.3.9 without bringing everything crashing down?
https://docs.mailman3.org/projects/hyperkitty/en/latest/news.html 1.3.9 (2024-02-27) List owners can now delete messages and threads and reattach threads. (Fixes #261)
Thanks, Mark
On 2024-03-26 06:42, Mark wrote:
Hi,
I'm running Mailman 3.3.9 with HyperKitty version 1.3.8 (venv installed as per the docs).
As superuser (listmaster) I can "Delete message/thread" and "Delete archive".
These options aren't there for the list owners.
The docs (link below) say that in the newer HyperKitty version 1.3.9, list owners can delete messages/threads
Is there a patch I can implement on HyperKitty version 1.3.8 (so list owners can delete messages), or is it possible to update HyperKitty to version 1.3.9 without bringing everything crashing down?
https://docs.mailman3.org/projects/hyperkitty/en/latest/news.html 1.3.9 (2024-02-27) List owners can now delete messages and threads and reattach threads. (Fixes #261)
Regarding updating, the Hyperkitty docs say to (a) update the code base; and (b) update the database schemas.
Although updating the database is mentioned, there isn't anything about updating the code base.
Any pointers on this appreciated. Apologies for my cluelessness.
*** FROM DOCS - https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html
To upgrade an existing installation of HyperKitty, you need to update the code base AND run the commands that will update the database schemas. ...
To update the HyperKitty database, run:
django-admin migrate --pythonpath example_project --settings settings
After this command complete, your database will be updated.
On 3/25/24 13:00, Mark wrote:
Regarding updating, the Hyperkitty docs say to (a) update the code base; and (b) update the database schemas.
Although updating the database is mentioned, there isn't anything about updating the code base.
Updating the code base just means installing an updated version. E.g. upgrading from 1.3.8 to 1.3.9.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 2024-03-26 08:45, Mark Sapiro wrote:
On 3/25/24 13:00, Mark wrote:
Regarding updating, the Hyperkitty docs say to (a) update the code base; and (b) update the database schemas.
Although updating the database is mentioned, there isn't anything about updating the code base.
Updating the code base just means installing an updated version. E.g. upgrading from 1.3.8 to 1.3.9.
Thanks Mark. Was another case of "If all else fails, read the instructions..."
$ sudo systemctl stop mailman3 $ sudo systemctl stop mailmanweb
(venv) $ pip install -U mailman postorius django-mailman3 hyperkitty mailman-web
(venv) $ mailman-web migrate
(venv) $ mailman-web compress (venv) $ mailman-web collectstatic
(venv) $ mailman-web compilemessages
$ sudo systemctl start mailman3 $ sudo systemctl start mailmanweb
https://www.mailman3.org/en/latest/upgrade-guide.html
Successfully upgraded to Hyperkitty 1.3.9 and the delete message link now shows for the list owners.
Best, Mark
On 3/25/24 12:42, Mark wrote:
Hi,
I'm running Mailman 3.3.9 with HyperKitty version 1.3.8 (venv installed as per the docs).
As superuser (listmaster) I can "Delete message/thread" and "Delete archive".
These options aren't there for the list owners.
The docs (link below) say that in the newer HyperKitty version 1.3.9, list owners can delete messages/threads
Is there a patch I can implement on HyperKitty version 1.3.8 (so list owners can delete messages), or is it possible to update HyperKitty to version 1.3.9 without bringing everything crashing down?
https://docs.mailman3.org/projects/hyperkitty/en/latest/news.html 1.3.9 (2024-02-27) List owners can now delete messages and threads and reattach threads. (Fixes #261)
The patch is at <https://gitlab.com/mailman/hyperkitty/-/merge_requests/584/diffs>. Upgrading HyperKitty can be done in your venv by something like
pip install hyperkitty==1.3.9
however, there may be things that also depend on later versions of django-mailman3, mailmanclient, mailman-web or even mailman core, thus it is best to upgrade everything. For the recommended virtualenv install, see <https://docs.mailman3.org/en/latest/upgrade-guide.html#virtualenv-install>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark
-
Mark Sapiro