<html>Thanks,  but I'm still getting errors:<blockquote><p>sudo -u www-data /usr/share/mailman3-web/manage.py makemigrations<br />Migrations for 'django_mailman3':<br />  /usr/lib/python3/dist-packages/django_mailman3/migrations/0003_auto_20230813_0944.py<br />    - Alter field id on maildomain<br />    - Alter field id on profile<br />Traceback (most recent call last):<br />  File "/usr/share/mailman3-web/manage.py", line 10, in <module><br />    execute_from_command_line(sys.argv)<br />  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 419, in execute_from_command_line<br />    utility.execute()<br />  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 413, in execute<br />    self.fetch_command(subcommand).run_from_argv(self.argv)<br />  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 354, in run_from_argv<br />    self.execute(*args, **cmd_options)<br />  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 398, in execute<br />    output = self.handle(*args, **options)<br />             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br />  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 89, in wrapped<br />    res = handle_func(*args, **kwargs)<br />          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br />  File "/usr/lib/python3/dist-packages/django/core/management/commands/makemigrations.py", line 190, in handle<br />    self.write_migration_files(changes)<br />  File "/usr/lib/python3/dist-packages/django/core/management/commands/makemigrations.py", line 228, in write_migration_files<br />    with open(writer.path, "w", encoding='utf-8') as fh:<br />         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br />PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/django_mailman3/migrations/0003_auto_20230813_0944.py'</p></blockquote>0003_auto_20230813_0944.py doesn't exist, the migrate directory is owned by root. But afaik this is supposed to be the case. So I'm not sure what's the problem.<br /><br /><br />Am Sonntag, 13. August 2023 09:01 CEST, schrieb Takatsugu Nokubi <nokubi@gmail.com>:<br /> <blockquote type="cite" cite="CADCYzv7yoMRHW=QtKovYhjxXd+3-xqm9V5DLxu_t3tmfhbUDgQ@mail.gmail.com"><div dir="ltr"><div>I don't know why your mailman3-web was broken, anyway I can fix the problem with the following steps:</div><div> </div><div>* add config to /etc/mailman3/mailman-web.py</div><div> </div><div>```</div><div>DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'<br />Q_CLUSTER = {<br />    'timeout': 300,<br />    'retry': 600,<br />    'save_limit': 100,<br />    'orm': 'default',<br />    'poll': 5,<br />}</div><div>```</div><div> </div><div>* make django migration</div><div> </div><div>```</div><div>sudo -u www-data /usr/share/mailman3-web/manage.py makemigrations<br />sudo -u www-data /usr/share/mailman3-web/manage.py migrate</div><div>```</div><div> </div><div>to enable DEFAULT_AUTO_FIELD config</div><div> </div><div>* restart service</div><div> </div><div>```</div><div>sudo service mailman3 restart<br />sudo service mailman3-web restart<br />```</div><div> </div><div>to enable Q_CLUSTER  config</div><div> </div><div> </div>On Mon, 07 Aug 2023 11:30:23 +0200 "Richard Rosner" <<a href="mailto:rrosner@fsmuw.rwth-aachen.de">rrosner@fsmuw.rwth-aachen.de</a>> wrote:<br />><br />> 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.<br />><br />> 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):<br /> </div></blockquote></html>