Mailman3 on Ubuntu 20.04 LTS - Best Installation Method?
Hi Everyone, I have been trying unsuccessfully for several weeks to install Mailman3 on a new Ubuntu 20.04 LTS server. First I tried to just use the Ubuntu packages, which is MM3 version 3.2.2. Unfortunately Ubuntu 20.04 also uses Python 3.8 which has a compatibility issue with MM 3.2.2. There is a bug submission submitted to the Ubuntu team.
Next I tried to use the virtualenv method, as that was recommended for production anyway by Mailman installation documentation. I couldn't get that to work either, as there is again some known issue between one of the django packages and another python package called 'six'.
Has anyone been able to get Mailman3 running stable on Ubuntu 20.04? What installation method did you use? At this point, I'm really tempted to just stay at MM2 until the Ubuntu packages get sorted out. I've also considered just closing the Gitlab repo and trying to set it up manually. But I feel like it isn't worth all the trouble.
Thanks in advance for your thoughts.
- Matt
On 6/9/20 10:26 AM, matthew@alberti.us wrote:
Next I tried to use the virtualenv method, as that was recommended for production anyway by Mailman installation documentation. I couldn't get that to work either, as there is again some known issue between one of the django packages and another python package called 'six'.
Actually this just came up (again) in another thread. See <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/VHCIBUTFENEB4VROSGJV4FZ3CNBAFDH2/>
The current stable release of Haystack is not compatible with Django >= 3.0. See the post above for work-arounds.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 6/9/20 7:26 PM, matthew@alberti.us wrote:
Has anyone been able to get Mailman3 running stable on Ubuntu 20.04?
Hi *,
yes indeed. Running nicely for a couple of lists here, largest one has a few thousand users.
created mariadb, ran apt-get install mariadb-client, dbconfig-mysql, python3-pymysql.
did not run apt-get install mailman3-full, but one by one mailman3, mailman3-web- python-mailman-hyperkitty.
install did not run cleanly, some hand editing of /etc/dbconfig-common and dpkg-reconfigure was neccessary.
As incoming posts from non-subscribers vanished somehow, we had to edit /usr/lib/python3/dist-packages/mailman/utilities/uid.py
near the end:
x = random.random() + right_now % 1.0 + time.clock() % 1.0
changed to
x = random.random() + right_now % 1.0 + time.process_time() % 1.0
Webserver is nginx.
Running nicely, yes, however, an upgrade to the current version outside the reach of Ubuntu's update tools is planned soon. The Ubuntu install is a good start, though - never having encountered django, uwsgi and python venv environments seemed a bit heavy at first.
Best regards Peter
Hi Peter,
Thanks for the tips. Can you elaborate on your comment below:
"Running nicely, yes, however, an upgrade to the current version outside the reach of Ubuntu's update tools is planned soon."
- Matt Alberti
June 10, 2020 4:40 AM, "Peter Adebahr via Mailman-users" <mailman-users@mailman3.org> wrote:
On 6/9/20 7:26 PM, matthew@alberti.us wrote:
Has anyone been able to get Mailman3 running stable on Ubuntu 20.04?
Hi *,
yes indeed. Running nicely for a couple of lists here, largest one has a few thousand users.
created mariadb, ran apt-get install mariadb-client, dbconfig-mysql, python3-pymysql.
did not run apt-get install mailman3-full, but one by one mailman3, mailman3-web- python-mailman-hyperkitty.
install did not run cleanly, some hand editing of /etc/dbconfig-common and dpkg-reconfigure was neccessary.
As incoming posts from non-subscribers vanished somehow, we had to edit /usr/lib/python3/dist-packages/mailman/utilities/uid.py
near the end:
x = random.random() + right_now % 1.0 + time.clock() % 1.0
changed to
x = random.random() + right_now % 1.0 + time.process_time() % 1.0
Webserver is nginx.
Running nicely, yes, however, an upgrade to the current version outside the reach of Ubuntu's update tools is planned soon. The Ubuntu install is a good start, though - never having encountered django, uwsgi and python venv environments seemed a bit heavy at first.
Best regards Peter
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org
On 6/10/20 5:50 AM, matthew@alberti.us wrote:
Thanks for the tips. Can you elaborate on your comment below:
"Running nicely, yes, however, an upgrade to the current version outside the reach of Ubuntu's update tools is planned soon."
Hi Matt,
sorry for a late reply:
It is running as a production system with a few lists, largest of which is 2.000+ members.
We really miss automatic handling of bounces, which is not in the Ubuntu version and done manually now, plus a fix to the subscription procedure to get it like it used to be in MM2.
That's why, nonetheless the developement version is quite a bit advanced compared to Ubuntu's.
Best regards, Peter
participants (3)
-
Mark Sapiro
-
matthew@alberti.us
-
Peter Adebahr