Package: mailman3-web Version: 0+20240312-1 Severity: important Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** I am dist-updating my Debian system. I get a failure for the installation of Mailman3-web root@tagol~# dpkg --configure mailman3-web Setting up mailman3-web (0+20240312-1) ... dpkg: error processing package mailman3-web (--configure): installed mailman3-web package post-installation script subprocess returned error exit status 20 Errors were encountered while processing: mailman3-web I tried replacing the set -e with set -x in /var/lib/dpkg/info# e mailman3-web.postinst Then I get root@tagol/var/lib/dpkg/info# dpkg --configure mailman3-web Setting up mailman3-web (0+20240312-1) ... + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/mailman3-web.postinst configure 0+20200530-2.1 dpkg: error processing package mailman3-web (--configure): installed mailman3-web package post-installation script subprocess returned error exit status 20 Errors were encountered while processing: mailman3-web Running root@tagol/var/lib/dpkg/info# /usr/share/debconf/frontend /var/lib/dpkg/info/mailman3-web.postinst configure 0+20200530-2.1 yields nothing root@tagol/var/lib/dpkg/info# dpkg --configure mailman3-web |& tee log.dpkg.config.mailman3web.5 Setting up mailman3-web (0+20240312-1) ... + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/mailman3-web.postinst configure 0+20200530-2.1 dpkg: error processing package mailman3-web (--configure): installed mailman3-web package post-installation script subprocess returned error exit status 20 Errors were encountered while processing: mailman3-web Same thing. root@tagol~# systemctl restart mailman3-web.service root@tagol~# The web interface page loads https://folks.email/mailman3/postorius/lists/bibnez.folks.email/ but when I go to sign-in I get Internal Server Error: /mailman3/accounts/login/ OfflineGenerationError at /accounts/login/ You have offline compression enabled but key +"5dc9242d199e3c2224564016de526a9d8e46b5d332709d1fde99964e8821452c" is missing from offline +manifest. You may need to run "python manage.py compress". Here is the original content: I go ahead and run root@tagol/usr/share/mailman3-web# ./manage.py compress Compressing... Error parsing template socialaccount/signup.html: socialaccount/base.html done Compressed 2 block(s) from 78 template(s) for 1 context(s). It turns out this issue was discussed on the mailing list https://lists.mailman3.org/archives/list/mailman-us...@mailman3.org/thread/MGY6JA6O7BWGR2KNKD3PQTMW7ZY7NHS3/ I tried to downgrade root@tagol~# dpkg -i mailman3-web_0+20200530-2.1_all.deb dpkg: warning: downgrading mailman3-web from 0+20240312-1 to 0+20200530-2.1 (Reading database ... 121410 files and directories currently installed.) Preparing to unpack mailman3-web_0+20200530-2.1_all.deb ... Unpacking mailman3-web (0+20200530-2.1) over (0+20240312-1) ... Setting up mailman3-web (0+20200530-2.1) ... Installing new version of config file /etc/cron.d/mailman3-web ... dpkg: error processing package mailman3-web (--install): installed mailman3-web package post-installation script subprocess returned error exit status 20 Errors were encountered while processing: mailman3-web So I upgrade again root@tagol/usr/share/mailman3-web# apt upgrade The following packages were automatically installed and are no longer required: libabsl20220623 libaio1 linux-image-6.6.15-amd64 python3-editables python3-pyrsistent Use 'apt autoremove' to remove them. Upgrading: mailman3-web Summary: Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0 1 not fully installed or removed. Download size: 25.9 kB Space needed: 2,048 B / 11.2 TB available Continue? [Y/n] y Get:1 http://mirror.hetzner.com/debian/packages testing/main amd64 mailman3-web all 0+20240312-1 [25.9 kB] Fetched 25.9 kB in 0s (141 kB/s) Preconfiguring packages ... mailman3-web failed to preconfigure, with exit status 20 (Reading database ... 121410 files and directories currently installed.) Preparing to unpack .../mailman3-web_0+20240312-1_all.deb ... Unpacking mailman3-web (0+20240312-1) over (0+20200530-2.1) ... Setting up mailman3-web (0+20240312-1) ... Installing new version of config file /etc/cron.d/mailman3-web ... dpkg: error processing package mailman3-web (--configure): installed mailman3-web package post-installation script subprocess returned error exit status 20 Errors were encountered while processing: mailman3-web Error: Sub-process /usr/bin/dpkg returned an error code (1) Removing these two lines root@tagol/etc/mailman3# diff mailman-web.py mailman-web.py~ 53,54c53,54 < 'allauth.account', < 'allauth.socialaccount' --- > #'allauth.account', > # 'allauth.socialaccount', restarting mailman3-web, and then adding them back again, and then restarting mailman3-web, magically seems to get the web interface to work. But the error on install still persists. root@tagol/etc/mailman3# apt upgrade Summary: Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 1 not fully installed or removed. Space needed: 0 B / 11.2 TB available Continue? [Y/n] Setting up mailman3-web (0+20240312-1) ... dpkg: error processing package mailman3-web (--configure): installed mailman3-web package post-installation script subprocess returned error exit status 20 Errors were encountered while processing: mailman3-web Error: Sub-process /usr/bin/dpkg returned an error code (1) Let me know if there is anything I can do to help. -- System Information: Debian Release: trixie/sid APT prefers oldstable-security APT policy: (500, 'oldstable-security'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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-no-thanks 2.0.24 ii debconf [debconf-2.0] 1.5.86 ii init-system-helpers 1.66 ii python3 3.11.8-1 ii python3-django-hyperkitty 1.3.9-1 ii python3-django-postorius 1.3.10-1 ii python3-psycopg2 2.9.9-1+b1 ii python3-whoosh 2.7.4+git6-g9134ad92-8 ii ucf 3.0043+nmu1 ii uwsgi-core 2.0.25.1-1 ii uwsgi-plugin-python3 2.0.25.1-1 Versions of packages mailman3-web recommends: pn libapache2-mod-proxy-uwsgi | nginx <none> Versions of packages mailman3-web suggests: pn postgresql | default-mysql-server | virtual-mysql-server <none> -- debconf information: mailman3-web/emailname: # WASlocalhost.local mailman3-web/nginx-choice: mailman3-web/superuser-name: admin mailman3-web/restart-webserver: true mailman3-web/configure-webserver: none mailman3-web/superuser-mail: root@localhost