Update from 310.0.5 to 31.0.6 breaks notify-push

I just updated my nextcloud and it broke notify-push server. Here is log output from update

Connection to localhost (127.0.0.1) 7867 port [tcp/*] succeeded!
2025-06-14T19:16:35.623974295Z **** Setting notify_push server URL to https://my.domain.com/push ****
2025-06-14T19:16:36.053337045Z ✓ redis is configured
2025-06-14T19:16:36.080062751Z ✓ push server is receiving redis messages
2025-06-14T19:16:36.088936437Z ✓ push server can load mount info from database
2025-06-14T19:16:36.151884908Z ✓ push server can connect to the Nextcloud server
2025-06-14T19:16:36.210928096Z ✓ push server is a trusted proxy
2025-06-14T19:16:36.229083100Z An unhandled exception has been thrown:
2025-06-14T19:16:36.229126693Z TypeError: strrpos(): Argument #1 ($haystack) must be of type string, false given in /config/www/nextcloud/apps/notify_push/lib/SelfTest.php:197
2025-06-14T19:16:36.229133544Z Stack trace:
2025-06-14T19:16:36.229136285Z #0 /config/www/nextcloud/apps/notify_push/lib/SelfTest.php(197): strrpos()
2025-06-14T19:16:36.229139193Z #1 /config/www/nextcloud/apps/notify_push/lib/Command/Setup.php(48): OCA\NotifyPush\SelfTest->test()
2025-06-14T19:16:36.229157341Z #2 /app/www/public/3rdparty/symfony/console/Command/Command.php(326): OCA\NotifyPush\Command\Setup->execute()
2025-06-14T19:16:36.229160008Z #3 /app/www/public/3rdparty/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run()
2025-06-14T19:16:36.229162952Z #4 /app/www/public/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
2025-06-14T19:16:36.229165730Z #5 /app/www/public/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
2025-06-14T19:16:36.229168322Z #6 /app/www/public/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run()
2025-06-14T19:16:36.229170971Z #7 /app/www/public/console.php(87): OC\Console\Application->run()
2025-06-14T19:16:36.229173193Z #8 /app/www/public/occ(33): require_once('...')
2025-06-14T19:16:36.239723185Z #9 {main}**** There was an error setting the notify_push server URL. Please double check your reverse proxy settings as well as the overwrite.cli.url entry in Nextcloud's config.php ****

I haven’t encountered this issue on my instance. Are you sure it actually worked before the update, and that the issue wasn’t already there and just went unnoticed?

The error message provides some hints what to check:

There was an error setting the notify_push server URL. Please double check your reverse proxy settings as well as the overwrite.cli.url entry in Nextcloud's config.php

So please double check if the notify_push service is running, and if everything is configured correctly according to the documentation, especialy the reverse proxy config of your webserver.

Also make sure thet the trusted_domain, overwrite.cli.url and trusted_proxies settings are set correctly in your config.php. If everything is running on the same machine they should look something like this:

'trusted_domains' => 
  array (
    1 => 'cloud.yourdomain.tld',
  ),

  'overwrite.cli.url' => 'https://cloud.yourdomain.tld',

 'trusted_proxies' => 
  array (
    0 => '127.0.0.1',
    1 => '::1',
  ),

…then run:

occ notify_push:setup "https://cloud.yourdomain.tld/push"

If it still doesn’t work, please post the output of the above command here and fill out the support template. Otherwise, we’re flying blind here.