On Mon, Nov 6, 2023 at 10:12 PM <gordon@dickens.com> wrote:
Hi Stephen and Odhiambo,
My venv is located at /opt/mailman3/venv and so I used the command, "python3 -m venv --upgrade /opt/mailman/venv" to upgrade the venv which appeared to run successfully, however, afterwards the mailman3 service always exits immediately after the command "systemctl start mailman3". The mailman3-web service appears to run correctly, however, when I browse to the mailman3 web interface then I get the following error:
Something went wrong Mailman REST API not available. Please start Mailman core.
I will note that the Django Administration web interface was not working until I executed "python3 -m venv --upgrade /opt/mailman/venv" after which the Django web interface started working properly. However, as I noted, the mailman3 service is still not working since it always exits immediately after being started.
I have run out of ideas. Does anyone have any suggestions?
No, you haven't. There is a clue in the logfile - /opt/mailman/var/logs/mailman.log ( I believe that's the correct path). Just find /opt -type f -name mailman.log It contains the clue as to why mailman3.service isn't running. Probably easy to fix, but then again, you can just create a new venv and move the "var" directory from the old (backed up /opt/mailman) to the new /opt/mailman. I don't recall if there is another directory to move over.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]