Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
At 12:36 AM 5/7/2002, Barry A. Warsaw wrote: What happens when you do % bin/withlist list-owners m.topics /usr/local/mailman $bin/withlist list-owners Loading list list-owners (unlocked) Traceback (most recent call last): File bin/withlist, line 271, in ? main() File bin/withlist, line 252, in main r = do_list(listname, args, func) File bin/withlist, line 178, in do_list m = MailList.MailList(listname, lock=LOCK) File /usr/local/mailman/Mailman/MailList.py, line 101, in __init__ self.Load() File /usr/local/mailman/Mailman/MailList.py, line 575, in Load self.CheckValues() File /usr/local/mailman/Mailman/MailList.py, line 625, in CheckValues for name, pattern, desc, emptyflag in self.topics: File /usr/local/mailman/Mailman/MailList.py, line 128, in __getattr__ raise AttributeError, name AttributeError: topics Just to clarify what I did ... I did a virgin install of 2.1b2, copied over the entire lists/list-owners directory from my 2.0.10 install directory to 2.1b2 directory, then ran bin/update -f. Would it be useful to have the a copy of the list data? It's a very small list. david -- | Internet: [EMAIL PROTECTED] | WWW: http://david.fallingrock.net | AIM: MidrangeMan | | If you can't fly, run; if you can't run, walk; |if you can't walk, crawl. | -mlk ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers
Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
DG == David Gibbs [EMAIL PROTECTED] writes: DG Just to clarify what I did ... I did a virgin install of DG 2.1b2, copied over the entire lists/list-owners directory DG from my 2.0.10 install directory to 2.1b2 directory, then ran DG bin/update -f. And you're positive you did this /after/ you applied the patch and did a make install, right? DG Would it be useful to have the a copy of the list data? It's DG a very small list. If you can send me the MM2.0 version of the list, tar up the whole $prefix/lists/list-owners directory, and send that to me directly. -Barry ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers
Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
DG == David Gibbs [EMAIL PROTECTED] writes: DG I'm trying to give MM 2.1b2 a few tests, but cannot get any of DG my existing mailing lists converted (I'm just trying to DG convert some test and internal lists). I just migrated mailman-developers to MM2.1b2 and hit the same problem. Attached is a fix, which will require a quick b3 release. If this message goes through, it's a good sign the upgrade went well. :) If so, I'll post instructions momentarily. -Barry snip snip Index: MailList.py === RCS file: /cvsroot/mailman/mailman/Mailman/MailList.py,v retrieving revision 2.76 diff -u -r2.76 MailList.py --- MailList.py 2 May 2002 03:07:48 - 2.76 +++ MailList.py 7 May 2002 01:07:49 - @@ -571,8 +571,8 @@ # mailing list object, then run sanity check on the data. self.__dict__.update(dict) if check_version: -self.CheckValues() self.CheckVersion(dict) +self.CheckValues() # ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers
Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
At 08:09 PM 5/6/2002, Barry A. Warsaw wrote: DG I'm trying to give MM 2.1b2 a few tests, but cannot get any of DG my existing mailing lists converted (I'm just trying to DG convert some test and internal lists). I just migrated mailman-developers to MM2.1b2 and hit the same problem. Attached is a fix, which will require a quick b3 release. If this message goes through, it's a good sign the upgrade went well. :) If so, I'll post instructions momentarily. Applied the fix and tried to force an upgrade again ... got this ... [root@linux mailman]# bin/update -f Upgrading from version 0x20100b2 to 0x20100b2 getting rid of old source files Updating mailing list: list-owners Traceback (most recent call last): File bin/update, line 542, in ? errors = main() File bin/update, line 424, in main errors = errors + dolist(listname) File bin/update, line 184, in dolist mlist = MailList.MailList(listname, lock=0) File /usr/local/mailman/Mailman/MailList.py, line 101, in __init__ self.Load() File /usr/local/mailman/Mailman/MailList.py, line 575, in Load self.CheckValues() File /usr/local/mailman/Mailman/MailList.py, line 625, in CheckValues for name, pattern, desc, emptyflag in self.topics: File /usr/local/mailman/Mailman/MailList.py, line 128, in __getattr__ raise AttributeError, name AttributeError: topics david -- | Internet: [EMAIL PROTECTED] | WWW: http://david.fallingrock.net | AIM: MidrangeMan | | If you can't fly, run; if you can't run, walk; |if you can't walk, crawl. | -mlk ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers
Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
BAW == Barry A Warsaw [EMAIL PROTECTED] writes: BAW If this message goes through, it's a good sign the upgrade BAW went well. :) If so, I'll post instructions momentarily. Yay! Okay, migration when pretty smoothly. Here's what I did. Note that we're using Exim 4.something and Apache 1.3.something on python.org. I'm assuming you've got some list under MM2.0.x and you want to migrate it to MM2.1. Let's assume further that you have both versions installed on the same machine, in different locations. - First set your MTA to only accept incoming mail from localhost. You do this because you don't want messages coming in for your list while you're moving it. In Exim4 (and I believe Exim3), the magic is: local_interfaces = 127.0.0.1 and restart. - Turn off your web server, for the same reason. You want your databases to remain quiescent during the move. - Now let MM2.0.x's qrunner clear its qfiles directory. - Do the following: % mv $prefix20/lists/mylist $prefix21/lists % mv $prefix20/archives/private/mylist $prefix21/archives/private % mv $prefix20/archives/private/mylist.mbox $prefix21/archives/private % rm $prefix20/archives/public/mylist % rm $prefix20/archives/public/mylist.mbox % cd $prefix21 % bin/withlist -l -r fix_url mylist - Edit your web server to redirect the old url to the new url. For Apache, I used RedirectMatch /mailman/(.*)/mylist(.*) http://dom.ain/mailman-21/$1/mylist$2 RedirectMatch /pipermail/mylist(.*)http://dom.ain/pipermail-21/mylist$1 - Restart your web server - Do any changes to your MTA to make sure mylist aliases point to the MM2.1 wrapper (this is automatic with the nice Exim config hacks). - Turn on the public interface for your MTA and restart. That's it. -Barry ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers
Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
On Mon, May 06, 2002 at 09:40:42PM -0500, Bill Bradford wrote: One thing Ive had to do when moving lists between machines (both running 2.0.9/10), is newlist the lists on the destination machine, then overwrite the $prefix/lists/$listname directories/files and $prefix/archives/private/ $listname files with the tarballs I made from the machine currently hosting the list. You don't need to do that. I've moved lists before and that step is not necessary if you move everything you need (list, archives, and alias entries if you're not running exim) If I *dont* do this (newlist, then overwrite the empty list info files with the real stuff), I get errors about the lists not existing. You probably aren't running exim and forgot to move the alias entries. Marc -- Microsoft is to operating systems security what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger [EMAIL PROTECTED] for PGP key ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers
Re: [Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2
DG == David Gibbs [EMAIL PROTECTED] writes: DG Applied the fix and tried to force an upgrade again ... got DG this ... Hmm, I can't reproduce this. I just tried creating a list under 2.0.10, then migrated it to 2.1, ran bin/update and it works just fine. bin/withlist showed me that the list had the topics attribute. What happens when you do % bin/withlist list-owners m.topics ? -Barry ___ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman-21/listinfo/mailman-developers