[Mailman-Developers] Upgrading from 2.0.10 to 2.1.b2

Barry A. Warsaw barry@zope.com
Tue, 7 May 2002 14:50:36 -0400


>>>>> "BB" == Bill Bradford <mrbill@mrbill.net> writes:

    BB> So far, I've done this numerous times, and it *is* necessary,
    BB> and yes, I moved EVERYTHING (list, archives, aliases).  Its
    BB> like MM doesent realize that the files are *there*, in
    BB> $prefix/lists/

    >> You probably aren't running exim and forgot to move the alias
    >> entries.

    BB> Running Postfix, and yeah, I *did* move aliases..

You can do a very simple test.  Move a list without running
bin/newlist first.  Then cd to $prefix and do:

% PYTHONPATH=pythonlib:. python
Python 2.2.1 (#1, Apr 22 2002, 17:14:12) 
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Mailman import Utils
>>> Utils.list_names()
['list1, 'list2']
>>> Utils.list_exists('list1')
1
>>> from Mailman.MailList import MailList
>>> m = MailList('list1', lock=0)
>>> m.host_name
'wooz.org'
>>> m.advertised
0

Question to ask:

1) Does your list show up in Utils.list_names()?  If so, Mailman can
   find your list.  If not, run check_perms.  Anything funky there?
   No?  Next question...

2) Did list_exists() return 1?  If so, it's something else, if not,
   then for some reason none of lists/list1/config.{pck,pck.last,db,db.last}
   passed the os.path.exists() test.  That doesn't seem like a Mailman
   problem.

3) Does the list's host_name match the url you expect?  Maybe you
   didn't run fix_url?

4) What does the script bin/list_lists return?

5) Is the list in question not advertised?

Answer those and we can go from there.
-Barry