Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Lady Luck brings added income today. Lady friend takes it away tonight.


rocksolid / 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
Subject: [rslight] BBS Mail Error - Call to undefined function gnupg_init
From: SugarBug
Newsgroups: rocksolid.nodes.help
Organization: Baggy Jeans Mafia (sybershock.com)
Date: Thu, 18 Apr 2024 02:58 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!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
View all headers

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

Subject: Re: [rslight] BBS Mail Error - Call to undefined function gnupg_init
From: Ray Banana
Newsgroups: rocksolid.nodes.help
Organization: A noiseless patient spider
Date: Thu, 18 Apr 2024 04:29 UTC
References: 1
Path: 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
View all headers

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

Subject: [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_init
From: SugarBug
Newsgroups: rocksolid.nodes.help
Organization: Baggy Jeans Mafia (sybershock.com)
Date: Thu, 18 Apr 2024 06:24 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!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
View all headers

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

Subject: Re: [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_init
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Thu, 18 Apr 2024 09:51 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [solved] [rslight] BBS Mail Error - Call to undefined function gnupg_init
Date: Thu, 18 Apr 2024 02:51:01 -0700
Organization: Rocksolid Light
Message-ID: <7fc5915e35de0c15bac75ddb9a840390$1@invalid.invalid>
References: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com> <8mjzkvs37z.fsf@raybanana.net> <bc949438b3f20c3a4ee814f3b899541a$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="1547003"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: 40tude_Dialog/2.0.15.41
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

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
:)

Subject: Re: [rslight] BBS Mail Error - Call to undefined function gnupg_init
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Thu, 18 Apr 2024 11:00 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [rslight] BBS Mail Error - Call to undefined function
gnupg_init
Date: Thu, 18 Apr 2024 11:00:55 +0000
Organization: Rocksolid Light
Message-ID: <e017fb96daeea238d97258a36fbd439e@www.novabbs.org>
References: <e58f9b054824c21b2c6a466aea47aaec$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1553812"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
X-Rslight-Site: $2y$10$OOhoaiQM5mXUjyiIgYT3WOu3S/MB6PqtniWkDanKBqhx1nSeOttNm
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|
View all headers

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

rocksolid light 0.9.8
clearnet tor