Mailman Migration to new server
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 <module>
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
partsmaps@weirdwater.org <- Do not Use
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 <module>
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
partsmaps@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....
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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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 <mark@msapiro.net> Sent:Tue 08-28-2012 06:51 pm Subject:Re: [Mailman-Users] Mailman Migration to new server To:Peter Merritt <pwmerritt@weirdwater.org>; 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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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 <mark@msapiro.net> Sent:Tue 08-28-2012 07:50 pm Subject:Re: [Mailman-Users] Mailman Migration to new server To:Peter Merritt <pwmerritt@weirdwater.org>; 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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Peter Merritt