How to install and Uptime-Kuma Node

After seeing Uptime Kuma show up in my Youtube feed, I decided to give it a shot. The Github directions aren’t exactly completely correct. Here is what I need to do in order to run it on a CentOS 8 Node

  1. dnf module enable nodejs:12
    1. Worker_threads module requires the NodeJS 12 version. The software will not install without version 12, and the default is version 10
  2. yum install npm git
    1. The directions assume npm and git are already installed, which on a base installation they are not
  3. git clone https://github.com/louislam/uptime-kuma.git
  4. cd uptime-kuma
  5. npm run setup
  6. npm install pm2 -g
  7. pm2 start server/server.js –name uptime-kuma
    1. You will recieve an error message at “/root/uptime-kuma/server/model/monitor.js:158
      1. Change if (this.getUrl()?.protocol === “https:”) {” to if (this.getUrl().protocol === “https:”) {“
  8. Run command 7 again and go to https://IP:3001
  9. Customize as you see fit

Published by mdicecca112

Systems Engineer from the Greater Boston Area

Leave a comment

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: