[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vps-mail] Mailman vinstall does not upgrade



Just an FYI to those of you who use mailman and were thinking of using the new VPS2 mailman vinstall to 2.1.8

I just tried it on a server and it doesn't do an upgrade - it just attempts to install right over the top and while it says it was successful, it doesn't do anything.

Here's the steps I did to upgrade my mailman install (starting from /usr/local/mailman/bin). I didn't want to just copy the /lists/listname/config.pck files since there might have been changes that I wouldn't take advantage of in this way.

How to upgrade Mailman using vinstall:

1)export list of names

% ./list_members -f -o listname.txt listname

2)export configuration

% ./config_list -o listname.config listname

3)move above files to some other directory for safekeeping OUTSIDE of the mailman directory

% mv listname* ../../some/other/directory

4)Rename mailman directory

% cd / ; mv /usr/local/mailman /usr/local/mailman.old

5)Perform vinstall

% vinstall mailman

6)Optional - if vinstall fails, you may need to delete the package receipt for the old install from /var/db/pkg and repeat step 5

7)create new lists, re-do configuration and import user list

% ./newlist listname@xxxxxxxxxx

% ./config_list -i /path/to/listname.config listname

% ./add_members --welcome-msg=n -r /path/to/listname.txt listname

8)If you have archvies, move them over from the mailman.old directory to their path in the new mailman directory

[My lists are all non-archived, so I don't have any explicit directions here, but it should be just as stated above]

That should be it - if i've missed something, let me know. Hope this helps someone.

Matt
--
:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+
Matthew I. Cohen                                   http://www.iwbyte.com/
It Won't Byte Web Design & Hosting.     Ob. Quote: "Reality is for those
email: lists@xxxxxxxxxx                  people who can't handle Fantasy"
========================================================================
This is <vps-mail@xxxxxxxxxxxxx>  <http://groupmail.org/lists/vps-mail/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: