On 9/16/21 7:27 PM, Mark Dale via Mailman-users wrote:
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".
This appears to be an error in the docs. With
[paths.here]
var_dir: /opt/mailman/mm/var
[mailman]
layout: here
The logs are in /opt/mailman/mm/var/logs/
, not
/opt/mailman/web/logs/
and STATIC_ROOT
should probably be
/opt/mailman/mm/static
, but it could also be /opt/mailman/mm/var/static
.
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?
They should be created automatically, but in var_dir
which is
/opt/mailman/mm/var
, not /opt/mailman/web
Should the owner/group be "mailman"?
Yes
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan