4.0.6-2 cron error on Storage Notifications

Hi,

made a fresh VitalPBX install yesterday with debian 11.8.0 netinst. Then used the githup VPS skript.
4.0.6-2 now.

One problem:
i set up email settings and everything is fine.

I added Email on Storage Notifications.
image

and now i get this email ever hour:

Subject: 
Cron <root@xyzpbx> cd / && run-parts --report /etc/cron.hourly
From: 
info@xyz.com (Cron Daemon)
Date: 
08.11.2023, 09:17
Tp: 
root@xyz.com

/etc/cron.hourly/vpbx_check_disk:
/etc/cron.hourly/vpbx_check_disk: 3: [[: not found

I have not check the other notifications.

Can you please help / Fix? Thanks

Even disabled the notification now but because of this error i still get that email every hour, which is very annoying:

/etc/cron.hourly/vpbx_check_disk:
/etc/cron.hourly/vpbx_check_disk: 3: [[: not found

Looks like the Problem are the [[ and ]]

With only [ and ] the “run-parts --report /etc/cron.hourly” runs fine.

Hi, any feedback on this?
Fix in next version?
Thanks

I just reply to myself again:

Should be fixed in 4.0.6 R3

2 Likes