[Pkg-mailman-hackers] Bug#1003196: python3-mailman-hyperkitty: postinst should run django-admin migrate

Pierre-Elliott Bécue peb at debian.org
Thu Jan 6 12:24:33 GMT 2022


Peter Chubb <peter.chubb at unsw.edu.au> wrote on 06/01/2022 at 02:03:27+0100:

> Package: python3-mailman-hyperkitty
> Version: 1.1.0-10
> Severity: normal
>
> Dear Maintainer,
>
> After a routine apt-upgrade, archives showed 'server error' instead of an 
> archive.
>
> THe issue was that the database schema needed update.
>
> I believe the postinst script should run:
>   sudo -u www-data django-admin migrate --pythonpath /usr/share/mailman3-web --settings settings 
> or ask the user to.

Hi,

It's done in mailman3-web's postinst, but as it not updated anymore
upstream, the update is not triggered.

We'll probably include django maintenance in django-mailman3 as it tends
to be updated along with hyperkitty and postorius that both depend on
it.

Regards,
-- 
PEB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 853 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20220106/cad6e513/attachment.sig>


More information about the Pkg-mailman-hackers mailing list