GuzzleHttp\Psr7\Utils::redactUserInfo()

Hey all,

[sorry for the re-post, didn’t realize my first post was in the wrong section… haven’t posted here in years :tired_face:… new details…:astonished_face:]

I am running Ubuntu 24.04 server, with a Virtualmin control panel, using:

php8.2.29
mariadb 10.11.13
Nextcloud 31.0.7

In my NC Overview, I have this error:

[no app in context] Error: Exception running check OCA\Talk\SetupCheck\HighPerformanceBackend: Call to undefined method GuzzleHttp\Psr7\Utils::redactUserInfo() <<----- many of these in admin log
GET /index.php/settings/ajax/checksetup
from 192.168.XX.XX by adminuser at Aug 11, 2025, 4:10:46 PM

New Info

user@test:~/public_html/3rdparty$ ls guzzlehttp/psr7/
LICENSE src

The dir of file called “Utils” doesn’t actually exist in …/3rdparty/guzzlehttp/psr7/ dir, which is probably a good reason why it can’t be found :upside_down_face: … packaging error?

New new info
I located the missing “Utils” file:

user@test:~/public_html/3rdparty$ ls guzzlehttp/psr7/src
AppendStream.php    FnStream.php	LimitStream.php      NoSeekStream.php  Rfc7230.php		 UploadedFile.php   Utils.php
BufferStream.php    Header.php		Message.php	     PumpStream.php    ServerRequest.php	 UriComparator.php
CachingStream.php   HttpFactory.php	MessageTrait.php     Query.php	       StreamDecoratorTrait.php  UriNormalizer.php
DroppingStream.php  InflateStream.php	MimeType.php	     Request.php       Stream.php		 Uri.php
Exception	    LazyOpenStream.php	MultipartStream.php  Response.php      StreamWrapper.php	 UriResolver.php

Looks like someone messed up a file path… how do I correct this? should I correct this? Or is there a patch coming?

Context:
I just successfully implemented the HPB, with Janus and coturn…

Troubleshooting thus far:

  • php occ maintenance: repair
  • php occ upgrade
  • Downloaded, hash verified a new zip of 31.0.7, and overwrote the 3rdparty dir
  • I Downloaded, has verified a another zip of 31.0.7 and replaced my entire codebase.. only saving my config.php and my apps dir (data has been moved outside of the codebase dir)

I searched online and asked a couple of AI and everything points towards running composer commands as root directly, but I don’t want to mess up permissions, so I figured it was time to post here (in the correct group :wink:).

Anyone have any tips?

I didn’t find an issue in the bug tracker with exactly your error message. So not sure if someone found it like this or fixed it by accident, so I’d retry with the 31.0.8 that was released in the mean time.
If you still have the error → create a bug report at GitHub · Where software is built

If you want to go further, you can try to find where the wrong paths are located, fix the file and create a pull request on github. (if you are not familiar with git/github and all that stuff, and it is a small fix, you can just add to your bug report, what you changed to make it work.

Hi,

I am running Nextcloud 31.08 on ubuntu server 24.04 and I have the same issue. After looking at the files and function calls in the error messages, I was not able to find what caused the call to fail. No typo, and I was not able to pinpoint a filepath issue. The code uses namespaces, so it should work as is.

I tried LLMs just like you and even followed their asinine suggestion to mess with the composer to end up replacing my 3rdparty directory just like you.

Two apps seem affected on my server:

  • Passwords: backup cronjob
  • OnlyOffice

Did you create a bug report? I did not find it. I can create one if you wish.

1 Like

No, I didn’t look into it. And it’d better for the initial persons to report themselves, in case there are questions or feedback asked.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.