🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: rocksolid.nodes.announce
1 messages
1 total messages Started by Retro Guy Fri, 15 Nov 2024 14:58
Added tasks in maintenance.php for rslight
#538
Author: Retro Guy
Date: Fri, 15 Nov 2024 14:58
48 lines
3315 bytes
Since the recent bug introduced into rslight by some unnamed developer,
I've added some features to mainenance.php to help in repairing and
maintaining a spool.

Here are the main features of the script. NOTE: This script is only
meant to be used on systems NOT using tradspool. Don't use tradspool
anyway, it's not the default and it's not tested very well.

-clear-diskcache: Remove all cache files if using Disk Caching
    If you are using caching, and using the 'diskcache', this will clean
out the files, which can be a good idea if making major repairs to the
spool. If you are using memcacheD, just restart the daemon to clear it's
cache.

-import: Import articles from a .db3 file (-import alt.test-articles)
    This will clear the overview for a group, then rebuild it for that
group including ONLY the articles that actually exist in your articles
database. This repairs any overview articles (removes) that don't
actually exist on your server.

-newsection: Create a new section for groups (-newsection mynewsection)
    This will create a new section for your site. You then only need to
edit the groups.txt file in your config dir/section name/ directory.

-refill: Go back x articles and retrieve missing from remote server
    (-refill alt.test 200)
    This will go back x articles from the remote server's newest article
number, and pull articles that you do not already have. It will skip
duplicates.

-remove: Remove all data for a group (-remove alt.test)
    This will remove all articles and overview data for a group. You
must still manually remove the group name from your config dir/section
name/groups.txt file.

-reset: Reset a group to restart from zero messages (-reset alt.test)
    This will reset the remote server pointer to '1' for a group, and
will also remove all the articles from overview and articles databases.

-reset-section: Reset ALL GROUPS in a Section to restart from zero
messages.
    (-reset-section rocksolid)
    This does the same as '-reset', but for an entire section.

These changes should be in 'devel' later today (15 Nov, 2024).

-- 
Retro Guy
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