🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by figmentality Mon, 18 Mar 2002 02:06
INN 2.x: regenerate overview?
#57312
Author: figmentality
Date: Mon, 18 Mar 2002 02:06
14 lines
1402 bytes
I'm using tradindexed overview; due to a messy INN upgrade, my
overview information seems to be a bit deranged.  How can i regenerate
my overview information for the articles currently on my spool?
expireover -a doesn't seem to work anymore...

thanks
rone
-- 
Constancy of the speed of light is a conclusion, yes it is a conclusion based
on nonconvincing, irrational assumptions. WHAT IS LIGHT?! Whose light? From
what sourse? Please do not mention electronagnetics - the same applies to them.
					- Alexander Abian <abian@iastate.edu>
Re: INN 2.x: regenerate overview?
#57316
Author: Jeffrey M. Vinocur
Date: Mon, 18 Mar 2002 04:10
20 lines
1684 bytes
In article <rone.a73i2s$s4s$1@ennui.org>, figmentality <^#*&$@ennui.org> wrote:
>
>I'm using tradindexed overview; due to a messy INN upgrade, my
>overview information seems to be a bit deranged.  How can i regenerate
>my overview information for the articles currently on my spool?
>expireover -a doesn't seem to work anymore...

You want makehistory -O.  (However, there is some weirdness with
makehistory in 2.3.x, not that you have much choice.[1])


[1] I know, you can't run CURRENT on a production server.  But
    can you use it briefly to rebuild the overview databases?
    Russ has fixed a bunch of stuff which we think clears up the
    problem.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN 2.x: regenerate overview?
#57317
Author: figmentality
Date: Mon, 18 Mar 2002 04:48
27 lines
2130 bytes
In article <a73pca$lai$3@marduk.litech.org>,
Jeffrey M. Vinocur <jeff@litech.org> wrote:
>In article <rone.a73i2s$s4s$1@ennui.org>, figmentality <^#*&$@ennui.org> wrote:
>>I'm using tradindexed overview; due to a messy INN upgrade, my
>>overview information seems to be a bit deranged.  How can i regenerate
>>my overview information for the articles currently on my spool?
>>expireover -a doesn't seem to work anymore...
>You want makehistory -O.  (However, there is some weirdness with
>makehistory in 2.3.x, not that you have much choice.[1])
>[1] I know, you can't run CURRENT on a production server.

Actually, this is my home box.  I wouldn't have upgraded INN on the
production server at work. :)
  
>    But can you use it briefly to rebuild the overview databases?
>    Russ has fixed a bunch of stuff which we think clears up the
>    problem.

I will give it a shot.  Thanks.

rone
-- 
Constancy of the speed of light is a conclusion, yes it is a conclusion based
on nonconvincing, irrational assumptions. WHAT IS LIGHT?! Whose light? From
what sourse? Please do not mention electronagnetics - the same applies to them.
					- Alexander Abian <abian@iastate.edu>
Re: INN 2.x: regenerate overview?
#57318
Author: Russ Allbery
Date: Mon, 18 Mar 2002 06:10
16 lines
1619 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> [1] I know, you can't run CURRENT on a production server.  But
>     can you use it briefly to rebuild the overview databases?
>     Russ has fixed a bunch of stuff which we think clears up the
>     problem.

I backported the one thing that actually fixed something to STABLE; the
new implementation unfortunately isn't quite ready yet.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN 2.x: regenerate overview?
#57319
Author: figmentality
Date: Mon, 18 Mar 2002 07:03
19 lines
1815 bytes
In article <yln0x6h0ed.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>> [1] I know, you can't run CURRENT on a production server.  But
>>     can you use it briefly to rebuild the overview databases?
>>     Russ has fixed a bunch of stuff which we think clears up the
>>     problem.
>I backported the one thing that actually fixed something to STABLE; the
>new implementation unfortunately isn't quite ready yet.

I'm currently running INN 2.3.3-20020311; is it in there?

rone
-- 
Constancy of the speed of light is a conclusion, yes it is a conclusion based
on nonconvincing, irrational assumptions. WHAT IS LIGHT?! Whose light? From
what sourse? Please do not mention electronagnetics - the same applies to them.
					- Alexander Abian <abian@iastate.edu>
Re: INN 2.x: regenerate overview?
#57337
Author: Russ Allbery
Date: Mon, 18 Mar 2002 19:17
16 lines
1587 bytes
figmentality <^#*&$@ennui.org> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> I backported the one thing that actually fixed something to STABLE; the
>> new implementation unfortunately isn't quite ready yet.

> I'm currently running INN 2.3.3-20020311; is it in there?

Yup.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN 2.x: regenerate overview?
#57388
Author: figmentality
Date: Tue, 19 Mar 2002 04:47
18 lines
1725 bytes
In article <yl7ko9znwd.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>figmentality <^#*&$@ennui.org> writes:
>> Russ Allbery  <rra@stanford.edu> wrote:
>>> I backported the one thing that actually fixed something to STABLE; the
>>> new implementation unfortunately isn't quite ready yet.
>> I'm currently running INN 2.3.3-20020311; is it in there?
>Yup.

Worked like a charm.  Thanks, guys.

rone
-- 
Constancy of the speed of light is a conclusion, yes it is a conclusion based
on nonconvincing, irrational assumptions. WHAT IS LIGHT?! Whose light? From
what sourse? Please do not mention electronagnetics - the same applies to them.
					- Alexander Abian <abian@iastate.edu>
Re: INN 2.x: regenerate overview?
#57458
Author: Yves Martin
Date: Wed, 20 Mar 2002 11:19
27 lines
2134 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:

> In article <rone.a73i2s$s4s$1@ennui.org>, figmentality <^#*&$@ennui.org> wrote:
> >
> >I'm using tradindexed overview; due to a messy INN upgrade, my
> >overview information seems to be a bit deranged.  How can i regenerate
> >my overview information for the articles currently on my spool?
> >expireover -a doesn't seem to work anymore...
> 
> You want makehistory -O.  (However, there is some weirdness with
> makehistory in 2.3.x, not that you have much choice.[1])

  I have exactly the same issue.
  But my tradspool is a really old one (there is few Xref in posts),
  and it seems that makehistory is waiting for Xref to generate
  overview and 'tradspool.map'. Am I wrong ?

  Is there a way to auto-generate Xref in old articles to make
  my upgrade work (from 1.4 to 2.3.2) ?
  What should Xref content be ?

  Or else are my message ids wrong ?
  The server name has changed, is it the clue ?

-- 
Yves Martin
Re: INN 2.x: regenerate overview?
#57459
Author: Yves Martin
Date: Wed, 20 Mar 2002 13:57
60 lines
3107 bytes
Yves Martin <ymartin@nospam.fr> writes:

> jeff@litech.org (Jeffrey M. Vinocur) writes:
> 
> > In article <rone.a73i2s$s4s$1@ennui.org>, figmentality <^#*&$@ennui.org> wrote:
> > >
> > >I'm using tradindexed overview; due to a messy INN upgrade, my
> > >overview information seems to be a bit deranged.  How can i regenerate
> > >my overview information for the articles currently on my spool?
> > >expireover -a doesn't seem to work anymore...
> > 
> > You want makehistory -O.  (However, there is some weirdness with
> > makehistory in 2.3.x, not that you have much choice.[1])
> 
>   I have exactly the same issue.
>   But my tradspool is a really old one (there is few Xref in posts),
>   and it seems that makehistory is waiting for Xref to generate
>   overview and 'tradspool.map'. Am I wrong ?
> 
>   Is there a way to auto-generate Xref in old articles to make
>   my upgrade work (from 1.4 to 2.3.2) ?
>   What should Xref content be ?
> 
>   Or else are my message ids wrong ?
>   The server name has changed, is it the clue ?

  In fact, makehistory -O really need 'Xref' field in news.
  Of course because of overview.fmt. But if I remove it from
  overview.fmt, makehistory failed with error message.
 
  So I had to create a wonderful script to process my news:

#!/bin/bash

#echo "Process $1"
#  To convert INN 1.4 news into 2.x version
#  Add Xref to articles
#  In /var/spool/news/articles
#  process:  find * -type f -exec convert-articles.sh {} \;
#  with /var/spool/news in PATH

if grep "Xref:" $1 > /dev/null;
then
   echo "OK for $1"
else
   INDEX=`basename $1`
   GROUP=`dirname $1 | sed 's#/#.#g'`
   LINE="Xref: newsserver $GROUP:$INDEX"
   echo "$LINE"
   echo "$LINE" > $1.new
   cat $1 >> $1.new
   mv $1.new $1
fi

  Then overview contains all my news and my client is able to
  show them.

-- 
Yves Martin
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads