OS update 18.04 -> 20.04 with Python 3.6 -> 3.8
Hi,
just want to report that updating my server's OS from Ubuntu 18.04 to 20.04 including an upgrade from Python 3.6 to 3.8 worked 75% on the mailman3 installation.
Stopping and disabling the service before prevented most of the problems, but I forget to disable the cron jobs. **sigh** So whenever you have to upgrade your OS including python, don't forget the cron jobs.
After OS upgrade I renamed both "venv" directories and rebuild them from my notes. Worked. Starting up mailman-core was easy.
Getting mailman-web back to work was a little tricky:
- After rebuild I forgot to run the post-update script, overseen that in my notes. **sigh #2**
- My uwsgi-emperor was totally confused and needed some guidance and manual remove of .sock file
- Finally I got this in the logs:
/opt/mailman/web/venv/lib/python3.8/site-packages/django_q/conf.py:139: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout, failure to do so will cause the tasks to be retriggered before completion. Seehttps://django-q.readthedocs.io/en/latest/configure.html#retry for details. warn(
I checked the reference file from here: |https://gitlab.com/mailman/mailman-suite/raw/master/mailman-suite_project/settings.py?inline=false| and it misses the "retry" value. After adding it to Q_CLUSTER everything works fine.
Kind regards Torge
participants (1)
-
Torge Riedel