Ping monitor: "Platform |openbsd| is not support" #2215

Open
opened 2026-02-28 02:46:54 -05:00 by deekerman · 0 comments
Owner

Originally created by @h3artbl33d on GitHub (May 29, 2023).

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ 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:

Platform |openbsd| is not support

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 execute npm run setup. The package.json:42 shows that npm ci --production is ran, which should omit devDependencies.

If I run npm i @louislam/ping I get the following output:

npm ERR! code 1
npm ERR! path /var/www/status/app/node_modules/cypress
npm ERR! command failed
npm ERR! command sh -c node index.js --exec install
npm ERR! Platform: "openbsd" is not supported.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/status/.npm/_logs/2023-05-29T10_35_00_736Z-debug-0.log

However, running npm i @louislam/ping --production seems to work:

npm WARN config production Use `--omit=dev` instead.

removed 1 package, and audited 657 packages in 57s

90 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (2 moderate, 1 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues, run:
  npm audit fix --force

Run `npm audit` for details.

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

  1. Follow 🔧 How to Install on an OpenBSD machine.
  2. Add a Ping monitor.
  3. The error pops up.

👀 Expected behavior

  1. Follow 🔧 How to Install on an OpenBSD machine.
  2. Add a Ping monitor.
  3. The monitor starts pinging the host at the set interval.

😓 Actual Behavior

  1. Follow 🔧 How to Install on an OpenBSD machine.
  2. Add a Ping monitor.
  3. The error pops up.

🐻 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

Originally created by @h3artbl33d on GitHub (May 29, 2023). ### ⚠️ Please verify that this bug has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/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: ``` Platform |openbsd| is not support ``` 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](https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install#-without-docker-recommended-for-x86x64-only) instructs to execute `npm run setup`. The [`package.json:42`](https://github.com/louislam/uptime-kuma/blob/master/package.json#L42) shows that `npm ci --production` is ran, which should omit devDependencies. If I run `npm i @louislam/ping` I get the following output: ``` npm ERR! code 1 npm ERR! path /var/www/status/app/node_modules/cypress npm ERR! command failed npm ERR! command sh -c node index.js --exec install npm ERR! Platform: "openbsd" is not supported. npm ERR! A complete log of this run can be found in: npm ERR! /var/www/status/.npm/_logs/2023-05-29T10_35_00_736Z-debug-0.log ``` However, running `npm i @louislam/ping --production` seems to work: ``` npm WARN config production Use `--omit=dev` instead. removed 1 package, and audited 657 packages in 57s 90 packages are looking for funding run `npm fund` for details 3 vulnerabilities (2 moderate, 1 high) To address issues that do not require attention, run: npm audit fix To address all issues, run: npm audit fix --force Run `npm audit` for details. ``` 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 1. Follow [🔧 How to Install](https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install#-without-docker-recommended-for-x86x64-only) on an OpenBSD machine. 2. Add a Ping monitor. 3. The error pops up. ### 👀 Expected behavior 1. Follow [🔧 How to Install](https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install#-without-docker-recommended-for-x86x64-only) on an OpenBSD machine. 2. Add a Ping monitor. 3. The monitor starts pinging the host at the set interval. ### 😓 Actual Behavior 1. Follow [🔧 How to Install](https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install#-without-docker-recommended-for-x86x64-only) on an OpenBSD machine. 2. Add a Ping monitor. 3. The error pops up. ### 🐻 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_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#2215
No description provided.