Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

MS-DOS, you can't live with it, you can live without it. -- from Lars Wirzenius' .sig


computers / Rocksolid Nodes Help / upgrading rslight 0.6.8 to 0.6.9

SubjectAuthor
o upgrading rslight 0.6.8 to 0.6.9Retro Guy

1
upgrading rslight 0.6.8 to 0.6.9

<3c13804dd9f5ec33755102d0df2d5c59$1@news.novabbs.org>

 copy mid

https://news.novabbs.org/computers/article-flat.php?id=150&group=rocksolid.nodes.help#150

 copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: upgrading rslight 0.6.8 to 0.6.9
Date: Sun, 21 Mar 2021 06:52:53 +0000
Organization: Rocksolid Light
Message-ID: <3c13804dd9f5ec33755102d0df2d5c59$1@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="27854"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$WVeW/f64zTiYnkhNVZBZ7uqHa.J3DSpluh5BkgIFHMVeFhAcQyhkK
 by: Retro Guy - Sun, 21 Mar 2021 06:52 UTC

The main difference when upgrading to 0.6.9 is that it includes "body" in searches. To do this, it requires data to be stored in the group databases, so it only works if you are storing articles in a database, which is the default.

1. Download rslight latest from github, fuwafuwa, or rslight-0.6.9.zip (or newer) from rslight (/getrslight)

2. Disable cron for rslight by commenting the line out in crontab.

3. Kill any nntp.php and nntp-ssl.php processes running. ps aux | grep nntp

4. Back up your spool dir if you wish.

5. Run the upgrade script from the rslight zip file you downloaded. Extract the zip somewhere, then run debian-upgrade.sh or freebsd-upgrade.sh as root.

6. Change to the user running rslight (usually www-data on Debian, www on BSD).

7. cd to whereever you put .../html/spoolnews dir

8. From that directory, and as the rslight user, run:
php /etc/rslight/scripts/import-db3.php (or wherever you put this)

This should update all your group databases and display progress as it goes. If you only have rocksolid.* groups, it should be reasonably fast. If you have a lot of large groups, it can take a long time.

9. Once the above is done, re-enable rslight cron job in crontab, then wait for nntp.php to start back up.

That's it. You should now be running 0.6.9 and have body search features.

Retro Guy
--
Posted on Rocksolid Light

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor