[Pkg-mailman-hackers] Bug#1041496: mailman3-web: Upgrade from Debian 11 to 12 dpkg can't configure mailman3-full and -web

Richard Rosner rrosner at fsmuw.rwth-aachen.de
Mon Aug 7 10:30:23 BST 2023


It would be very much appreciated if a solution could be found, or at least help provided to figure out the problem. Right now, both mailman3-full and mailman3-web can't be configured, so every time apt runs, it also tries to fix them. While mailman3 itself is working, mailman3-web is completely dead.

PS: I also tried adding DEFAULT_AUTO_FIELD='django.db.models.AutoField' to the settings.py, but I don't see any changes. Output is this (for dpkg --configure -a):

mailman3-web (0+20200530-2.1) is being set up ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.dbconfig-common: writing config to /etc/dbconfig-common/mailman3-web.conf
dbconfig-common: flushing administrative password
/usr/lib/python3/dist-packages/django_q/conf.py:139: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout,
failure to do so will cause the tasks to be retriggered before completion.
See https://django-q.readthedocs.io/en/latest/configure.html#retry for details.
warn(
/usr/lib/python3/dist-packages/django_q/conf.py:139: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout,
failure to do so will cause the tasks to be retriggered before completion.
See https://django-q.readthedocs.io/en/latest/configure.html#retry for details.
warn(
Traceback (most recent call last):
File "/usr/bin/django-admin", line 33, in <module>
sys.exit(load_entry_point('Django==3.2.19', 'console_scripts', 'django-admin')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 187, in handle
collected = self.collect()
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
handler(path, prefixed_path, storage)
File "/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 338, in copy_file
if not self.delete_file(path, prefixed_path, source_storage):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 291, in delete_file
self.storage.delete(prefixed_path)
File "/usr/lib/python3/dist-packages/django/core/files/storage.py", line 318, in delete
os.remove(name)
PermissionError: [Errno 13] Permission denied: '/var/lib/mailman3/web/static/hyperkitty/libs/jquery.hotkeys.js'
dpkg: Error during processing of package mailman3-web (--configure):
»installed post-installation-skrict of package mailman3-web«-sub process exited with error code 1
dpkg: dependency errors prevent configuration of mailman3-full:
mailman3-full depends onmailman3-web; but:
Package mailman3-web isn't configured.

dpkg: error during processing of package mailman3-full (--configure):
Dependency errors - stays unconfigured
Errors during processing of:
mailman3-web
mailman3-full

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20230807/482b234c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6583 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20230807/482b234c/attachment.bin>


More information about the Pkg-mailman-hackers mailing list