惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
WordPress大学
WordPress大学
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
博客园 - Franky
D
Docker
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
U
Unit 42
M
MIT News - Artificial intelligence
B
Blog
GbyAI
GbyAI
C
Check Point Blog
P
Proofpoint News Feed
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
IT之家
IT之家
Google DeepMind News
Google DeepMind News
V
V2EX
Stack Overflow Blog
Stack Overflow Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - uptime-kuma
2026-06-01 · via AUR Newest Packages

Pinned Comments

matth commented on 2025-12-25 11:53 (UTC)

This is now updated to 2.x

2 major changes are:

Set it to run under the user `uptime-kuma` instead of `root`.

Set the data dir to `/var/lib/uptime-kuma` instead of `/usr/lib/node_modules/uptime-kuma/data`

If you are upgrading from 1.x and have existing data you can stop the server and move the data before updating mv /usr/lib/node_modules/uptime-kuma/data /var/lib/uptime-kuma

See the migration guide for other details https://github.com/louislam/uptime-kuma/wiki/Migration-From-v1-To-v2

You can also edit what the data dir is by editing /etc/uptime-kuma/config.env

See the documentation for other environment variables that can be set: https://github.com/louislam/uptime-kuma/wiki/Environment-Variables

bgh commented on 2023-04-17 14:11 (UTC)

Note: a service restart may be required if the web interface is inaccessible after updating

fermino commented on 2026-06-04 04:24 (UTC)

Should npm ci be used instead of npm install to make sure it's deterministic? (To try and avoid any dep injection).

pfonks commented on 2026-05-07 17:24 (UTC)

@matth npm install sqlite3 was run during service startup. The solution was to run

npm install --include=dev
npm rebuild

in /usr/lib/node_modules/uptime-kuma

matth commented on 2026-05-07 15:05 (UTC)

@pfonks No issues running it here. Why are you running npm install of sqlite3? How did you build the package?

pfonks commented on 2026-05-07 07:12 (UTC) (edited on 2026-05-07 08:26 (UTC) by pfonks)

After updating I get the following error during service startup:

$ npm install sqlite3 --save
Cannot find module '/usr/lib/node_modules/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node'

Ape commented on 2026-01-17 10:22 (UTC)

The default config.env in the package should not include these lines:

UPTIME_KUMA_HOST=127.0.0.1
UPTIME_KUMA_PORT=3001

3001 is the default port anyway, so it doesn't do anything. More importantly, the default host is ::. Setting it to 127.0.0.1 is just worse.

matth commented on 2025-12-25 11:53 (UTC)

This is now updated to 2.x

2 major changes are:

Set it to run under the user `uptime-kuma` instead of `root`.

Set the data dir to `/var/lib/uptime-kuma` instead of `/usr/lib/node_modules/uptime-kuma/data`

If you are upgrading from 1.x and have existing data you can stop the server and move the data before updating mv /usr/lib/node_modules/uptime-kuma/data /var/lib/uptime-kuma

See the migration guide for other details https://github.com/louislam/uptime-kuma/wiki/Migration-From-v1-To-v2

You can also edit what the data dir is by editing /etc/uptime-kuma/config.env

See the documentation for other environment variables that can be set: https://github.com/louislam/uptime-kuma/wiki/Environment-Variables

matth commented on 2025-12-15 23:43 (UTC) (edited on 2025-12-15 23:43 (UTC) by matth)

axzxc1236 commented on 2025-11-02 09:58 (UTC)

If you encounter "TypeError: Cannot read properties of undefined (reading 'prototype')", downgrade nodejs to 24.9.0.

thomzane commented on 2025-09-17 15:07 (UTC)

uptime-kuma broke for me somewhat recently due to a node dependency update. I seem to have needed to do this before at some point as well.

node version
node: error while loading shared libraries: libsimdjson.so.26: cannot open shared object file: No such file or directory

This solution of symlinking specific versions is not great, but it worked.

sudo ln -s /lib/libsimdjson.so /usr/lib/libsimdjson.so.26

Test

node --version
v23.11.1

Then the uptime-kuma service was able to launch again.

dvtate commented on 2025-09-09 22:02 (UTC)

This is an AUR package, so it doesn't really matter, but @9fps is right, the webapp package guidelines require that web applications be run as separate, unprivileged users. So if this is to eventually make its way into the official repos that would be a requirement.