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.