Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

You're using a keyboard! How quaint!


computers / Rocksolid Nodes Help / Re: help request : extra menu groups are not syncing or even showing up in spool or pages

SubjectAuthor
* help request : extra menu groups are not syncing or even showing upSyber Shock
+* help request : extra menu groups are not syncing or even showingRetro Guy
|`* help request : extra menu groups are not syncing or evenSyber Shock
| `- help request : extra menu groups are not syncing or even showingRetro Guy
`- help request : extra menu groups are not syncing or evenSyber Shock

1
help request : extra menu groups are not syncing or even showing up in spool or pages

<20231217075738.460b3687@dev>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: 3883@sugar.bug (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: help request : extra menu groups are not syncing or even showing up
in spool or pages
Date: Sun, 17 Dec 2023 07:57:38 -0600
Organization: To protect and to server
Message-ID: <20231217075738.460b3687@dev>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: paganini.bofh.team; logging-data="342176"; posting-host="PucJEPotjJyynPGC85C0DQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:SELdDGf9fRLgy/S7/xm0niujob3gvyc8kVmiVHsRaFU=
X-Notice: Filtered by postfilter v. 0.9.3
 by: Syber Shock - Sun, 17 Dec 2023 13:57 UTC

Test site: https://rocksolid.sybershock.com

notice the sections, 'tilde', 'grc', 'hispagatos' in the menu links.

rslight.inc.php and rslight groups in rocksolid/groups.txt sync ok.

all other servers I have added do not sync at all. I had all of these
working in an older version of rslight with the same configurations. I
had them working fine for over a year.

i have run the cron a couple dozen times and nothing syncs and no
errors are shown. I tee output to a cron.log file to keep track. There
are no errors in the output log.

jobs$ grep "starting cron" logs/cron.log | wc -l
34

grep "cron job finished" logs/cron.log | wc -l
33

Permissions for files are good. Owner is web server.

stat rocksolid/ grc/ tilde/ grc/ | grep Gid
Access: (0755/drwxr-xr-x) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0755/drwxr-xr-x) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0755/drwxr-xr-x) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0755/drwxr-xr-x) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)

config$ stat rocksolid/* grc/* tilde/* grc/* | grep Gid
Access: (0644/-rw-r--r--) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0644/-rw-r--r--) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0644/-rw-r--r--) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0644/-rw-r--r--) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0644/-rw-r--r--) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)
Access: (0644/-rw-r--r--) Uid: ( 1009/syber-web) Gid: (
1009/syber-web)

config$ cat menu.conf | tail -n 5
# Add your sections below:
rocksolid:1:1
tilde:1:1
grc:1:1
hispagatos:1:1

config$ ls *.inc.php
admin.inc.php grc.inc.php overrides.inc.php rslight.inc.php
example.inc.php hispagatos.inc.php phpmailer.inc.php tilde.inc.php

config$ ls -d */
grc/ hispagatos/ rocksolid/ rss/ scripts/ spoolnews/ tilde/
userconfig/ users/

config$ ls grc/ hispagatos/ rocksolid/ tilde/
grc/:
groups.txt

hispagatos/:
groups.txt

rocksolid/:
encryption_ok.txt groups.txt original.groups.txt

tilde/:
groups.txt

spool$ ls -d */
articles/ lock/ log/ nocem/ rocksolid/ spoolnews/ ssl/ upload/

spool$ ls *groups*.dat
rocksolid-groups.dat

NNTP server is running:

config$ ps aux | grep nntp
syberwe+ 3023 0.0 0.3 143236 5460 ? Ss 06:19 0:00 php
..../config//scripts/nntp.php
syberwe+ 3026 0.0 0.7 143500 10676 ? Ss 06:19 0:00 php
..../config//scripts/nntp-ssl.php

Re: help request : extra menu groups are not syncing or even showing up in spool or pages

<f6106a1c22cb010e533c5c05bfc5a8b5$1@news.novabbs.org>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Date: Sun, 17 Dec 2023 14:06:24 +0000
Message-ID: <f6106a1c22cb010e533c5c05bfc5a8b5$1@news.novabbs.org>
Organization: Rocksolid Light
From: retroguy@novabbs.org (Retro Guy)
Subject: Re: help request : extra menu groups are not syncing or even showing
up in spool or pages
Newsgroups: rocksolid.nodes.help
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5
*A|XCDf?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7
|z[.9iv^g>*8_BH0=hZt'[%)4kG|
References: <20231217075738.460b3687@dev>
MIME-Version: 1.0
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: Retro Guy - Sun, 17 Dec 2023 14:06 UTC

On Sun, 17 Dec 2023 07:57:38 -0600, Syber Shock wrote:

> Test site: https://rocksolid.sybershock.com
>
> notice the sections, 'tilde', 'grc', 'hispagatos' in the menu links.
>
> rslight.inc.php and rslight groups in rocksolid/groups.txt sync ok.
>
> all other servers I have added do not sync at all. I had all of these
> working in an older version of rslight with the same configurations. I
> had them working fine for over a year.
>
> i have run the cron a couple dozen times and nothing syncs and no errors
> are shown. I tee output to a cron.log file to keep track. There are no
> errors in the output log.

Could you post (or just check) the output of spoolnews.php on these
sections? Delete $webdir/<section> first so it starts from new.

cd $webdir/<section>; php $config_dir/scripts/spoolnews.php
as the same user that it runs as (not root).

Re: help request : extra menu groups are not syncing or even showing up in spool or pages

<20231217081754.7eb4c182@dev>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!nntp.comgw.net!paganini.bofh.team!not-for-mail
From: <3883@sugar.bug (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: help request : extra menu groups are not syncing or even
showing up in spool or pages
Date: Sun, 17 Dec 2023 08:17:54 -0600
Organization: To protect and to server
Message-ID: <20231217081754.7eb4c182@dev>
References: <20231217075738.460b3687@dev>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: paganini.bofh.team; logging-data="342305"; posting-host="PucJEPotjJyynPGC85C0DQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:TKkS7sQ+5AU3QFq+XZdnRvUhXH5SpmYvIvWNmjmnMO4=
X-Notice: Filtered by postfilter v. 0.9.3
 by: Syber Shock - Sun, 17 Dec 2023 14:17 UTC

On Sun, 17 Dec 2023 07:57:38 -0600
Syber Shock <3883@sugar.bug> wrote:

<snip>

syber-web and syberweb are the same user. That is a typo in search and
replace to make the code neater for reading. I gut out the awful long
file paths with convoluted folder names and user names.

Re: help request : extra menu groups are not syncing or even showing up in spool or pages

<20231217083532.0d4d7e38@dev>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: 3883@sugar.bug (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: help request : extra menu groups are not syncing or even
showing up in spool or pages
Date: Sun, 17 Dec 2023 08:35:32 -0600
Organization: To protect and to server
Message-ID: <20231217083532.0d4d7e38@dev>
References: <20231217075738.460b3687@dev>
<f6106a1c22cb010e533c5c05bfc5a8b5$1@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: paganini.bofh.team; logging-data="342305"; posting-host="PucJEPotjJyynPGC85C0DQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:dWoRHtJo/PeEZvBmhpAAOUD9vQDtOVDNs+SLCUefvxs=
X-Notice: Filtered by postfilter v. 0.9.3
 by: Syber Shock - Sun, 17 Dec 2023 14:35 UTC

On Sun, 17 Dec 2023 14:06:24 +0000
Retro Guy <retroguy@novabbs.org> wrote:

> On Sun, 17 Dec 2023 07:57:38 -0600, Syber Shock wrote:
>
> > Test site: https://rocksolid.sybershock.com
> >
> > notice the sections, 'tilde', 'grc', 'hispagatos' in the menu links.
> >
> > rslight.inc.php and rslight groups in rocksolid/groups.txt sync ok.
> >
> > all other servers I have added do not sync at all. I had all of
> > these working in an older version of rslight with the same
> > configurations. I had them working fine for over a year.
> >
> > i have run the cron a couple dozen times and nothing syncs and no
> > errors are shown. I tee output to a cron.log file to keep track.
> > There are no errors in the output log.
>
> Could you post (or just check) the output of spoolnews.php on these
> sections? Delete $webdir/<section> first so it starts from new.
>
> cd $webdir/<section>; php $config_dir/scripts/spoolnews.php
> as the same user that it runs as (not root).

Well here is my digital dunce cap. Once I created and symlinked the
webdirs it started syncing. I did not know the sections needed the
corresponding web dir to be able to sync. So I never even thought about
it. My bad.

How should I configure a section in menu.conf to sync a section that is
not in the web interface? Currently they're all $section_name:1:1 in the
conf.

Re: help request : extra menu groups are not syncing or even showing up in spool or pages

<7bb121f82ad4656e323403e07b23c527$1@news.novabbs.org>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Date: Sun, 17 Dec 2023 15:04:19 +0000
Message-ID: <7bb121f82ad4656e323403e07b23c527$1@news.novabbs.org>
Organization: Rocksolid Light
From: retroguy@novabbs.org (Retro Guy)
Subject: Re: help request : extra menu groups are not syncing or even showing
up in spool or pages
Newsgroups: rocksolid.nodes.help
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5
*A|XCDf?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7
|z[.9iv^g>*8_BH0=hZt'[%)4kG|
References: <20231217075738.460b3687@dev>
<f6106a1c22cb010e533c5c05bfc5a8b5$1@news.novabbs.org>
<20231217083532.0d4d7e38@dev>
MIME-Version: 1.0
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: Retro Guy - Sun, 17 Dec 2023 15:04 UTC

On Sun, 17 Dec 2023 08:35:32 -0600, Syber Shock wrote:

> On Sun, 17 Dec 2023 14:06:24 +0000 Retro Guy <retroguy@novabbs.org>
> wrote:
>
>> On Sun, 17 Dec 2023 07:57:38 -0600, Syber Shock wrote:
>>
>> > Test site: https://rocksolid.sybershock.com
>> >
>> > notice the sections, 'tilde', 'grc', 'hispagatos' in the menu links.
>> >
>> > rslight.inc.php and rslight groups in rocksolid/groups.txt sync ok.
>> >
>> > all other servers I have added do not sync at all. I had all of these
>> > working in an older version of rslight with the same configurations.
>> > I had them working fine for over a year.
>> >
>> > i have run the cron a couple dozen times and nothing syncs and no
>> > errors are shown. I tee output to a cron.log file to keep track.
>> > There are no errors in the output log.
>>
>> Could you post (or just check) the output of spoolnews.php on these
>> sections? Delete $webdir/<section> first so it starts from new.
>>
>> cd $webdir/<section>; php $config_dir/scripts/spoolnews.php as the same
>> user that it runs as (not root).
>
> Well here is my digital dunce cap. Once I created and symlinked the
> webdirs it started syncing. I did not know the sections needed the
> corresponding web dir to be able to sync. So I never even thought about
> it. My bad.

Yeah, that setup goes way back, I just never changed it and it is kinda
weird :)

> How should I configure a section in menu.conf to sync a section that is
> not in the web interface? Currently they're all $section_name:1:1 in the
> conf.

Every section must have a corresponding web dir, but it doesn't need to be
shown as a link in the web interface.

Like spoolnews: spoolnews:0:1

# First = section name
# Second = display link in header?
# Third = enable local spool for this section?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor