mailman-web Cleaning Up a Few Issues
I seems to be having a problem with some cronjobs not running; I'm getting the following email errors/warnings:
Subject: Cron <www-data@dap002> [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.minutely /usr/share/mailman3-web/manage.py runjobs minutely
Body: flock: cannot open lock file /var/run/mailman3-web/cron.minutely: No such file or directory
Obviously there is a path specified wrong but I can't find where that is.
Subject: Cron <mailman@dap002> /opt/mailman/venv/bin/mailman-web runjobs minutely
Body: System check identified some issues:
WARNINGS: ?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use: settings.ACCOUNT_LOGIN_METHODS = {'username', 'email'} ?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use: settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*', 'password2*']
Again I could probably fix these if I knew where to look.
On 11/3/25 08:06, dap1--- via Mailman-users wrote:
I seems to be having a problem with some cronjobs not running; I'm getting the following email errors/warnings:
Subject: Cron <www-data@dap002> [ -f /usr/bin/django-admin ] && flock -n /var/run/mailman3-web/cron.minutely /usr/share/mailman3-web/manage.py runjobs minutely
Body: flock: cannot open lock file /var/run/mailman3-web/cron.minutely: No such file or directory
Obviously there is a path specified wrong but I can't find where that is.
Something is configured incorrectly. Is this left over from a prior install of an Ubuntu mailman-web package?
https://docs.mailman3.org/en/latest/install/virtualenv.html#cron-jobs-for-ma... says these should run /opt/mailman/venv/bin/mailman-web runjobs, not /usr/share/mailman3-web/manage.py runjobs.
Subject: Cron <mailman@dap002> /opt/mailman/venv/bin/mailman-web runjobs minutely
Body: System check identified some issues:
WARNINGS: ?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use: settings.ACCOUNT_LOGIN_METHODS = {'username', 'email'} ?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use: settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*', 'password2*']
This is https://gitlab.com/mailman/mailman-web/-/issues/37, fixed for the next release by https://gitlab.com/mailman/mailman-web/-/merge_requests/58. See the changelog at https://gitlab.com/mailman/mailman-web
In the mean time, these aren't fatal.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
- 
                
dap1@bellsouth.net - 
                
Mark Sapiro