xjfkkk
(Xiang)
1
1.部署教程
2.更新uptime kuma
2.1.终止进程
sockstat -4
kill -9 <PID>
2.2.更新Uptime Kuma包
进入到uptime-kuma目录下更新最新包,执行下面命令
git fetch --all
git checkout 1.23.15 --force
1.23.15
后续可根据官网最新版本进行替换
2.3.安装所需依赖
npm install --production
npm run download-dist
2.4.修改ecosystem.config.js文件
module.exports = {
apps: [{
name: "uptime-kuma",
script: "./server/server.js",
env: {
PORT: "port",
PLAYWRIGHT_BROWSERS_PATH: "/nonexistent"
}
}]
};
端口改为你自己的
2.5.启动程序
node start.js
参考文章:
25 Likes
kingduola
(King始皇)
13
npm error code 126
npm error path /usr/home/xxx/domains/xxx/public_html/uptime-kuma/node_modules/@louislam/sqlite3
npm error command failed
npm error command sh -c node-pre-gyp install --fallback-to-build
npm error sh: node-pre-gyp: Permission denied
求助如何解决,已经在uptime-kuma/目录执行777权限了
kingduola
(King始皇)
15
大佬你来了,我看之前你那个帖子最后不知道那个哥们解决没