Replies: 2 comments 1 reply
-
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower -cR <容器名> 更新一次 |
Beta Was this translation helpful? Give feedback.
-
最后你解决了吗 我这儿一直 |
Beta Was this translation helpful? Give feedback.
-
ql check
/ql/shell/api.sh: line 9: tsx: command not found
开始执行... 2023-05-08 08:46:07
=====> 开始检测
检测到旧的db目录,拷贝到data目录...
检测到旧的scripts目录,拷贝到data目录...
检测到旧的log目录,拷贝到data目录...
检测到旧的config目录,拷贝到data目录...
OK: 494 MiB in 201 packages
Writing to /root/.config/pip/pip.conf
ERROR: This version of pnpm requires at least Node.js v16.14
The current version of Node.js is v16.13.1
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
---> 1. 开始检测配置文件
---> 配置文件检测完成
---> 2. 开始安装青龙依赖
安装 /ql 依赖包...
ERROR: This version of pnpm requires at least Node.js v16.14
The current version of Node.js is v16.13.1
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
---> 青龙依赖安装完成
---> 3. 开始安装脚本依赖
安装 /ql/data/scripts 依赖包...
ERROR: This version of pnpm requires at least Node.js v16.14
The current version of Node.js is v16.13.1
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
---> 脚本依赖安装完成
---> 1. 复制通知文件
---> 复制一份 /ql/sample/notify.py 为 /ql/data/scripts/notify.py
'/ql/sample/notify.py' -> '/ql/data/scripts/notify.py'
---> 复制一份 /ql/sample/notify.js 为 /ql/data/scripts/sendNotify.js
'/ql/sample/notify.js' -> '/ql/data/scripts/sendNotify.js'
---> 通知文件复制完成
---> 2. 复制nginx配置文件
'/ql/docker/nginx.conf' -> '/etc/nginx/nginx.conf'
'/ql/docker/front.conf' -> '/etc/nginx/conf.d/front.conf'
---> 配置文件复制完成
=====> 检测面板
<script src="https://gw.alipayobjects.com/os/lib/react/18.2.0/umd/react.production.min.js"></script> <script src="https://gw.alipayobjects.com/os/lib/react-dom/18.2.0/umd/react-dom.production.min.js"></script> <script src="./umi.1901f365.js"></script>=====> 面板服务启动正常
=====> 检测nginx服务
85 nginx: master process nginx -c /etc/nginx/nginx.conf
8275 nginx: worker process
8276 nginx: worker process
8277 nginx: worker process
8279 nginx: worker process
=====> nginx服务正常
---> pm2日志
2023-05-08T08:29:14: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:14: Require stack:
2023-05-08T08:29:14: - /ql/static/build/config/util.js
2023-05-08T08:29:14: - /ql/static/build/config/index.js
2023-05-08T08:29:14: - /ql/static/build/app.js
2023-05-08T08:29:14: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:14: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:14: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:14: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:14: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:14: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:14: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:14: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:14: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:14: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:14: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:14: requireStack: [
2023-05-08T08:29:14: '/ql/static/build/config/util.js',
2023-05-08T08:29:14: '/ql/static/build/config/index.js',
2023-05-08T08:29:14: '/ql/static/build/app.js'
2023-05-08T08:29:14: ]
2023-05-08T08:29:14: }
2023-05-08T08:29:14: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:14: Require stack:
2023-05-08T08:29:14: - /ql/static/build/config/util.js
2023-05-08T08:29:14: - /ql/static/build/config/index.js
2023-05-08T08:29:14: - /ql/static/build/app.js
2023-05-08T08:29:14: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:14: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:14: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:14: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:14: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:14: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:14: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:14: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:14: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:14: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:14: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:14: requireStack: [
2023-05-08T08:29:14: '/ql/static/build/config/util.js',
2023-05-08T08:29:14: '/ql/static/build/config/index.js',
2023-05-08T08:29:14: '/ql/static/build/app.js'
2023-05-08T08:29:14: ]
2023-05-08T08:29:14: }
2023-05-08T08:29:15: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:15: Require stack:
2023-05-08T08:29:15: - /ql/static/build/config/util.js
2023-05-08T08:29:15: - /ql/static/build/config/index.js
2023-05-08T08:29:15: - /ql/static/build/app.js
2023-05-08T08:29:15: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:15: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:15: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:15: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:15: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:15: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:15: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:15: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:15: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:15: requireStack: [
2023-05-08T08:29:15: '/ql/static/build/config/util.js',
2023-05-08T08:29:15: '/ql/static/build/config/index.js',
2023-05-08T08:29:15: '/ql/static/build/app.js'
2023-05-08T08:29:15: ]
2023-05-08T08:29:15: }
2023-05-08T08:29:15: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:15: Require stack:
2023-05-08T08:29:15: - /ql/static/build/config/util.js
2023-05-08T08:29:15: - /ql/static/build/config/index.js
2023-05-08T08:29:15: - /ql/static/build/app.js
2023-05-08T08:29:15: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:15: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:15: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:15: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:15: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:15: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:15: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:15: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:15: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:15: requireStack: [
2023-05-08T08:29:15: '/ql/static/build/config/util.js',
2023-05-08T08:29:15: '/ql/static/build/config/index.js',
2023-05-08T08:29:15: '/ql/static/build/app.js'
2023-05-08T08:29:15: ]
2023-05-08T08:29:15: }
2023-05-08T08:29:15: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:15: Require stack:
2023-05-08T08:29:15: - /ql/static/build/config/util.js
2023-05-08T08:29:15: - /ql/static/build/config/index.js
2023-05-08T08:29:15: - /ql/static/build/app.js
2023-05-08T08:29:15: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:15: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:15: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:15: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:15: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:15: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:15: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:15: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:15: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:15: requireStack: [
2023-05-08T08:29:15: '/ql/static/build/config/util.js',
2023-05-08T08:29:15: '/ql/static/build/config/index.js',
2023-05-08T08:29:15: '/ql/static/build/app.js'
2023-05-08T08:29:15: ]
2023-05-08T08:29:15: }
2023-05-08T08:29:15: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:15: Require stack:
2023-05-08T08:29:15: - /ql/static/build/config/util.js
2023-05-08T08:29:15: - /ql/static/build/config/index.js
2023-05-08T08:29:15: - /ql/static/build/app.js
2023-05-08T08:29:15: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:15: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:15: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:15: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:15: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:15: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:15: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:15: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:15: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:15: requireStack: [
2023-05-08T08:29:15: '/ql/static/build/config/util.js',
2023-05-08T08:29:15: '/ql/static/build/config/index.js',
2023-05-08T08:29:15: '/ql/static/build/app.js'
2023-05-08T08:29:15: ]
2023-05-08T08:29:15: }
2023-05-08T08:29:15: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:15: Require stack:
2023-05-08T08:29:15: - /ql/static/build/config/util.js
2023-05-08T08:29:15: - /ql/static/build/config/index.js
2023-05-08T08:29:15: - /ql/static/build/app.js
2023-05-08T08:29:15: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:15: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:15: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:15: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:15: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:15: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:15: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:15: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:15: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:15: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:15: requireStack: [
2023-05-08T08:29:15: '/ql/static/build/config/util.js',
2023-05-08T08:29:15: '/ql/static/build/config/index.js',
2023-05-08T08:29:15: '/ql/static/build/app.js'
2023-05-08T08:29:15: ]
2023-05-08T08:29:15: }
2023-05-08T08:29:16: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:16: Require stack:
2023-05-08T08:29:16: - /ql/static/build/config/util.js
2023-05-08T08:29:16: - /ql/static/build/config/index.js
2023-05-08T08:29:16: - /ql/static/build/app.js
2023-05-08T08:29:16: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:16: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:16: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:16: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:16: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:16: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:16: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:16: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:16: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:16: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:16: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:16: requireStack: [
2023-05-08T08:29:16: '/ql/static/build/config/util.js',
2023-05-08T08:29:16: '/ql/static/build/config/index.js',
2023-05-08T08:29:16: '/ql/static/build/app.js'
2023-05-08T08:29:16: ]
2023-05-08T08:29:16: }
2023-05-08T08:29:16: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:16: Require stack:
2023-05-08T08:29:16: - /ql/static/build/config/util.js
2023-05-08T08:29:16: - /ql/static/build/config/index.js
2023-05-08T08:29:16: - /ql/static/build/app.js
2023-05-08T08:29:16: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:16: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:16: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:16: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:16: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:16: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:16: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:16: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:16: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:16: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:16: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:16: requireStack: [
2023-05-08T08:29:16: '/ql/static/build/config/util.js',
2023-05-08T08:29:16: '/ql/static/build/config/index.js',
2023-05-08T08:29:16: '/ql/static/build/app.js'
2023-05-08T08:29:16: ]
2023-05-08T08:29:16: }
2023-05-08T08:29:16: Error: Cannot find module 'pstree.remy'
2023-05-08T08:29:16: Require stack:
2023-05-08T08:29:16: - /ql/static/build/config/util.js
2023-05-08T08:29:16: - /ql/static/build/config/index.js
2023-05-08T08:29:16: - /ql/static/build/app.js
2023-05-08T08:29:16: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
2023-05-08T08:29:16: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:61:29)
2023-05-08T08:29:16: at require (node:internal/modules/cjs/helpers:102:18)
2023-05-08T08:29:16: at Object. (/ql/back/config/util.ts:7:1)
2023-05-08T08:29:16: at Module._compile (node:internal/modules/cjs/loader:1101:14)
2023-05-08T08:29:16: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
2023-05-08T08:29:16: at Module.load (node:internal/modules/cjs/loader:981:32)
2023-05-08T08:29:16: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2023-05-08T08:29:16: at Module.require (node:internal/modules/cjs/loader:1005:19)
2023-05-08T08:29:16: at Module.Hook._require.Module.require (/usr/local/pnpm-global/5/node_modules/.pnpm/require-in-the-middle@5.1.0/node_modules/require-in-the-middle/index.js:80:39) {
2023-05-08T08:29:16: code: 'MODULE_NOT_FOUND',
2023-05-08T08:29:16: requireStack: [
2023-05-08T08:29:16: '/ql/static/build/config/util.js',
2023-05-08T08:29:16: '/ql/static/build/config/index.js',
2023-05-08T08:29:16: '/ql/static/build/app.js'
2023-05-08T08:29:16: ]
2023-05-08T08:29:16: }
=====> 检测后台
[PM2] Applying action reloadProcessId on app [public](ids: [ 9 ])
[PM2] Applying action reloadProcessId on app [panel](ids: [ 12 ])
[PM2] public ✓
[PM2] panel ✓
[PM2] Applying action reloadProcessId on app [schedule](ids: [ 13 ])
[PM2] schedule ✓
┌─────┬─────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼─────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 12 │ panel │ default │ N/A │ fork │ 0 │ 0 │ 42 │ errored │ 0% │ 0b │ root │ disabled │
│ 9 │ public │ default │ N/A │ fork │ 0 │ 0 │ 43 │ errored │ 0% │ 0b │ root │ disabled │
│ 13 │ schedule │ default │ N/A │ fork │ 0 │ 0 │ 42 │ errored │ 0% │ 0b │ root │ disabled │
└─────┴─────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
=====> 检测结束
Beta Was this translation helpful? Give feedback.
All reactions