Hello everyone,
I have a small problem with the setup of the notify_push app.
As far as I can tell, the furnishings look good and all the points I asked about are confirmed positively.
Only the last point looks as if the version is not displayed correctly.
I hope someone has an idea what I could do or how I could investigate the error further.
The Basics
- Nextcloud Server version 31.0.6.2:
replace me
- Operating system and version Debian 12:
- PHP version 8.3:
- Is this the first time you’ve seen this error? Yes
Summary of the issue you are facing:
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
An unhandled exception has been thrown:
TypeError: strrpos(): Argument #1 ($haystack) must be of type string, false given in /var/www/cloud/html/apps/notify_push/lib/SelfTest.php:197
Stack trace:
#0 /var/www/cloud/html/apps/notify_push/lib/SelfTest.php(197): strrpos()
#1 /var/www/cloud/html/apps/notify_push/lib/Command/Setup.php(48): OCA\NotifyPush\SelfTest->test()
#2 /var/www/cloud/html/3rdparty/symfony/console/Command/Command.php(326): OCA\NotifyPush\Command\Setup->execute()
#3 /var/www/cloud/html/3rdparty/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run()
#4 /var/www/cloud/html/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#5 /var/www/cloud/html/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#6 /var/www/cloud/html/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run()
#7 /var/www/cloud/html/console.php(87): OC\Console\Application->run()
#8 /var/www/cloud/html/occ(33): require_once(‘…’)
Steps to replicate it (hint: details matter!):
- Install clean Nextcloud
- Enable notify_push
- Adjust settings according to specifications
- run “occ notify_push:setup [URL]/push”