Rocksolid Light

Welcome to Rocksolid Light

register   nodelist   faq  


rocksolid / rocksolid.nodes.announce / Re: rslight-0.6.5 available

SubjectAuthor
* rslight-0.6.5 availableRetro Guy
+* Re: rslight-0.6.5 availableRetro Guy
|`* Re: rslight-0.6.5 availableRetro Guy
| `* Re: rslight-0.6.5 availableRetro Guy
|  `* Re: rslight-0.6.5 availableRetro Guy
|   `* Re: rslight-0.6.5 availableRetro Guy
|    `* Re: rslight-0.6.5 availableanonymous
|     `* Re: rslight-0.6.5 availableanon
|      `* Re: rslight-0.6.5 availableRetro Guy
|       `* Re: rslight-0.6.5 availableanon
|        +* Re: rslight-0.6.5 availableRetro Guy
|        |`- Re: rslight-0.6.5 availableRetro Guy
|        `* Re: rslight-0.6.5 availableRetro Guy
|         `* Re: rslight-0.6.5 availableRetro Guy
|          `* Re: rslight-0.6.5 availableRetro Guy
|           `* Re: rslight-0.6.5 availableRetro Guy
|            `* Re: rslight-0.6.5 availableRetro Guy
|             `* Re: rslight-0.6.5 availableRetro Guy
|              `* Re: rslight-0.6.5 availableRetro Guy
|               `* Re: rslight-0.6.5 availableRetro Guy
|                `* Re: rslight-0.6.5 availableRetro Guy
|                 `* Re: rslight-0.6.5 availableRetro Guy
|                  `* Re: rslight-0.6.5 availableRetro Guy
|                   `* Re: rslight-0.6.5 availableRetro Guy
|                    `* Re: rslight-0.6.5 availableRetro Guy
|                     `* Re: rslight-0.6.5 availableRetro Guy
|                      `* Re: rslight-0.6.5 availableRetro Guy
|                       +* Re: rslight-0.6.5 availableanon
|                       |`* Re: rslight-0.6.5 availableRetro Guy
|                       | +- Re: rslight-0.6.5 availableanonymous
|                       | `* Re: rslight-0.6.5 availableqa
|                       |  `* Re: rslight-0.6.5 availableanon
|                       |   +* Re: rslight-0.6.5 availableanon
|                       |   |`* Re: rslight-0.6.5 availableanonymous
|                       |   | +* Re: rslight-0.6.5 availableanonymous
|                       |   | |`* Re: rslight-0.6.5 availableRetro Guy
|                       |   | | `- Re: rslight-0.6.5 availableRetro Guy
|                       |   | `- Re: rslight-0.6.5 availableRetro Guy
|                       |   +- Re: rslight-0.6.5 availableRetro Guy
|                       |   `* Re: rslight-0.6.5 availableRetro Guy
|                       |    +- Re: rslight-0.6.5 availableRetro Guy
|                       |    `- Re: rslight-0.6.5 availableanon
|                       `* Re: rslight-0.6.5 availableRetro Guy
|                        `* Re: rslight-0.6.5 availableRetro Guy
|                         `* Re: rslight-0.6.5 availableRetro Guy
|                          `* Re: rslight-0.6.5 availableRetro Guy
|                           `* Re: rslight-0.6.5 availableRetro Guy
|                            `- Re: rslight-0.6.5 availableRetro Guy
+* Re: rslight-0.6.5 availableanon
|+- Re: rslight-0.6.5 availableRetro Guy
|`- Re: rslight-0.6.5 availableRetro Guy
+- Re: rslight-0.6.5 availableanon
`* syncronetAnonymous
 `- Re: syncronetRetro Guy

Subject: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Sat, 4 Apr 2020 04:23 UTC
Rocksolid Light 0.6.5 is now available at:
news.novabbs.com/getrslight or
rslight.i2p/getrslight

There is a README there with instructions, which I will also paste below.

All testing on multiple sites is done only by myself, so if there are any bugs or trouble installing I wouldn't be shocked. I hope it installs ok, but without other testers, that's difficult.

Here are the installation instructions:

Installing rslight - a web based news client
(news.novabbs.com/getrslight)

This is for version 0.6.5

rslight is based on NewsPortal, which discontinued development in 2008, and was developed by Florian Amrhein https://florian-amrhein.de/newsportal/

rslight contains some major code and feature changes, but would not exist without NewsPortal as a basis for development.

Requirements:

You will need a web server: rslight has been tested with apache2, lighttpd and synchronet web servers

php is required, and your web server must be configured to serve .php. php-mbstring (to support other character sets) and sharutils (for uudecode) are required. These are the names for Debian packages. Other distributions should also provide these in some way.

If you get errors, check your log files to see what packages I've failed to mention.

For FreeBSD:
pkg install php72
pkg install php72-extensions
pkg install sharutils
pkg install php72-pcntl
pkg install php72-sockets
pkg install php72-mbstring

Installation: 1. Create directories and move files into place

Extract the .tgz file to a temporary location, then move into place:

index.php:
Move to the root directory you will be using for serving web pages for rslight.

usr/local/www/html/rocksolid and usr/local/www/html/common:
Move both directories to the web root for rslight. The same place you put index.php

etc/rslight:
Move to /etc/rslight
You must make the directories /etc/rslight/users and /etc/rslight/userdata writable by
the web server user

Create the directory: /var/spool/rslight and make it writable by the web server user

2. Edit configuration file

Edit the file /etc/rslight/rslight.inc.php

The file is commented and should be fairly simple.

3. Add a cron job for the root user. Change the directories in this line to match your setup, and set the minutes as you wish:

*/2 * * * * cd /usr/local/www/html/spoolnews ; bash -lc "php /etc/rslight/scripts/cron.php"

This will start the nntp server, then drop privileges to your web user and begin pulling articles from the remote server to create your spool. You won't see articles immediately in rslight, but if you get impatient, delete '*-groups' in /var/spool/rslight after 15-30 minutes to begin to see articles appear.

If you have trouble, post to rocksolid.shared.nodes and we'll try to help.

Retro Guy
retroguy@rocksolidbbs.com

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Sat, 4 Apr 2020 04:56 UTC
Some notes on installing that might be of interest:

If you want to pull more than 100 articles in each group on first run (default), you can edit the line:

$maxfirstrequest = 100;

in /etc/rslight/scripts/spoolnews.php. This is the number of articles from newest, so newest articles are always pulled.

in $webroot/common, you can put customised files in 'mods':

common/mods/header.php
common/mods/style.css
common/mods/images/rocksolidlight.png

These will be used if they exist instead of the default copies.

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Sat, 4 Apr 2020 10:05 UTC
There is a slight update in rslight-0.6.5.tgz. I forgot to include $webroot/spoolnews. It's in there now.

If already downloaded by someone, just create a directory spoolnews along side your rocksolid and common directories, then just copy config.inc.php and newsportal.php from rocksolid to spoolnews. That's really all it is.

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Mon, 6 Apr 2020 10:23 UTC
oooh! I have a working install script.

I'll upload it after some more testing.
--
Posted on: Rocksolid Light
192.168.0.230


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Mon, 6 Apr 2020 11:33 UTC
Retro Guy wrote:

oooh! I have a working install script.

I'll upload it after some more testing.

seems to be working fine. I just performed an install using it, and it's much easier than putting everything in place yourself. It's not a configuration script, just an install script.

1. It will ask where to install web accessible scripts/files, where you want the spool dir, where to place the config dir, and what user runs your web server.

2. It will create the directories and apply proper permissions as necessary.

3. It will copy all the necessary files into place.

4. It will place any directory selection changes you've made into a particular config file.

After this, you need to edit the main config file to list your upstream server, usernames, passwords, etc. It is a commented file and shouldn't be too complicated.

I'll package this script in a 0.6.5a tarball and upload to the site tomorrow.

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Tue, 7 Apr 2020 00:45 UTC
A couple more changes to make installation easier:

Local users (anonymous and main server connection) are now created automatically from your config file. No need to create these accounts. If you change the config file, the accounts will be updated. I've tried to remove as many steps as possible from installation.

Here is a view of running the install script:

# ./install.sh This is the main installation script for Rocksolid Light
and must be run as root from the root directory of the extracted files

Select installation directories

Choose a path for your web root for rslight
Use default web root /var/www/html (y/n)? n

Enter web root for rslight: /tmp/rslight/html

Choose a path for your spool files for rslight
Use default spool path /var/spool/rslight (y/n)? n

Enter spool path for rslight: /tmp/rslight/spool

Choose a path for rslight configuration files
Use default config path /etc/rslight (y/n)? n

Enter config path for rslight: /tmp/rslight/rslight

Choose username used by your web server
Use default username www-data (y/n)? n

Enter username used by your web server: www


You have selected the following options:

Web root: /tmp/rslight/html
Spool dir: /tmp/rslight/spool
Config dir: /tmp/rslight/rslight
Web user: www

Are you sure you wish to install to these directories now
and change permissions as necessary to www? Type 'YES' to create the directories and move files into place: YES

Creating directories
/tmp/rslight/html...done
/tmp/rslight/spool...done
/tmp/rslight/rslight...done

Moving files into place...done

Setting permissions...done

Applying configuration...done

Next step is to edit TWO configuration files in /tmp/rslight/rslight:
/tmp/rslight/rslight/rslight.inc.php and
/tmp/rslight/rslight/rocksolid.inc.php

Once your web server is configured to point to /tmp/rslight/html and serve .php files
give it a try. If you have trouble, feel free to ask for help in rocksolid.nodes.help

Installation complete
-------------

Once you run the script, and edit at least rslight.inc.php and configure your web server, the site should operate. The config in rocksolid.inc.php is for specific settings (name of site, etc) for your section.

I'll hopefully have a 0.6.5a ready soon to upload.

Retro Guy

--
Posted on: Rocksolid Light
192.168.0.230


Subject: Re: rslight-0.6.5 available
From: anonymous@example.com (anonymous)
Newsgroups: rocksolid.nodes.announce
Organization: Unconfigured rslight site
Date: Tue, 7 Apr 2020 03:38 UTC
The test site at:
nyccgjh5cjapsf7frrhxqw73gb5hxj2ucau72ztn2oenxwetxr5q.b32.i2p

is running a fresh install of rslight 0.6.5a. I am posting from this site now.

I followed the installation instructions exactly, using the provided install script, and all seems to be working fine. This is really the same code as 0.6.5, just with a much easier installation method.

rslight-0.6.5a.tgz is now available at:
rslight.i2p/getrslight or
news.novabbs.com/getrslight

Retro Guy

--
Posted on: Unconfigured rslight site
192.168.0.230


Subject: Re: rslight-0.6.5 available
From: anon@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Organization: def5
Date: Tue, 7 Apr 2020 12:13 UTC

i already go it, can't wait to get def2 back in business.
just for my understanding: do you recommend to limit the number of groups with the current version, or can I put everything (keeping in mind your post about the right way to prepare the partitions for this, of course) ?

cheers

trw

Posted on def4


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Tue, 7 Apr 2020 12:16 UTC
anon wrote:


i already go it, can't wait to get def2 back in business.
just for my understanding: do you recommend to limit the number of groups with the current version, or can I put everything (keeping in mind your post about the right way to prepare the partitions for this, of course) ?

First, if it's not too time consuming to download, I'd suggest downloading and using rslight-0.6.5a. It will make installation very simple and will create the necessary accounts for anonymous.

The best way for a lot of groups is how I've done it on rslight.i2p. In the header of rslight are what I call 'sections'. So, rocksolid, arts, interests etc are sections. Each is a symlinked instance of rslight. This gives a good way to separate subjects, and keeps each section responsive (not slow due to too many groups).

Each 'section' is in your web path (maybe /var/www/html/...) under it's own name. So on rslight.i2p in /var/www/html there is a directory for rocksolid, arts, interests etc. Each is simply symlinked to the rocksolid directory.

In /etc/rslight, there is a config file for each, (rocksolid.inc.php, art.inc.php etc) and a subdir for each (always the same name. The subdir simply contains 'groups.txt', which is the groups you want in each section.

Then, check the file /etc/rslight/menu.txt, and add each section as necessary (the file is commented).

So, to add a 'section', 1. symlink the directory, create the config file, create the subdir in /etc/rslight and add 'groups.txt', then finally add it to menu.txt. Once that is done, it should start populating and work just as 'rocksolid'.

It might sound complicated but it's easy after you do it the first time :)

Hopefully installation goes well. As the only person testing this stuff, I kind of get caught in my bubble and may think things are working or are easy. I look forward to actual feedback :)

Also, if you are interested in any integration of bbs, you should be able to read the rslight spool in /var/spool/rslight/articles, which should duplicate an inn spool, and drop outgoing posts as files in /var/spool/rslight/<section>/outgoing and they will be posted. (./outgoing is created on demand, so if it doesn't exist, feel free to create it).

I'll be back tomorrow :)

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight-0.6.5 available
From: anon@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Organization: def5
Date: Tue, 7 Apr 2020 23:19 UTC

if you are interested in any integration of bbs

one step at a time. first i want to have this working again.
also i believe in keeping things separate as much as possible for production usage.
putting bbs on top could be interesting for others though, like that fella that crossposted some time ago in search for it.
anyway, thanks for your work and your advise. i will be back when i hit a wall, or you see def2 operating again,

cheers

trw

Posted on def4


Pages:123456
rocksolid light 0.6.5e
clearnet i2p tor