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

Peter Chubb peter.chubb at unsw.edu.au
Thu Jan 6 01:03:27 GMT 2022


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.

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-cloud-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-mailman-hyperkitty depends on:
ii  debconf [debconf-2.0]   1.5.79
ii  mailman3                3.3.3-1
ii  python3                 3.9.8-1
ii  python3-pkg-resources   59.6.0-1
ii  python3-requests        2.25.1+dfsg-2
ii  python3-zope.interface  5.4.0-1+b1
ii  ucf                     3.0043

Versions of packages python3-mailman-hyperkitty recommends:
ii  mailman3-web               0+20200530-2
ii  python3-django-hyperkitty  1.3.5-1

python3-mailman-hyperkitty suggests no packages.

-- debconf information:
  python3-mailman-hyperkitty/no_archiverkey:



More information about the Pkg-mailman-hackers mailing list