Migrating from debian package to Virtualenv
We currently have our Mailman3 instance installed using the packages in Debian's repository. We want to migrate over to a virtualenv setup as described here: https://docs.mailman3.org/en/latest/install/virtualenv.html. Is there any thing we should be aware of for migrating data?
On 6/8/20 12:45 PM, Ryan Morash wrote:
We currently have our Mailman3 instance installed using the packages in Debian's repository. We want to migrate over to a virtualenv setup as described here: https://docs.mailman3.org/en/latest/install/virtualenv.html. Is there any thing we should be aware of for migrating data?
Assuming you will be using the same DBM, I think you could just ensure that your mailman.cfg settings for
[mailman]
layout:
and
[paths.<layout_value>]
var_dir:
end up pointing var_dir at your existing Mailman var/ directory and the [database] section in mailman.cfg and the DATABASES definition in your Django settings reference your existing database(s).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi,
I have done this now from a Docker install and a Debian package install and its gone well in both instances. I recommend following this:
https://wiki.list.org/DOC/Mailman%203%20installation%20experience
My own changes is that because I use Pip to get the packages I put the venv in /opt/mailman/venv so have to change the relevant scripts on this page accordingly.
I recommend using the Mailman Suite Git repo to configure your Django instance from scratch, don't be tempted to try and port the Settings.py from the Debian package.
My migration in both instances was on different machines so I didn't have anything left over from the prior install on the old machines.
In both instances I migrated search from Woosh to Xapion so didn't copy the indexes over but just regenerated them. I use Postgres, Exim, Python3, Sassc and Xapion packages from Debian.
Andrew.
-----Original Message----- From: Ryan Morash <ryan.morash@questar.org> Sent: 08 June 2020 20:46 To: mailman-users@mailman3.org Subject: [MM3-users] Migrating from debian package to Virtualenv
We currently have our Mailman3 instance installed using the packages in Debian's repository. We want to migrate over to a virtualenv setup as described here: https://docs.mailman3.org/en/latest/install/virtualenv.html. Is there any thing we should be aware of for migrating data?
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/
participants (3)
-
Andrew Hodgson
-
Mark Sapiro
-
Ryan Morash