On Wed, 2009-05-27 at 00:21 +0200, Frank Lin PIAT wrote:
> Hello,
> 
> On Tue, 2009-05-26 at 10:25 -0400, Brent S. Elmer Ph.D. wrote:
> > 
> > When I try to upgrade from 1.8.2 to 1.8.3 I get the following error:
> > 
> > # moin-mass-migrate
> > Processing moin wiki at localhost/profitwiki as user www-data ...
> > failed to set egid 33 33: Bad file descriptor at 
> > /usr/sbin/moin-mass-migrate line 38, <$list> line 13.
> > Processing moin wiki at localhost/profitwiki as user www-data failed with 
> > code 2304
> 
> The problem seems to occur if the user account specified
> in /etc/moin/wikilist is member of some other groups that www-data.
> 
> Could you confirm this by sending the output of the command:
> 
> perl -e 'while (@f = getgrent()) { 
>   if (grep { $_ eq "www-data" } split(" ", $f[3]) ) {print "@f\n"}
> }'
> 
> Which is probably looking like:
> 
> wikistuffs * 1007 jdoe www-data
> 
> 
> WORKAROUND: run the "moin migration data" manually for each wiki you
> have. typically with a command like:
> 
> su www-data -c 'moin --config-dir=/etc/moin
> --wiki-url=www.example.org/wiki migration data'
> 
> (refer to upstream documentation)
> 
> 
> Thank you for reporting the bug,
> 
> Franklin
> 
The command doesn't give me any output:

bre...@belmer:~$ perl -e 'while (@f = getgrent()) { 
>   if (grep { $_ eq "www-data" } split(" ", $f[3]) ) {print "@f\n"}
> }'
bre...@belmer:~$

Here is what is in my /etc/moin/wikilist:

www-data localhost/profitwiki






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to