Thank you for your reply earlier regarding "creating the mailman.cfg permissions".
Now that's clear I proceeded on through the installation instructions at:
https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...
==========
Installing Web UI To install the web components, run the following commands with virtualenv activated:
root@mx:~# su mailman (venv) mailman@mx:/root$ pip install mailman-web mailman-hyperkitty (venv) mailman@mx:~$ exit exit
==========
Initial Configuration Then, create a new configuration file at /etc/mailman3/settings.py
root@mx:~# nano /etc/mailman3/settings.py
I note that in the sample "settings.py" file, there are lines that have the directory "web" in the file paths ...
STATIC_ROOT = '/opt/mailman/web/static'
LOGGING['handlers']['file']['filename'] = '/opt/mailman/web/logs/mailmanweb.log'
... but as yet there is no directory "web".
root@mx:/opt/mailman# ls -la total 44 drwxr-xr-x 6 mailman mailman 4096 Sep 17 03:52 . drwxr-xr-x 3 root root 4096 Sep 13 01:48 .. -rw------- 1 mailman mailman 308 Sep 17 04:01 .bash_history -rw-r--r-- 1 mailman mailman 220 Aug 4 22:25 .bash_logout -rw-r--r-- 1 mailman mailman 3564 Sep 17 03:47 .bashrc drwxr-xr-x 3 mailman mailman 4096 Sep 13 01:52 .cache -rw-r--r-- 1 mailman mailman 0 Aug 15 16:21 .cloud-locale-test.skip drwxr-xr-x 3 mailman mailman 4096 Sep 13 01:55 .local drwxr-xr-x 3 mailman mailman 4096 Sep 17 03:43 mm -rw-r--r-- 1 mailman mailman 807 Aug 4 22:25 .profile -rw-r--r-- 1 mailman mailman 66 Sep 17 03:52 .selected_editor drwxr-xr-x 7 mailman mailman 4096 Sep 13 01:52 venv
==========
Run database migrations
root@mx:~# su mailman (venv) mailman@mx:/root$ mailman-web migrate
Here a ton of errors get printed, but one in particular:
Traceback (most recent call last): ... FileNotFoundError: [Errno 2] No such file or directory: '/opt/mailman/web/logs/mailmanweb.log' ...
==========
Was I meant to create the directories "web/logs/" and the "mailmanweb.log" file at some point, or were they meant to get created during the mailman-web install process?
Should the owner/group be "mailman"?