On Fri, Dec 2, 2022 at 8:58 PM Mark Sapiro <mark@msapiro.net> wrote:
On 12/2/22 08:21, Odhiambo Washington wrote:
I am facing an odd situation in which MM3 doesn't start successfully on reboot, but I can start it manually. This is a venv install. This started after I did an upgrade (pip install --upgrade mailman postorius hyperkitty mailman-hyperkitty) followed by the requisite collectstatic|compress|compilemessages|migrate post-update commands.
Was the venv activated when you ran pip?
Yes.
You should also include django-mailman3 and mailmanclient in the packages to be upgraded although they are dependencies and "should" upgrade anyway.
I did not include them in the list of packages to be upgraded because I did not explicitly install them when I installed my server. In BC's HOWTO <https://wiki.list.org/DOC/Howto_Install_Mailman3_On_Debian10> which is what my MM3 server is based, they were never part of the modules (app?) installed explicitly.
Also, at least one person has noted that --force-reinstall was required to get all dependencies upgraded < https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
I can try this as well and report back.
Secondly, it appears that the upgrade did NOT change the versions for the upgraded components - postorius=1.3.6, hyperkitty=1.3.5, Mailman Core Version=3.3.5. I was expecting the version to all bump up to the latest.
What does
pip freeze
in the venv show for versions?
Here is the listing: https://pastebin.ubuntu.com/p/tMGDxjKwJ8/
Thanks in advance for any insights into what could be causing this.
How do you start it manually?
mailman start
orsystemctl start mailman3
?
systemctl start mailman3
What's the content of /etc/systemd/system/mailman3.service?
root@lists:/home/wash# cat /etc/systemd/system/mailman3.service [Unit] Description=GNU Mailing List Manager After=syslog.target network.target mysql.service postgresql.service
[Service] Type=forking PIDFile=/opt/mailman/mm/var/master.pid User=mailman Group=mailman ExecStart=/opt/mailman/mm/bin/mailman start ExecReload=/opt/mailman/mm/bin/mailman restart ExecStop=/opt/mailman/mm/bin/mailman stop
[Install] WantedBy=multi-user.target
A special note that before I did this upgrade, the startup wasn't an issue. I can actually go back to where I was, because I have complete backup of my venv before the update, but it would be great to figure out why things are the way they are now.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)