We've set up several Mailman 3 servers on Ubuntu 20.04 successfully. We've always followed the virtualenv instructions: https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...
I realise those aren't the instructions you've been going through but I hope that at least confirmation that the virtualenv docs work is of some use to you.
Philip
On Sun, 2 Jan 2022 at 10:07, Michael Heseltine <heseltine.michael@gmail.com> wrote:
Hi all, after many more attempts, I've still failed to find any set of instructions that can install mailman3 on an Ubuntu 20.04 LTS server of mine. I've recently switched to a new server without any previous installation (apart from an apache web server) so that I can follow the instructions provided in
https://wiki.list.org/DOC/Howto_Install_Mailman3_On_Debian10
to the letter, if possible. But still, I run into an error I do not understand.
I have followed the instructions until this point:
# pip install importlib_resources==1.1.0 Once the above packages are installed run “mailman info” in your virtual environment. That will install Mailman core into your /opt/mailman/mm/var directory.
(I had to add "apt install libmemcached-dev" to the instruction for "pip install psycopg2-binary" to succeed.)
Then, I run "mailman info", but get an error message:
File "/opt/mailman/mm/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 508, in connect return self.dbapi.connect(*cargs, **cparams) File "/opt/mailman/mm/venv/lib/python3.8/site-packages/psycopg2/__init__.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed > for user "mailman" connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "mailman"
This suggests that the connection to postgresql fails, but if I test this using
# psql --user mailman
and type in the password listed in settings_local.py, I can login fine. I've also changed the port number in that configuration from '' to '2222', but the connection is still made to port 5432, which suggests to me that my call to
mailman info
uses another set of connection parameters provided elsewhere.
Where can this be found? How will I be able to run "mailman info" w/o error and continue the installation as detailed in https://wiki.list.org/DOC/Howto_Install_Mailman3_On_Debian10 ?
Any help is appreciated.
Happy new year, Michael.
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/