🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90295

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

#90295
From: Julien ÉLIE
Date: Fri, 14 Apr 2023 17:07
40 lines
2949 bytes
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)
Technical Details
Message-ID: <u1c18q$1ffka$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>

Show Full Headers
Complete Article Headers
Message-ID: <u1c18q$1ffka$1@news.trigofacile.com>
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
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <vcsg3ihmk85s6nk1icrmgrbn89uaj843tt@consensus-omnium>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
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>