Open h3artbl33d opened 1 year ago
To be clear: Uptime Kuma works, TCP Ping, HTTPS monitors work - so do the notifications. This issue only occurs with a (ICMP) Ping monitor.
Unfortunately, we switched the ping library to node-ping which is not support for OpenBSD.
node-ping should need to be modified in order to support it.
Current workaround: You can use an older version of Uptime Kuma that haven't switched to node-ping, but I can't remember start from which version.
I believe the switch to node-ping was made with uptime-kuma 1.19.4
See also here: https://github.com/louislam/uptime-kuma/pull/2223
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
First and foremost: thank you so much for creating
uptime-kuma
- have been using it for quite some time and am completely happy with it. I do run it on OpenBSD with some monitors. Most are TCP Pings and some HTTPS. However, a 'Ping' monitor throws the following error:I am not versed in NodeJS - so the following might be complete nonsense: it seems to be caused by
cypress
, which is listed as a devDependency. The 🔧 How to Install instructs to executenpm run setup
. Thepackage.json:42
shows thatnpm ci --production
is ran, which should omit devDependencies.If I run
npm i @louislam/ping
I get the following output:However, running
npm i @louislam/ping --production
seems to work:It fix the issue - still getting the same error adding a Ping monitor (even after restarting
uptime-kuma
) - but this might be due to my incompetence with NodeJS / npm.👟 Reproduction steps
👀 Expected behavior
😓 Actual Behavior
🐻 Uptime-Kuma Version
1.21.3
💻 Operating System and Arch
OpenBSD 7.3
🌐 Browser
Chromium 113.0.5672.126
🐋 Docker Version
No response
🟩 NodeJS Version
18.15.0
📝 Relevant log output
No response