Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Today is the first day of the rest of your lossage.


computers / news.software.nntp / Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0

SubjectAuthor
* [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0llp
+- Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0Julien ÉLIE
`- Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0Adam W.

1
[Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0

<vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1667&group=news.software.nntp#1667

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.usenet.ovh!alfanet!.POSTED!not-for-mail
From: librelaparole@alfanet.usenet.ovh (llp)
Newsgroups: news.software.nntp
Subject: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0
Date: Thu, 13 Apr 2023 23:19:36 +0200
Organization: Alfa Network En Travaux
Message-ID: <vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: alfanet; posting-account="llp";
logging-data="125240"; mail-complaints-to="abuse@usenet.ovh"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha256:CGL/r5hqvoSKrvwT5lxRs0vflYgArY+DkLFpiXDqGBE=
 by: llp - Thu, 13 Apr 2023 21:19 UTC

Hi,

What would be the best solution to move from a 2.6.4 version
on an Ubuntu server deb package to a newer version (2.8 or
2.7.1 at worst) with the least risk for a production server
(and with the least downtime) ?

Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0

<u1c18q$1ffka$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1668&group=news.software.nntp#1668

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0
Date: Fri, 14 Apr 2023 19:07:38 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <u1c18q$1ffka$1@news.trigofacile.com>
References: <vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 14 Apr 2023 17:07:38 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105";
logging-data="1556106"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.10.0
Cancel-Lock: sha1:EqLl+GieDncHNyaQ/xFujFccfzU= sha256:v3Jil6wFlk/3Qx9f22tCvqIpMKtcVuwCzmfCaE3P68c=
sha1:WOE6kPYjbGAnnd2Llkv3kcU6twQ= sha256:sPc/+Tbl9SZDZNrwKEKVBQVrUZsosk3df0bePXAWZEw=
In-Reply-To: <vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>
 by: Julien ÉLIE - Fri, 14 Apr 2023 17:07 UTC

Bonjour LaLibreParole,

> What would be the best solution to move from a 2.6.4 version
> on an Ubuntu server deb package to a newer version (2.8 or
> 2.7.1 at worst) with the least risk for a production server
> (and with the least downtime) ?

There's normally no risk of a "downtime" during the migration from 2.6.4
to 2.7.1 or 2.8.0 (at least in today's version). The news server should
be ready to use again after the installation of the new binaries. It
will just be stopped during the installation.

Have a look at "Upgrading from 2.6 to 2.7" in
<https://www.eyrie.org/~eagle/software/inn/docs/news.html> to see what
you need taking care of. Most of the changes are handled by the script
called during an upgrade (innupgrade).

You will probably want to set up Cancel-Lock in inn-secrets.conf; you
can do this after the upgrade (it is not necessary for the upgrade). A
mere restart of the news server is enough to take into account new
admin/user keys, once configured.

If you want to use the new ovsqlite overview method based on SQLite, a
downtime of a few minutes will be necessary during the overview rebuild.
It can also be done after the upgrade.

I see that Ubuntu currently has 2.7.1~20230131-1build1 packaged, which
is fine to use. You could upgrade to this version.

I am not aware of a ready-to-use package of 2.8.0. If you really want
it, you'll have to build INN from sources. (Using the same configure
flags as the ones of the Ubuntu package will facilitate the migration.)

--
Julien ÉLIE

« – Par Thor !
– Par Odin !
– Par exemple ! » (Astérix)

Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0

<u1cpir$2cd$2$arnold@news.chmurka.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1669&group=news.software.nntp#1669

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.chmurka.net!.POSTED.s.v.chmurka.net!not-for-mail
From: gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.)
Newsgroups: news.software.nntp
Subject: Re: [Ubuntu server] From 2.6.4 to 2.7.1 or 2.8.0
Date: Sat, 15 Apr 2023 00:02:35 -0000 (UTC)
Organization: news.chmurka.net
Message-ID: <u1cpir$2cd$2$arnold@news.chmurka.net>
References: <vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>
NNTP-Posting-Host: s.v.chmurka.net
Injection-Date: Sat, 15 Apr 2023 00:02:35 -0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="arnold"; posting-host="s.v.chmurka.net:172.24.44.20";
logging-data="2445"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.32-v7+ (armv7l))
Cancel-Lock: sha1:ljZR5LxKrIts2dmenZClhbcUagk=
 by: Adam W. - Sat, 15 Apr 2023 00:02 UTC

llp <librelaparole@alfanet.usenet.ovh> wrote:

> What would be the best solution to move from a 2.6.4 version
> on an Ubuntu server deb package to a newer version (2.8 or
> 2.7.1 at worst) with the least risk for a production server
> (and with the least downtime) ?

My advice (apart from what Julien already said) would be first to copy the
server somewhere (even to a virtual machine), and then make an exercise of
upgrading it. This way, if anything should go wrong, you will be aware of
it beforehand. Also, make a backup of everything (maybe excluding spools,
if they're large), just in case.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor