Package: mailman3-web
Version: 0+20240312-1
Severity: important
Dear Maintainer,
I did
sudo apt dist-upgrade
and see:
== Spam from the postinst script:
Setting up mailman3-web (0+20240312-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/mailman3-web.conf
dbconfig-common: flushing administrative password
Traceback (most recent call last):
File "/usr/bin/django-admin", line 33, in <module>
sys.exit(load_entry_point('Django==4.2.14', 'console_scripts',
'django-admin')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 442, in execute_from_command_line
utility.execute()
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
412, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 209, in handle
collected = self.collect()
^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 135, in collect
handler(path, prefixed_path, storage)
File
"/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 377, in copy_file
with source_storage.open(path) as source_file:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/core/files/storage/base.py", line
22, in open
return self._open(name, mode)
^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/django/core/files/storage/filesystem.py", line
68, in _open
return File(open(self.path(name), mode))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/lib/python3/dist-packages/postorius/static/postorius/libs/bootstrap/js/bootstrap.bundle.min.js
It looks as though something removes that symlink. If I replace it, it gets
removed before this part of the script runs.
The only way I've worked out that allows the system to proceed is copying the
files
(instead of using a symlink).
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.10.4-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.87
ii init-system-helpers 1.66
ii python3 3.12.5-1
ii python3-django-hyperkitty 1.3.9-1
ii python3-django-postorius 1.3.10-1
ii python3-psycopg2 2.9.9-1+b2
ii python3-whoosh 2.7.4+git6-g9134ad92-8
ii ucf 3.0043+nmu1
ii uwsgi-core 2.0.26-2+b1
ii uwsgi-plugin-python3 2.0.26-2+b1
Versions of packages mailman3-web recommends:
ii nginx 1.26.0-1
Versions of packages mailman3-web suggests:
ii postgresql 16+262
-- Configuration Files:
/etc/cron.d/mailman3-web changed:
2,17,32,47 * * * * www-data [ -f /usr/bin/django-admin ] && systemctl
is-active --quiet mailman3-web && flock -n
/var/run/mailman3-web/cron.quarter_hourly /usr/share/mailman3-web/manage.py
runjobs quarter_hourly
@hourly www-data [ -f /usr/bin/django-admin ] && systemctl
is-active --quiet mailman3-web && flock -n /var/run/mailman3-web/cron.hourly
/usr/share/mailman3-web/manage.py runjobs hourly
@daily www-data [ -f /usr/bin/django-admin ] && systemctl
is-active --quiet mailman3-web && flock -n /var/run/mailman3-web/cron.daily
/usr/share/mailman3-web/manage.py runjobs daily
@weekly www-data [ -f /usr/bin/django-admin ] && systemctl
is-active --quiet mailman3-web && flock -n /var/run/mailman3-web/cron.weekly
/usr/share/mailman3-web/manage.py runjobs weekly
@monthly www-data [ -f /usr/bin/django-admin ] && systemctl
is-active --quiet mailman3-web && flock -n /var/run/mailman3-web/cron.monthly
/usr/share/mailman3-web/manage.py runjobs monthly
@yearly www-data [ -f /usr/bin/django-admin ] && systemctl
is-active --quiet mailman3-web && flock -n /var/run/mailman3-web/cron.yearly
/usr/share/mailman3-web/manage.py runjobs yearly
-- debconf information:
mailman3-web/dbconfig-upgrade: true
* mailman3-web/pgsql/admin-user: postgres
mailman3-web/upgrade-error: abort
mailman3-web/mysql/admin-user:
mailman3-web/internal/skip-preseed: false
mailman3-web/remote/newhost:
mailman3-web/pgsql/changeconf: false
mailman3-web/mysql/method: Unix socket
mailman3-web/mysql/authplugin: default
mailman3-web/remote/host: localhost
mailman3-web/install-error: abort
* mailman3-web/database-type: pgsql
* mailman3-web/pgsql/authmethod-admin: ident
mailman3-web/pgsql/no-empty-passwords:
mailman3-web/remove-error: abort
mailman3-web/nginx-choice:
mailman3-web/purge: false
* mailman3-web/db/dbname: mailman3web
* mailman3-web/pgsql/method: Unix socket
* mailman3-web/superuser-mail: [email protected]
* mailman3-web/restart-webserver: true
* mailman3-web/superuser-name: seL4
* mailman3-web/passwords-do-not-match:
* mailman3-web/emailname: sel4.systems
* mailman3-web/configure-webserver: none
mailman3-web/remote/port:
* mailman3-web/pgsql/authmethod-user: ident
mailman3-web/upgrade-backup: true
mailman3-web/pgsql/manualconf:
mailman3-web/db/basepath:
* mailman3-web/dbconfig-install: true
mailman3-web/missing-db-package-error: abort
mailman3-web/internal/reconfiguring: false
* mailman3-web/db/app-user: mailman3web@localhost
* mailman3-web/dbconfig-reinstall: true
mailman3-web/dbconfig-remove: true