I've got a netbsd server which has a working 2.0.8 installation in /home/mailman. Python is 2.3. MTA is postfix. I've installed mailman 2.1.3 in /usr/local/mailman. The /usr/local/mailman is basically owned by root.mailman. I've copied the lists and archives files over to the new tree, but I've hit a problem. Can you help me? Here's what I've done, as root:
ps auxw | grep postfix /etc/rc.d/postfix stop ps auxw | grep postfix
cd /usr/local/tmp wget http://ftp.gnu.org/gnu/mailman/mailman-2.1.3.tgz tar -zxvf mailman-2.1.3.tgz cd mailman-2.1.3 # Read INSTALL, README.POSTFIX, README.BSD ./configure --with-cgi-gid=39 # didn't do 'make DIRSETGID=: install', because check_perms will complain make install cd /usr/local/mailman/ bin/check_perms bin/check_perms -f bin/check_perms # SNIP apache configuration... cp -Rp /home/mailman/archives/* /usr/local/mailman/archives/ # SNIP more apache stuff cp /home/mailman/aliases /usr/local/mailman/ cp -Rp /home/mailman/lists/* /usr/local/mailman/lists/ bin/check_perms -f bin/check_perms cd /usr/local/mailman bin/withlist -l -r fix_url admins
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bin/withlist -l -r fix_url admins Importing fix_url... Running fix_url.fix_url()... Loading list admins (locked) Traceback (most recent call last): File "bin/withlist", line 275, in ? main() File "bin/withlist", line 256, in main r = do_list(listname, args, func) File "bin/withlist", line 182, in do_list m = MailList.MailList(listname, lock=LOCK) File "/usr/local/mailman/Mailman/MailList.py", line 126, in __init__ self.Lock() File "/usr/local/mailman/Mailman/MailList.py", line 163, in Lock self.Load() File "/usr/local/mailman/Mailman/MailList.py", line 617, in Load self.CheckValues() File "/usr/local/mailman/Mailman/MailList.py", line 669, in CheckValues for name, pattern, desc, emptyflag in self.topics: File "/usr/local/mailman/Mailman/MailList.py", line 144, in __getattr__ raise AttributeError, name AttributeError: topics <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Thanks,
Morgan
Morgan Fletcher <morgan@hahaha.org> writes:
I've got a netbsd server which has a working 2.0.8 installation in /home/mailman. Python is 2.3. MTA is postfix. I've installed mailman 2.1.3 in /usr/local/mailman. The /usr/local/mailman is basically owned by root.mailman. I've copied the lists and archives files over to the new tree, but I've hit a problem. Can you help me? Here's what I've done, as root:
Another example of the same problem: Trying to visit the mailman/listinfo page after the upgrade:
Bug in Mailman version 2.1.3
We're sorry, we hit a bug!
If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback:
Traceback (most recent call last): File "/usr/local/mailman/scripts/driver", line 87, in run_main main() File "/usr/local/mailman/Mailman/Cgi/listinfo.py", line 42, in main listinfo_overview() File "/usr/local/mailman/Mailman/Cgi/listinfo.py", line 87, in listinfo_overview mlist = MailList.MailList(name, lock=0) File "/usr/local/mailman/Mailman/MailList.py", line 128, in __init__ self.Load() File "/usr/local/mailman/Mailman/MailList.py", line 617, in Load self.CheckValues() File "/usr/local/mailman/Mailman/MailList.py", line 669, in CheckValues for name, pattern, desc, emptyflag in self.topics: File "/usr/local/mailman/Mailman/MailList.py", line 144, in __getattr__ raise AttributeError, name AttributeError: topics
Python information:
Variable Value sys.version 2.3 (#1, Nov 22 2003, 02:13:52) [GCC 3.3.2 (NetBSD nb1 20031026)] sys.executable /usr/pkg/bin/python sys.prefix /usr/pkg sys.exec_prefix /usr/pkg sys.path /usr/pkg sys.platform netbsd1
Is 'bin/update -f' required, for an upgrade from 2.0.8 -> 2.1.3? It's not mentioned as needed in the INSTALL or UPGRADING docs, except for 1.0 or 1.1 -> 2.0.
Morgan
participants (1)
-
Morgan Fletcher