Re: [Mailman-Users] Mailman Migration to new server

2012-08-28 Thread Peter Merritt
 

Yep, thats what I was afraid you would say. unfortunately I am supposed to 
perform a miracle, there is no back up.

 Peter
 
-Original message-
From:Mark Sapiro 
Sent:Tue 08-28-2012 07:50 pm
Subject:Re: [Mailman-Users] Mailman Migration to new server
To:Peter Merritt ; 
CC:mailman-users@python.org; 
On 8/28/2012 7:19 PM, Peter Merritt wrote:
> Mark thank you for your help, unfortunately as I investigate further
> there is only one config.pck left an its corrupt. all the other lists
> have not config.pck. Is there anyway to recover a list of  members
> email addresses?


Restore from a good backup.

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Mailman Migration to new server

2012-08-28 Thread Peter Merritt
Mark thank you for your help, unfortunately as I investigate further there is 
only one config.pck left an its corrupt. all the other lists have not 
config.pck. Is there anyway to recover a list of  members email addresses? 

  Peter



 
-Original message-
From:Mark Sapiro 
Sent:Tue 08-28-2012 06:51 pm
Subject:Re: [Mailman-Users] Mailman Migration to new server
To:Peter Merritt ; 
CC:mailman-users@python.org; 
On 8/28/2012 6:25 PM, Peter Merritt wrote:
> 
> 
> Ok to add to this a dumpdb show that no config.pck has a
> data_version. In fact some config.pck are missing for some lists.


Mailman 2.1.5's Mailman/MailList.py had code to test and set if
necessary a list's data_version attribute every time the list was
instantiated.

I think you must be looking in the wrong directory. If there is no
lists/LISTNAME/config.pck (ignoring for the moment the possibility of a
Mailman 2.0.x config.db), the list doesn't exist for Mailman 2.1.x

Do you have any mods in your 2.1.5?

If you think your config.pck's are otherwise OK, you could always do

#!/bin/sh
file=`mktemp`
echo mlist.data_version = 0 > $file
for list in `/path/to/mailman/bin/list_lists --bare`; do
  /path/to/mailman/bin/config_list -i $file $list
done
rm $file


It doesn't matter what you set data_version to as long as it's less than 98.

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Mailman Migration to new server

2012-08-28 Thread Peter Merritt
 

Ok to add to this a dumpdb show that no config.pck has a data_version. In fact 
some config.pck are missing for some lists.

    Peter
 
-Original message-

My mailman migration is going ok except its failing at update, version 2.1.5 to 
version 2.1.14 debian woody to Ubuntu precise

 
Output of update command 

 
Updating mailing list: scholars

Traceback (most recent call last):

  File "/usr/lib/mailman/bin/update", line 771, in 

    errors = main()

  File "/usr/lib/mailman/bin/update", line 661, in main

    errors = errors + dolist(listname)

  File "/usr/lib/mailman/bin/update", line 192, in dolist

    mlist = MailList.MailList(listname, lock=0)

  File "/var/lib/mailman/Mailman/MailList.py", line 130, in __init__

    self.Load()

  File "/var/lib/mailman/Mailman/MailList.py", line 676, in Load

    self.CheckVersion(dict)

  File "/var/lib/mailman/Mailman/MailList.py", line 715, in CheckVersion

    if self.data_version >= mm_cfg.DATA_FILE_VERSION:

  File "/var/lib/mailman/Mailman/MailList.py", line 146, in __getattr__

    raise AttributeError, name

AttributeError: data_version

 
Any ideas, while I research,

Thanks in Advance. 

              Peter

 
partsm...@weirdwater.org  <- Do not Use

 
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/pwmerritt%40weirdwater.org
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] Mailman Migration to new server

2012-08-28 Thread Peter Merritt
My mailman migration is going ok except its failing at update, version 2.1.5 to 
version 2.1.14 debian woody to Ubuntu precise

 
Output of update command 

 
Updating mailing list: scholars

Traceback (most recent call last):

  File "/usr/lib/mailman/bin/update", line 771, in 

    errors = main()

  File "/usr/lib/mailman/bin/update", line 661, in main

    errors = errors + dolist(listname)

  File "/usr/lib/mailman/bin/update", line 192, in dolist

    mlist = MailList.MailList(listname, lock=0)

  File "/var/lib/mailman/Mailman/MailList.py", line 130, in __init__

    self.Load()

  File "/var/lib/mailman/Mailman/MailList.py", line 676, in Load

    self.CheckVersion(dict)

  File "/var/lib/mailman/Mailman/MailList.py", line 715, in CheckVersion

    if self.data_version >= mm_cfg.DATA_FILE_VERSION:

  File "/var/lib/mailman/Mailman/MailList.py", line 146, in __getattr__

    raise AttributeError, name

AttributeError: data_version

 
Any ideas, while I research,

Thanks in Advance. 

              Peter

 
partsm...@weirdwater.org  <- Do not Use

 
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] Migration of old debian woody mailman server

2012-08-24 Thread Peter Merritt
I have to migrate a dead mailman server running on debian woody to a new Ubuntu 
server. The drive failed and I was able to image the drive to a new drive but 
mailman will not run, seems that their is significant problems with the current 
mailman installation. All the commands seem die with python tracebacks. The 
data directories for mailman seen to be OK. I did some research on moving a 
list to a new server an it seems reasonably easy. But I am concerned about 
moving from an older version of mailman to a newer version. Additionally, I am 
going to use postfix for the mta, the old server is using exim. I also notice 
postgres running on the old server and wonder if exim/mailman could be using to 
for management. I did not have time to fully research the setup, its been 
running unattended for 8+ years.  I am looking for input about possible 
pitfalls and ideas to make this go easier Any help would be greatly 
appreciated. 

    Peter 

 
partsm...@weirdwater.org  <- Do not Use

 
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org