[Pkg-mailman-hackers] Bug#1033072: mailman3-web: After upgrade, moderation operations are broken

Peter Chubb peter.chubb at unsw.edu.au
Thu Mar 16 22:24:59 GMT 2023


Package: mailman3-web
Version: 0+20200530-2.1
Severity: normal

Dear Maintainer,

I had a working mailman3 installation.  I did 'apt upgrade' which pulled
in a new python3-hyperkitty and nginx.  Now when trying to manage
'held messages' on a list:
  -- the checkbox next to 'Subject' does not toggle all the checkboxes below it.
  -- Clicking on a held message does not switch to a page where I can manage
     the sender of that message. In fact it does nothing.

I suspect the javascript to run this is broken somehow.
In my bro3wser console when looking at teh javascript I see:

Uncaught TypeError: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.
    at Object.jQueryDetection (bootstrap.min.js:34:98)
    at bootstrap.min.js:34:407
    at bootstrap.min.js:6:200
    at bootstrap.min.js:6:288
main.js:38 Uncaught ReferenceError: $ is not defined
    at main.js:38:1
held_messages:445 Uncaught ReferenceError: $ is not defined
    at held_messages:445:7
held_messages.js:3 Uncaught ReferenceError: $ is not defined
    at loadjs (held_messages.js:3:3)
    at held_messages:452:1

The held_messages source file refers to jquery-3.6.0; but 
jquery-1.11.3 is installed in /var/lib/mailman3/web/static/postorius/libs/jquery


I notice that version 3.6 is in
/usr/share/python3-django-postorius/static/postorius/libs/jquery ...
should the nginx snippet in /etc/mailman3 be updated to point here?

For now I deleted /var/lib/mailman3/web/static/postorius and replaced it
with a symlink to /usr/share/python3-django-postorius/static/postorius



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

Kernel: Linux 6.1.0-6-cloud-amd64 (SMP w/1 CPU thread; PREEMPT)
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 mailman3-web depends on:
ii  dbconfig-sqlite3           2.0.24
ii  debconf [debconf-2.0]      1.5.82
ii  init-system-helpers        1.65.2
ii  lsb-base                   11.6
ii  python3                    3.11.2-1
ii  python3-django-hyperkitty  1.3.7-1
ii  python3-django-postorius   1.3.8-3
ii  python3-psycopg2           2.9.5-1+b1
ii  python3-whoosh             2.7.4+git6-g9134ad92-7
ii  sysvinit-utils [lsb-base]  3.06-2
ii  ucf                        3.0043+nmu1
ii  uwsgi-core                 2.0.21-5
ii  uwsgi-plugin-python3       2.0.21-5

Versions of packages mailman3-web recommends:
ii  nginx  1.22.1-7

Versions of packages mailman3-web suggests:
ii  postgresql  15+247

-- debconf information:
  mailman3-web/remote/port:
  mailman3-web/dbconfig-upgrade: true
  mailman3-web/missing-db-package-error: abort
* mailman3-web/passwords-do-not-match:
* mailman3-web/superuser-mail: listadmin at sel4.systems
  mailman3-web/pgsql/manualconf:
  mailman3-web/mysql/method: Unix socket
* mailman3-web/db/dbname: mailman3web
  mailman3-web/db/basepath:
* mailman3-web/dbconfig-install: true
  mailman3-web/install-error: abort
  mailman3-web/remove-error: abort
  mailman3-web/upgrade-backup: true
* mailman3-web/db/app-user: mailman3web at localhost
  mailman3-web/pgsql/no-empty-passwords:
  mailman3-web/mysql/admin-user:
* mailman3-web/restart-webserver: true
* mailman3-web/pgsql/method: Unix socket
* mailman3-web/pgsql/admin-user: postgres
* mailman3-web/configure-webserver: none
  mailman3-web/internal/reconfiguring: false
  mailman3-web/mysql/authplugin: default
  mailman3-web/nginx-choice:
  mailman3-web/dbconfig-remove: true
  mailman3-web/upgrade-error: abort
* mailman3-web/emailname: sel4.systems
* mailman3-web/dbconfig-reinstall: true
* mailman3-web/superuser-name: seL4
  mailman3-web/remote/host: localhost
  mailman3-web/purge: false
* mailman3-web/database-type: pgsql
* mailman3-web/pgsql/authmethod-user: ident
  mailman3-web/internal/skip-preseed: false
  mailman3-web/pgsql/changeconf: false
* mailman3-web/pgsql/authmethod-admin: ident
  mailman3-web/remote/newhost:



More information about the Pkg-mailman-hackers mailing list