Could not test target: could not notify via endpoint(s): Gotify: io: Permission denied (os error 13) (500)
I upgraded to PBS 9 recently and now Gotify notification are not working any longer:
Could not test target: could not notify via endpoint(s): Gotify: io: Permission denied (os error 13) (500)
Using curl to send a Gotify message to my Gotify-Server works. So not a network issue. On PVE 9 the Gotify notifications are working after upgrade. Any idea?
Sorry Lukas for my mistake: I upgraded PBS from 3 to 4 and with this Gotify notifications are not working any more. PBS 3 was installed via ISO on bare metal hardware.Just to double check, are you experiencing the problem under PBS 4 or PVE 9? (since you wrote PBS 9...)
Anything noteworthy about your setup? E.g. if it is PBS, did you install it straight from the ISO installer or was it installed it on top of Debian? Anything non-standard with regards to your disk partitions/mount-points? Do you maybe run PBS in a container or something?
The code throwing the error runs as the root user, so I'm wondering why it might throw a 'Permission denied' at all...
ERROR: could not notify via target `Gotify`: could not notify via endpoint(s): Gotify: http status: 500
Looks like Gotify notifications in PVE 9 and PBS 4 are not working properly.
Could you provide me with the outputs of
Also, which version of Gotify do you use? Do you see anything useful in Gotify's logs? There should be reqests to the '/message' endpoint whenever PBS/PVE tries to send a notification, but at this point I'm not sure if it ever goes that far. The PVE logs seem to indicate that there's something going on the Gotify side, while the PBS error appears like it does not even get to send the HTTP request - odd.
- pveversion -v (for the PVE node)
- proxmox-backup-manager versions --verbose (for the PBS node)
root@pve:~# pveversion -v
proxmox-ve: 9.0.0 (running kernel: 6.14.8-2-pve)
pve-manager: 9.0.5 (running version: 9.0.5/9c5600b249dbfd2f)
proxmox-kernel-helper: 9.0.3
proxmox-kernel-6.14.8-2-pve-signed: 6.14.8-2
proxmox-kernel-6.14: 6.14.8-2
proxmox-kernel-6.8.12-13-pve-signed: 6.8.12-13
proxmox-kernel-6.8: 6.8.12-13
ceph-fuse: 19.2.3-pve1
corosync: 3.1.9-pve2
criu: 4.1.1-1
frr-pythontools: 10.3.1-1+pve4
ifupdown2: 3.3.0-1+pmx9
intel-microcode: 3.20250512.1
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libproxmox-acme-perl: 1.7.0
libproxmox-backup-qemu0: 2.0.1
libproxmox-rs-perl: 0.4.1
libpve-access-control: 9.0.3
libpve-apiclient-perl: 3.4.0
libpve-cluster-api-perl: 9.0.6
libpve-cluster-perl: 9.0.6
libpve-common-perl: 9.0.9
libpve-guest-common-perl: 6.0.2
libpve-http-server-perl: 6.0.4
libpve-network-perl: 1.1.6
libpve-rs-perl: 0.10.10
libpve-storage-perl: 9.0.13
libspice-server1: 0.15.2-1+b1
lvm2: 2.03.31-2+pmx1
lxc-pve: 6.0.4-2
lxcfs: 6.0.4-pve1
novnc-pve: 1.6.0-3
proxmox-backup-client: 4.0.14-1
proxmox-backup-file-restore: 4.0.14-1
proxmox-backup-restore-image: 1.0.0
proxmox-firewall: 1.1.1
proxmox-kernel-helper: 9.0.3
proxmox-mail-forward: 1.0.2
proxmox-mini-journalreader: 1.6
proxmox-offline-mirror-helper: 0.7.0
proxmox-widget-toolkit: 5.0.5
pve-cluster: 9.0.6
pve-container: 6.0.9
pve-docs: 9.0.8
pve-edk2-firmware: 4.2025.02-4
pve-esxi-import-tools: 1.0.1
pve-firewall: 6.0.3
pve-firmware: 3.16-3
pve-ha-manager: 5.0.4
pve-i18n: 3.5.2
pve-qemu-kvm: 10.0.2-4
pve-xtermjs: 5.5.0-2
qemu-server: 9.0.18
smartmontools: 7.4-pve1
spiceterm: 3.4.0
swtpm: 0.8.0+pve2
vncterm: 1.9.0
zfsutils-linux: 2.3.3-pve1
root@pbs:~# proxmox-backup-manager versions --verbose
proxmox-backup 4.0.0 running kernel: 6.14.8-2-pve
proxmox-backup-server 4.0.14-1 running version: 4.0.14
proxmox-kernel-helper 9.0.3
proxmox-kernel-6.14.8-2-pve-signed 6.14.8-2
proxmox-kernel-6.14 6.14.8-2
proxmox-kernel-6.8.12-13-pve-signed 6.8.12-13
proxmox-kernel-6.8 6.8.12-13
proxmox-kernel-6.8.12-11-pve-signed 6.8.12-11
ifupdown2 3.3.0-1+pmx9
libjs-extjs 7.0.0-5
proxmox-backup-docs 4.0.14-1
proxmox-backup-client 4.0.14-1
proxmox-mail-forward 1.0.2
proxmox-mini-journalreader 1.6
proxmox-offline-mirror-helper 0.7.0
proxmox-widget-toolkit 5.0.5
pve-xtermjs 5.5.0-2
smartmontools 7.4-pve1
zfsutils-linux 2.3.3-pve1
No, that would give them a different kind of error. Also then it also would not have worked with PVE8/PBS3.You are probably missinghttp://
before the server address.
Did you try curl from the PBS host as root?Using curl to send a Gotify message to my Gotify-Server works.
/usr/share/proxmox-backup/templates/...
(with possible override which is checked first at /etc/proxmox-backup/notification-templates
) or when doing the HTTP POST (TCP connection).man connect
one can also get a Permission Denied error when the connection is blocked by a local firewall rule:EPERM The user tried to connect to a broadcast address without having the socket broadcast flag enabled or the connection request failed because of a local firewall
rule.
can you confirm if this problem also impact PVE 3.4.1.1 and PBS 3.4.6? Because are also getting randomly high CPU usage on some of our VMsHi,
thanks for the report. This issue has already been diagnosed and patches are available on the developers mailing list. See https://lore.proxmox.com/pbs-devel/20250806142927.344007-1-s.hanreich@proxmox.com/T/ Should be fixed in an upcoming bugfix version.
SKIP: System booted in legacy-mode - no need for additional pacckages.
SKIP: System booted in legacy-mode - no need for additional packages.
send a patch for this just yesterday: https://lore.proxmox.com/pbs-devel/20250818194026.840749-2-s.ivanov@proxmox.com/T/#uJust a nitpick running pbs3to4:
SKIP: System booted in legacy-mode - no need for additional pacckages.
should be
SKIP: System booted in legacy-mode - no need for additional packages.
(One less c in packages!)
hard to tell since it is not clear what you are comparing... Pre PBS4 there was no S3 backend for datastores, so when you state that usually the files are uploaded in under an hour, what are you referring to?While performing the sync job to offload my backups with PVE 9 (latest updates), I have longer than usual upload times. The throughput is very low, but my connection is 300Mbit/s in upload. Usually it takes under an hour for my files to get uploaded, but PBS4 takes around 15 hours.
Is it something known or is it maybe normal? I have encrpyted backups and use C2 immutable.
Hi Chris,Hi,
hard to tell since it is not clear what you are comparing... Pre PBS4 there was no S3 backend for datastores, so when you state that usually the files are uploaded in under an hour, what are you referring to?
There is still room for improvements of course...
Note however, there are users which report good throughput, e.g. see https://forum.proxmox.com/threads/s3-buckets-constantly-failing-verification-jobs.169875/post-793894
What disk are you using as backing device for the local cache?Hi Chris,
thanks for getting back to me.
I compare throughput based on Veeam Backup with VMware ESXi to the same C2 backend and on my connection. The raw throughput is around 130GBytes/h in upload.
proxmox-backup-client benchmark --no-cache --repository <your-repository>
on the PVE host to check performance when bypassing the local cache, and again without the flag set to compare.It's based on NFS on a Synology NAS.What disk are you using as backing device for the local cache?
We use essential cookies to make this site work, and optional cookies to enhance your experience.