On 6/9/20 12:16 PM, Jacob Bargery wrote:
Pre-cursor, I am in a new position to learn on the go and new to Linux but have been tasked with setting up a List Serv and they wanted Mailman 3 with Postorius and HyperKitty. Running on Ubuntu 20.04 LTS using Postfix and MySQL. I can open up the initial pages. With no Lists created yet. I can open up Register, Login, and Forgot Password but when I submit anything it spins the loading icon for a long time then reads"
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Apache/2.4.41 (Ubuntu) Server at groups.smccme.edu Port 80" ... This is a traceback I could find from another attempt:Traceback (most recent call last): ... File "/usr/lib/python3/dist-packages/mailmanclient/restbase/connection.py", line 109, in call raise MailmanConnectionError('Could not connect to Mailman API') mailmanclient.restbase.connection.MailmanConnectionError: Could not connect to Mailman API
What are your Django settings for
MAILMAN_REST_API_URL = 'http://localhost:8001' MAILMAN_REST_API_USER = 'restadmin' MAILMAN_REST_API_PASS = 'restpass'
Those match the defaults defined in mailman/config/schema.cfg
[webservice] # The hostname at which admin web service resources are exposed. hostname: localhost
# The port at which the admin web service resources are exposed. port: 8001
# Whether or not requests to the web service are secured through SSL. use_https: no
# The administrative username. admin_user: restadmin
# The administrative password. admin_pass: restpass
If all that seems to match, what happens if you try
telnet localhost 8001
If that doesn't work, but
telnet 127.0.0.1 8001
works, there is some issue with localhost
involving /etc/resolv.conf
or /etc/hosts, most likely an ipv6 definition like
::1 localhost
in the latter.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan