Package: mailman3-web
Version: 0+20200530-2
Severity: important

Dear Maintainer,


I tried to install mailman3-full on my server, but the post-installation script
keeps failing. Please find below the error message.

The error message mentions database configuration, but it occurs whether I
choose postgresql or sqlite during mailman3 installation.

Reading package lists...
Building dependency tree...
Reading state information...
mailman3-web is already the newest version (0+20200530-2).
The following packages were automatically installed and are no longer required:
  libbloom1 libc-ares2 libcork16 libcorkipset1 libev4 libjsonparser1.1
  libmbedcrypto3 python3-mailman-hyperkitty
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Setting up mailman3-web (0+20200530-2) ...
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 5, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 381, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
364, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
83, in wrapped
    res = handle_func(*args, **kwargs)
  File 
"/usr/lib/python3/dist-packages/django/core/management/commands/migrate.py", 
line 87, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 
18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/usr/lib/python3/dist-packages/django/db/migrations/loader.py", line 
49, in __init__
    self.build_graph()
  File "/usr/lib/python3/dist-packages/django/db/migrations/loader.py", line 
212, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/usr/lib/python3/dist-packages/django/db/migrations/recorder.py", line 
73, in applied_migrations
    if self.has_table():
  File "/usr/lib/python3/dist-packages/django/db/migrations/recorder.py", line 
56, in has_table
    return self.Migration._meta.db_table in 
self.connection.introspection.table_names(self.connection.cursor())
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 
256, in cursor
    return self._cursor()
  File "/usr/lib/python3/dist-packages/django/db/backends/dummy/base.py", line 
20, in complain
    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly 
configured. Please supply the ENGINE value. Check settings documentation for 
more details.
dpkg: error processing package mailman3-web (--configure):
 installed mailman3-web package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 mailman3-web
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: 11.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-28-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=ANSI_X3.4-1968) (ignored: 
LC_ALL set to C), 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.19
ii  debconf [debconf-2.0]      1.5.77
ii  init-system-helpers        1.60
ii  lsb-base                   11.1.0
ii  python3                    3.9.2-3
ii  python3-django-hyperkitty  1.3.4-4
ii  python3-django-postorius   1.3.4-2+deb11u1
ii  python3-psycopg2           2.8.6-2
ii  python3-whoosh             2.7.4+git6-g9134ad92-5
ii  ucf                        3.0043
ii  uwsgi-core                 2.0.19.1-7.1
ii  uwsgi-plugin-python3       2.0.19.1-7.1

Versions of packages mailman3-web recommends:
ii  libapache2-mod-proxy-uwsgi  2.4.59-1~deb11u1

Versions of packages mailman3-web suggests:
ii  postgresql  13+225+deb11u1

-- debconf information:
  mailman3-web/mysql/app-pass: (password omitted)
  mailman3-web/mysql/admin-pass: (password omitted)
  mailman3-web/password-confirm: (password omitted)
  mailman3-web/superuser-password: (password omitted)
  mailman3-web/app-password-confirm: (password omitted)
  mailman3-web/pgsql/admin-pass: (password omitted)
  mailman3-web/pgsql/app-pass: (password omitted)
  mailman3-web/remote/port:
  mailman3-web/pgsql/manualconf:
  mailman3-web/pgsql/changeconf: false
  mailman3-web/dbconfig-reinstall: false
  mailman3-web/remote/newhost:
  mailman3-web/emailname: localhost.local
  mailman3-web/install-error: abort
  mailman3-web/db/basepath: /var/lib/mailman3/web
  mailman3-web/nginx-choice:
  mailman3-web/mysql/admin-user:
  mailman3-web/remove-error: abort
  mailman3-web/internal/reconfiguring: false
  mailman3-web/database-type:
  mailman3-web/passwords-do-not-match:
  mailman3-web/pgsql/admin-user: postgres
  mailman3-web/remote/host: localhost
  mailman3-web/db/dbname: mailman3web
  mailman3-web/mysql/authplugin: default
  mailman3-web/upgrade-backup: true
  mailman3-web/purge: false
  mailman3-web/upgrade-error: abort
  mailman3-web/db/app-user: mailman3web@localhost
  mailman3-web/configure-webserver: none
  mailman3-web/pgsql/method: TCP/IP
  mailman3-web/superuser-mail: root@localhost
  mailman3-web/superuser-name: admin
  mailman3-web/pgsql/no-empty-passwords:
  mailman3-web/pgsql/authmethod-user: password
  mailman3-web/dbconfig-upgrade: true
  mailman3-web/restart-webserver: true
  mailman3-web/mysql/method: Unix socket
* mailman3-web/dbconfig-install: false
  mailman3-web/pgsql/authmethod-admin: ident
  mailman3-web/dbconfig-remove: true
  mailman3-web/internal/skip-preseed: false
  mailman3-web/missing-db-package-error: abort

Reply via email to