Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

The following statement is not true. The previous statement is true.


computers / Rocksolid Nodes Help / Re: [rslight] BBS Mail Error - Call to undefined function gnupg_init

SubjectAuthor
* [rslight] BBS Mail Error - Call to undefined function gnupg_initSugarBug
+* Re: [rslight] BBS Mail Error - Call to undefined function gnupg_initRay Banana
|`* [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_initSugarBug
| `- Re: [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_initRetro Guy
`- Re: [rslight] BBS Mail Error - Call to undefined function gnupg_initRetro Guy

1
[rslight] BBS Mail Error - Call to undefined function gnupg_init

<e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: 3883@sugar.bug (SugarBug)
Newsgroups: rocksolid.nodes.help
Subject: [rslight] BBS Mail Error - Call to undefined function gnupg_init
Date: Wed, 17 Apr 2024 21:58:26 -0500
Organization: Baggy Jeans Mafia (sybershock.com)
Message-ID: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="1516564"; mail-complaints-to="usenet@i2pn2.org";
posting-account="yZybWhCr+jI4C3MuGpPde+DhCwsjQrVZrsCOigcx7fM";
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: SugarBug - Thu, 18 Apr 2024 02:58 UTC

I tried BBS mail some weeks ago in an older test install and it worked (or appeared to work).

I just pulled most recent rslight from git. I installed and configured at news.sybershock.com. I enabled gnupg in gpg.conf. The keys are showing valid:

pub rsa3072 2024-04-18 [SC]
6B0A8C6898CA42AB8709A12CF51BE71CCF51D71B
uid [ultimate] rslight@news.sybershock.com
sub rsa3072 2024-04-18 [E]

The new rslight install pulls messages from remote fine and all portal pages and nntp server check out.

I tried sending several BBS mail messages. None of the messages propagate to the newsgroup or arrive at the target server. They show up in the sent list locally.

Most test messages sent redirect to a missing page but the browser does not show the URL, so I don't know what to do about that.

What am I missing?

Registration is enabled for registering test accounts. Since I have not automated the cron the test messages (hopefully) don't propagate.

I get this error from the cron job each time I trigger it:

``` --------------------------------

PHP Fatal error: Uncaught Error: Call to undefined function gnupg_init() in .../config/scripts/interBBS_mail.php:33
Stack trace:
#0 {main}
thrown in .../config/scripts/interBBS_mail.php on line 33
Sending articles
Send Done
Refreshed spoolnews
Expired articles
Sending articles
Send DonePHP Fatal error: Uncaught TypeError: fputs(): supplied resource is not a valid stream resource in .../public_html/rocksolid/newsportal.php:186
Stack trace:
#0 .../public_html/rocksolid/newsportal.php(186): fputs()
#1 .../config/scripts/spoolnews.php(167): nntp_close()
#2 {main}
thrown in .../public_html/rocksolid/newsportal.php on line 186

Refreshed spoolnews
Expired articles
RSS Feeds updated
Log files rotated
Keys rotated
Removed old files
-------------------------------- ```

--
www.sybershock.com | sci.crypt | alt.sources.crypto | alt.lite.bulb

Re: [rslight] BBS Mail Error - Call to undefined function gnupg_init

<8mjzkvs37z.fsf@raybanana.net>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raybanana.eternal-september.org!.POSTED!not-for-mail
From: rayban@raybanana.net (Ray Banana)
Newsgroups: rocksolid.nodes.help
Subject: Re: [rslight] BBS Mail Error - Call to undefined function gnupg_init
Date: Thu, 18 Apr 2024 06:29:36 +0200
Organization: A noiseless patient spider
Lines: 10
Message-ID: <8mjzkvs37z.fsf@raybanana.net>
References: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 06:29:36 +0200 (CEST)
Injection-Info: raybanana.eternal-september.org; posting-host="c55a27bc3dd881cb75ec651d47312826";
logging-data="2191032"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2AQvvl19Wmglo6Mhw7Z3j9uCmCKHj5Zc="
User-Agent: Plonkenlights
Cancel-Lock: sha1:GKm6vb+GSoSe5KgAmomPYOdex3E=
sha1:h5o+OztjkKJpuvxjKBkP1q7l/3E=
X-Attribution: Ray Banana
 by: Ray Banana - Thu, 18 Apr 2024 04:29 UTC

Thus spake SugarBug <3883@sugar.bug>

> PHP Fatal error: Uncaught Error: Call to undefined function gnupg_init() in .../config/scripts/interBBS_mail.php:33

You need to install PECL gnupg >= 0.4 on your server.

--
Пу́тін — хуйло́
https://www.eternal-september.org

[solved] [rslight] BBS Mail Error - Call to undefined function gnupg_init

<bc949438b3f20c3a4ee814f3b899541a$1@sybershock.com>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: 3883@sugar.bug (SugarBug)
Newsgroups: rocksolid.nodes.help
Subject: [solved] [rslight] BBS Mail Error - Call to undefined function
gnupg_init
Date: Thu, 18 Apr 2024 01:24:28 -0500
Organization: Baggy Jeans Mafia (sybershock.com)
Message-ID: <bc949438b3f20c3a4ee814f3b899541a$1@sybershock.com>
References: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com>
<8mjzkvs37z.fsf@raybanana.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="1530063"; mail-complaints-to="usenet@i2pn2.org";
posting-account="yZybWhCr+jI4C3MuGpPde+DhCwsjQrVZrsCOigcx7fM";
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: SugarBug - Thu, 18 Apr 2024 06:24 UTC

On Thu, 18 Apr 2024 06:29:36 +0200
Ray Banana <rayban@raybanana.net> wrote:

> Thus spake SugarBug <3883@sugar.bug>
>
>
> > PHP Fatal error: Uncaught Error: Call to undefined function gnupg_init() in .../config/scripts/interBBS_mail.php:33
>
> You need to install PECL gnupg >= 0.4 on your server.

I looked and php8.3-gnupg was installed.

Then I looked at the web server configuration and the web server was using php8.2.

So I installed php8.2-gnupg and I removed php8.3-gnupg.

Then the BBS mail key was generated and the messages populated to the news feed. So that much is working.

Yet when I run the cron I still get the same error as before.

PHP Fatal error: Uncaught TypeError: fputs(): supplied resource is not a valid stream resource in /.../public_html/rocksolid/newsportal.php:186
Stack trace:
#0 /.../public_html/rocksolid/newsportal.php(186): fputs()
#1 .../config/scripts/spoolnews.php(167): nntp_close()
#2 {main}
thrown in /.../public_html/rocksolid/newsportal.php on line 186

So it seems to work now yet still throw the errors.

--
www.sybershock.com | sci.crypt | alt.sources.crypto | alt.lite.bulb

Re: [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_init

<7fc5915e35de0c15bac75ddb9a840390$1@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Message-ID: <7fc5915e35de0c15bac75ddb9a840390$1@invalid.invalid>
Organization: Rocksolid Light
From: retroguy@novabbs.com (Retro Guy)
Subject: Re: [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_init
Newsgroups: rocksolid.nodes.help
User-Agent: 40tude_Dialog/2.0.15.41
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com> <8mjzkvs37z.fsf@raybanana.net> <bc949438b3f20c3a4ee814f3b899541a$1@sybershock.com>
Date: Thu, 18 Apr 2024 02:51:01 -0700
 by: Retro Guy - Thu, 18 Apr 2024 09:51 UTC

On Thu, 18 Apr 2024 01:24:28 -0500, SugarBug wrote:

> On Thu, 18 Apr 2024 06:29:36 +0200
> Ray Banana <rayban@raybanana.net> wrote:
>
>> Thus spake SugarBug <3883@sugar.bug>
>>
>>
>>> PHP Fatal error: Uncaught Error: Call to undefined function gnupg_init() in .../config/scripts/interBBS_mail.php:33
>>
>> You need to install PECL gnupg >= 0.4 on your server.
>
> I looked and php8.3-gnupg was installed.
>
> Then I looked at the web server configuration and the web server was using php8.2.
>
> So I installed php8.2-gnupg and I removed php8.3-gnupg.
>
> Then the BBS mail key was generated and the messages populated to the news feed. So that much is working.
>
> Yet when I run the cron I still get the same error as before.
>
> PHP Fatal error: Uncaught TypeError: fputs(): supplied resource is not a valid stream resource in /.../public_html/rocksolid/newsportal.php:186
> Stack trace:
> #0 /.../public_html/rocksolid/newsportal.php(186): fputs()
> #1 .../config/scripts/spoolnews.php(167): nntp_close()
> #2 {main}
> thrown in /.../public_html/rocksolid/newsportal.php on line 186
>
> So it seems to work now yet still throw the errors.

This is a known issue, but does not break things. It's rslight trying to
close an already closed socket.

I'll get on it once more important bugs are fixed (I'm finishing one now
:)

Re: [rslight] BBS Mail Error - Call to undefined function gnupg_init

<e017fb96daeea238d97258a36fbd439e@www.novabbs.org>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes.help
Date: Thu, 18 Apr 2024 11:00:55 +0000
Subject: Re: [rslight] BBS Mail Error - Call to undefined function
gnupg_init
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
X-Rslight-Site: $2y$10$OOhoaiQM5mXUjyiIgYT3WOu3S/MB6PqtniWkDanKBqhx1nSeOttNm
X-Rslight-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com>
Organization: Rocksolid Light
Message-ID: <e017fb96daeea238d97258a36fbd439e@www.novabbs.org>
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_B
H0=hZt'[%)4kG|
 by: Retro Guy - Thu, 18 Apr 2024 11:00 UTC

SugarBug wrote:

> I tried BBS mail some weeks ago in an older test install and it worked (or appeared to work).

> I just pulled most recent rslight from git. I installed and configured at news.sybershock.com. I enabled gnupg in gpg.conf. The keys are showing valid:

As a note, if you pulled rslight in the last 24-48 hours, there are two bugs that are now fixed in the latest commit. One bug would not let you post if you did not have a specific value in overrides.inc.php, so that's kinda not great. It's all fixed now.

You're timing was perfect (to install bugs) :)

Oh, and I fixed the sed error (thanks Marco and Ray!)

--
Retro Guy

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor