Skip to content

HPB Service Down and Notify_Push Issue #2146

Description

@michael2024

Hi,
After upgrading NCP and Debian to Trixie the HPB Service is reported to be down in the panel.

sudo -u www-data php /var/www/nextcloud/occ notify_push:self-test
reports
✓ 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 not a trusted proxy by Nextcloud or another proxy in the chain.
Nextcloud resolved the following client address for the test request: "Invalid response when testing if the push server is a trusted proxy: invalid IP address syntax" instead of the expected "1.2.3.4" test value.
The following trusted proxies are currently configured: "127.0.0.1", "::1"
The following x-forwarded-for header was received by Nextcloud: ""
from the following remote: 1.2.3.4

No x-forwarded-for header was received by Nextcloud, 1.2.3.4 seems to be stripping the header from the request
Please configure the reverse proxy at 1.2.3.4 to not strip the x-forwarded-for header

If you're having issues getting the trusted proxy setup working, you can try bypassing any existing reverse proxy
in your setup by setting the NEXTCLOUD_URL environment variable to point directly to the internal Nextcloud webserver url
(You will still need the ip address of the push server added as trusted proxy)

Any ideas?
Thanks
Regards,
M

NextcloudPi version v1.58.0
NextcloudPi image NextcloudPi_12-10-25
OS Debian GNU/Linux 13 (trixie). 6.18.50+rpt-rpi-2712 (aarch64 )
automount no
USB devices none
datadir /opt/ncdata/data
data in SD yes
data filesystem ext2/ext3
data disk usage 229G/470G
rootfs usage 229G/470G
swapfile /var/swap
dbdir /var/lib/mysql/
Nextcloud check ok
Nextcloud version 33.0.9.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service down
Postfix service up
Internet check ok
Public IPv4 REMOVED SENSITIVE VALUE
Public IPv6 REMOVED SENSITIVE VALUE
Port 80 open
Port 443 open
IP REMOVED SENSITIVE VALUE
Gateway REMOVED SENSITIVE VALUE
Interface eth0
Certificates REMOVED SENSITIVE VALUE
NAT loopback no
Uptime 6:36

</details>


<details>
<summary>Nextcloud configuration</summary>

{
"system": {
"config_is_read_only": false,
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": {
"0": "localhost",
"3": "cloud.mydomain.com",
"2": "127.0.0.1",
"14": "nextcloudpi"
},
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "33.0.9.1",
"overwrite.cli.url": "https:\\cloud.mydomain.com",
"overwriteprotocol": "https",
"overwritehost": "cloud.mydomain.com",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"instanceid": "REMOVED SENSITIVE VALUE",
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"timeout": 0,
"password": "REMOVED SENSITIVE VALUE"
},
"tempdirectory": "/opt/ncdata/data/tmp",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"remember_login_cookie_lifetime": "0",
"session_lifetime": 3600,
"auto_logout": true,
"maintenance": false,
"davstorage.request_timeout": 120,
"logfile": "/opt/ncdata/data/nextcloud.log",
"trusted_proxies": "REMOVED SENSITIVE VALUE",
"loglevel": "2",
"log_type": "file",
"maintenance_window_start": 2,
"default_phone_region": "49",
"mail_sendmailmode": "smtp",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"defaultapp": "",
"theme": "",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"admin"
],
"twofactor_enforced_excluded_groups": [],
"data-fingerprint": "REMOVED",
"theme_use_custom_icons": false,
"serverid": 71,
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
]
}
}

Activity

  1. changed the title [-]HPB Service Down and Trusted Proxy Issue[/-] [+]HPB Service Down and Notify_Push Issue[/+] on Oct 2, 2026
  2. geoW-n commented on Oct 3, 2026

    @geoW-n

    You may try
    sudo systemctl restart notify_push
    to get the hpb server up and running.

  3. geoW-n commented on Oct 3, 2026

    @geoW-n

    I got the error message, too, but hpb is up and running. To your information:

    pi@nextcloudpi:~ $ sudo ncp-config
    Running nc-info
    Gathering information...
    NextcloudPi version  v1.58.0
    NextcloudPi image    NextCloudPi_RaspberryPi_v1.50.5.img
    OS                   Debian GNU/Linux 13 (trixie). 6.1.21-v8+ (aarch64)
    automount            yes
    USB devices          sda sdb 
    datadir              /opt/ncdata/data
    data in SD           yes
    data filesystem      ext2/ext3
    data disk usage      39G/220G
    rootfs usage         39G/220G
    swapfile             /var/swap
    dbdir                /var/lib/mysql
    Nextcloud check      ok
    Nextcloud version    33.0.9.1
    HTTPD service        up
    PHP service          up
    MariaDB service      up
    Redis service        up
    HPB service          up
    Postfix service      up
    Internet check       ok
    Public IPv4          ***
    Public IPv6          ***
    Port 80              closed
    Port 443             closed
    IP                   192.168.2.32
    Gateway              192.168.2.1
    Interface            end0
    Certificates         none
    NAT loopback         no
    Uptime               94days
    
    
    You should run Lets Encrypt for trusted encrypted access
    
    You should open your ports for Lets Encrypt and external access
    
    You should use nc-datadir to move your files to your plugged in USB drive
    Done. Press any key...
    
    pi@nextcloudpi:~ $
    

    - notify_push: 1.4.1

    ● notify_push.service - Push daemon for Nextcloud clients
         Loaded: loaded (/etc/systemd/system/notify_push.service; enabled; preset: enabled)
         Active: active (running) since Sat 2026-10-03 06:01:26 CEST; 5h 14min ago
     Invocation: c801418580374b0581137398dde5c04e
       Main PID: 3345119 (notify_push)
          Tasks: 5 (limit: 3932)
            CPU: 3.699s
         CGroup: /system.slice/notify_push.service
                 └─3345119 /var/www/nextcloud/apps/notify_push/bin/aarch64/notify_push --allow-self-signed /var/www/nextcloud/config/config.php
    
    Okt 03 06:01:26 nextcloudpi systemd[1]: Started notify_push.service - Push daemon for Nextcloud clients.
    Okt 03 07:34:51 nextcloudpi notify_push[3345119]: [2026-10-03 07:34:51.059492 +02:00] WARN [notify_push::connection] src/connection.rs:100: Invalid credent>
    
  4. michael2024 commented on Oct 3, 2026

    @michael2024
    Author

    HPB problem solved: Trailing slash was missing in config.php for overwrite.cli.url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions