whyour / qinglong

支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
https://qinglong.online
Apache License 2.0
15.74k stars 2.92k forks source link

新镜像出问题了,循环重启。 #874

Closed xyskwjy closed 2 years ago

usrnb commented 2 years ago

遇到同样问题,大概每5秒重启一次

截屏2021-11-12 上午4 25 25 截屏2021-11-12 上午4 25 34
jmullen2 commented 2 years ago

是的,同样的问题

librec commented 2 years ago

======================1. 检测配置文件========================

'/ql/docker/nginx.conf' -> '/etc/nginx/nginx.conf' '/ql/docker/front.conf' -> '/etc/nginx/conf.d/front.conf'

======================2. 安装依赖========================

======================3. 启动nginx========================

nginx启动成功...

======================4. 启动控制面板========================

[PM2][WARN] panel doesn't exist Use --update-env to update environment variables [PM2][ERROR] Process or Namespace panel not found

Huiaei commented 2 years ago

+1

suzukua commented 2 years ago

+10000

fishingworld commented 2 years ago

+10086

maryjeck commented 2 years ago

+1024

ccquan commented 2 years ago

[PM2][WARN] panel doesn't exist Use --update-env to update environment variables [PM2][ERROR] Process or Namespace panel not found

sevensevenmi commented 2 years ago

[PM2][WARN] panel doesn't exist Use --update-env to update environment variables [PM2][ERROR] Process or Namespace panel not found

chengtiannan commented 2 years ago

[PM2][WARN] panel doesn't exist Use --update-env to update environment variables [PM2][ERROR] Process or Namespace panel not found

+1

lizuoqiang commented 2 years ago

+10086

whyour commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

maryjeck commented 2 years ago

armbian-ubuntu-arm64

ukhack commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

+1 这边是群晖docker

borpubi commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

+1 这边是群晖docker

+1 群晖Docker

librec commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

docker in openwrt

xnxy2012 commented 2 years ago

+10086群晖系统,看上面回复应该不是操作系统问题

fishingworld commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

Debian11

asayake777 commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

windows10 21H1 19043.1348

usrnb commented 2 years ago

docker in openwrt

Tsukasa007 commented 2 years ago

docker for centos7.6

walker365 commented 2 years ago

UNRAID 6.9.2 同样的问题

======================1. 检测配置文件========================

'/ql/docker/nginx.conf' -> '/etc/nginx/nginx.conf' '/ql/docker/front.conf' -> '/etc/nginx/conf.d/front.conf'

======================2. 安装依赖========================

======================3. 启动nginx========================

nginx启动成功...

======================4. 启动控制面板========================

[PM2][WARN] panel doesn't exist Use --update-env to update environment variables [PM2][ERROR] Process or Namespace panel not found

yuan1 commented 2 years ago

UNRAID 6.9.2 +1

Panzerlin commented 2 years ago

Synology DSM7.0. last &pre failed

xyskwjy commented 2 years ago

dockerman in openwrt19.07 4.14

Wittoy commented 2 years ago

可暂时先用pre分支

Panzerlin commented 2 years ago

pre 也不行的:/ql/shell/share.sh: line 273: pip3: command not found

xyskwjy commented 2 years ago

pre 也不行的:/ql/shell/share.sh: line 273: pip3: command not found

目测这是没有依赖吧?

Ohtenare commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

dalao直接丢到scripts目录下的js、py脚本,也会自动搜索scripts目录下的jdCookie.js和sendNotify.js依赖文件么?

whyour commented 2 years ago

@Spheniscidaer scripts目录下的,看你脚本咋写的,你肯定写 ./ 就行了吧,难不成你还自己写了目录

xyskwjy commented 2 years ago

@Spheniscidaer scripts目录下的,看你脚本咋写的,你肯定写 ./ 就行了吧,难不成你还自己写了目录

大哥,预计什么时候能修复?

whyour commented 2 years ago

@xyskwjy 没收到频道推送?

Ohtenare commented 2 years ago

@chengtiannan 循环重启的贴下是什么系统

@Spheniscidaer scripts目录下的,看你脚本咋写的,你肯定写 ./ 就行了吧,难不成你还自己写了目录

一版情况都是./sendNotify,那等于说也要手动拉着两个依赖了。

whyour commented 2 years ago

@Spheniscidaer sendnotify 青龙自带,scripts目录本来就有,其他ck文件就没有了,后面依赖管理会加文件依赖

Ohtenare commented 2 years ago

@Spheniscidaer sendnotify 青龙自带,scripts目录本来就有,其他ck文件就没有了,后面依赖管理会加文件依赖

👌,谢谢dalao解答

l123456789jy commented 2 years ago

Error: Cannot find module './sendNotify'

maryjeck commented 2 years ago

2021-11-12T14:03:59: info: ✌️ Sentry loaded 2021-11-12T14:03:59: info: ✌️ DB load failed 2021-11-12T14:03:59: info: ENOENT: no such file or directory, stat '/ql/db/crontab.db' 2021-11-12T14:04:00: info: ✌️ Dependency Injector loaded 2021-11-12T14:04:00: info: ✌️ Express loaded 2021-11-12T14:05:13: info: ✌️ Sentry loaded 2021-11-12T14:05:13: info: ✌️ DB load failed 2021-11-12T14:05:13: info: ENOENT: no such file or directory, stat '/ql/db/crontab.db' 2021-11-12T14:05:14: info: ✌️ Dependency Injector loaded 2021-11-12T14:05:14: info: ✌️ Express loaded 2021-11-12T14:04:00: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:04:00: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:04:00: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:04:00: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2021-11-12T14:04:00: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:04:00: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:04:00: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:04:00: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:04:00: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:05:15: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:05:15: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:05:15: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:05:15: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:05:15: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:05:15: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2021-11-12T14:05:15: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:05:15: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:05:15: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:05:15: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:05:15: at startServer (/ql/back/app.ts:16:3)

maryjeck commented 2 years ago

2.10.4

maryjeck commented 2 years ago

root@qinglong:/ql $ ql check

开始执行... 2021-11-12 14:14:01

=====> 开始检测 ---> 1. 复制通知文件

---> 复制一份 /ql/sample/notify.py 为 /ql/scripts/notify.py

'/ql/sample/notify.py' -> '/ql/scripts/notify.py'

---> 复制一份 /ql/sample/notify.js 为 /ql/scripts/sendNotify.js

'/ql/sample/notify.js' -> '/ql/scripts/sendNotify.js' ---> 通知文件复制完成

---> 2. 复制nginx配置文件

'/ql/docker/nginx.conf' -> '/etc/nginx/nginx.conf' '/ql/docker/front.conf' -> '/etc/nginx/conf.d/front.conf' ---> 配置文件复制完成

=====> 检测面板

<!DOCTYPE html>

=====> 面板服务启动正常

=====> 检测nginx服务 42 root 0:00 nginx: master process nginx -c /etc/nginx/nginx.conf 43 root 0:00 nginx: worker process 44 root 0:00 nginx: worker process 45 root 0:00 nginx: worker process 46 root 0:00 nginx: worker process 47 root 0:00 nginx: worker process 48 root 0:00 nginx: worker process

=====> nginx服务正常

---> pm2日志 2021-11-12T14:09:42: info: ✌️ Sentry loaded 2021-11-12T14:09:42: info: ✌️ DB load failed 2021-11-12T14:09:42: info: ENOENT: no such file or directory, stat '/ql/db/crontab.db' 2021-11-12T14:09:43: info: ✌️ Dependency Injector loaded 2021-11-12T14:09:43: info: ✌️ Express loaded 2021-11-12T14:11:27: info: ✌️ Sentry loaded 2021-11-12T14:11:27: info: ✌️ DB load failed 2021-11-12T14:11:27: info: ENOENT: no such file or directory, stat '/ql/db/dependence.db' 2021-11-12T14:11:28: info: ✌️ Dependency Injector loaded 2021-11-12T14:11:28: info: ✌️ Express loaded 2021-11-12T14:12:37: info: ✌️ Sentry loaded 2021-11-12T14:12:37: info: ✌️ DB load failed 2021-11-12T14:12:37: info: ENOENT: no such file or directory, stat '/ql/db/dependence.db' 2021-11-12T14:12:38: info: ✌️ Dependency Injector loaded 2021-11-12T14:12:38: info: ✌️ Express loaded 2021-11-12T14:13:42: info: ✌️ Sentry loaded 2021-11-12T14:13:43: info: ✌️ DB load failed 2021-11-12T14:13:43: info: ENOENT: no such file or directory, stat '/ql/db/dependence.db' 2021-11-12T14:13:43: info: ✌️ Dependency Injector loaded 2021-11-12T14:13:44: info: ✌️ Express loaded 2021-11-12T14:12:38: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:12:38: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:12:38: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:12:38: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2021-11-12T14:12:38: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:12:38: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:12:38: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:12:38: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:12:38: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:13:44: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:13:44: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:13:44: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:13:44: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2021-11-12T14:13:44: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:13:44: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:13:44: at startServer (/ql/back/app.ts:16:3)

=====> 检测后台

=====> 后台服务异常,重置基础环境并重启后台

---> 1. 开始检测配置文件

---> 配置文件检测完成

---> 2. 开始安装青龙依赖

检测到 /ql 的依赖包有变化,运行 npm install...

Lockfile is up-to-date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +222 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /root/.pnpm-store/v3 Virtual store is at: node_modules/.pnpm Progress: resolved 222, reused 15, downloaded 0, added 14 Progress: resolved 222, reused 222, downloaded 0, added 222, done

dependencies:

 WARN  "prepare" script of "@" inside "/ql" is skipped as the working directory seems suspicious. To run this lifecycle script anyway, use "--unsafe-perm". ---> 青龙依赖安装完成

---> 3. 开始安装脚本依赖

检测到 /ql/scripts 的依赖包有变化,运行 npm install...

Lockfile is up-to-date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +211 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /ql/scripts/.pnpm-store/v3 Virtual store is at: node_modules/.pnpm Progress: resolved 211, reused 147, downloaded 0, added 78 Progress: resolved 211, reused 211, downloaded 0, added 211, done

dependencies:

---> 脚本依赖安装完成

=====> 检测结束

执行结束... 2021-11-12 14:14:15 耗时 14 秒

whyour commented 2 years ago

root@qinglong:/ql $ ql check

开始执行... 2021-11-12 14:14:01

=====> 开始检测 ---> 1. 复制通知文件

---> 复制一份 /ql/sample/notify.py 为 /ql/scripts/notify.py

'/ql/sample/notify.py' -> '/ql/scripts/notify.py'

---> 复制一份 /ql/sample/notify.js 为 /ql/scripts/sendNotify.js

'/ql/sample/notify.js' -> '/ql/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/16.13.1/umd/react.production.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/react-dom/16.13.1/umd/react-dom.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/darkreader@4/darkreader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/codemirror@5/lib/codemirror.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/codemirror@5/mode/shell/shell.js"></script>
<script src="https://cdn.jsdelivr.net/npm/codemirror@5/mode/python/python.js"></script>
<script src="https://cdn.jsdelivr.net/npm/codemirror@5/mode/javascript/javascript.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js"></script>
<script src="/umi.2eb98b16.js"></script>

=====> 面板服务启动正常

=====> 检测nginx服务 42 root 0:00 nginx: master process nginx -c /etc/nginx/nginx.conf 43 root 0:00 nginx: worker process 44 root 0:00 nginx: worker process 45 root 0:00 nginx: worker process 46 root 0:00 nginx: worker process 47 root 0:00 nginx: worker process 48 root 0:00 nginx: worker process

=====> nginx服务正常

---> pm2日志 2021-11-12T14:09:42: info: ✌️ Sentry loaded 2021-11-12T14:09:42: info: ✌️ DB load failed 2021-11-12T14:09:42: info: ENOENT: no such file or directory, stat '/ql/db/crontab.db' 2021-11-12T14:09:43: info: ✌️ Dependency Injector loaded 2021-11-12T14:09:43: info: ✌️ Express loaded 2021-11-12T14:11:27: info: ✌️ Sentry loaded 2021-11-12T14:11:27: info: ✌️ DB load failed 2021-11-12T14:11:27: info: ENOENT: no such file or directory, stat '/ql/db/dependence.db' 2021-11-12T14:11:28: info: ✌️ Dependency Injector loaded 2021-11-12T14:11:28: info: ✌️ Express loaded 2021-11-12T14:12:37: info: ✌️ Sentry loaded 2021-11-12T14:12:37: info: ✌️ DB load failed 2021-11-12T14:12:37: info: ENOENT: no such file or directory, stat '/ql/db/dependence.db' 2021-11-12T14:12:38: info: ✌️ Dependency Injector loaded 2021-11-12T14:12:38: info: ✌️ Express loaded 2021-11-12T14:13:42: info: ✌️ Sentry loaded 2021-11-12T14:13:43: info: ✌️ DB load failed 2021-11-12T14:13:43: info: ENOENT: no such file or directory, stat '/ql/db/dependence.db' 2021-11-12T14:13:43: info: ✌️ Dependency Injector loaded 2021-11-12T14:13:44: info: ✌️ Express loaded 2021-11-12T14:12:38: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:12:38: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:12:38: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:12:38: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2021-11-12T14:12:38: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:12:38: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:12:38: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:12:38: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:12:38: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:13:44: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:13:44: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:13:44: at startServer (/ql/back/app.ts:16:3) 2021-11-12T14:13:44: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2021-11-12T14:13:44: TypeError: Cannot read properties of undefined (reading 'update') 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/initData.ts:18:10) 2021-11-12T14:13:44: at Object.exports.default (/ql/back/loaders/app.ts:16:17) 2021-11-12T14:13:44: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2021-11-12T14:13:44: at startServer (/ql/back/app.ts:16:3)

=====> 检测后台

=====> 后台服务异常,重置基础环境并重启后台

---> 1. 开始检测配置文件

---> 配置文件检测完成

---> 2. 开始安装青龙依赖

检测到 /ql 的依赖包有变化,运行 npm install...

Lockfile is up-to-date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +222 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /root/.pnpm-store/v3 Virtual store is at: node_modules/.pnpm Progress: resolved 222, reused 15, downloaded 0, added 14 Progress: resolved 222, reused 222, downloaded 0, added 222, done

dependencies:

  • @otplib/preset-default 12.0.1
  • @sentry/node 6.14.3
  • @sentry/tracing 6.14.3
  • body-parser 1.19.0
  • celebrate 13.0.4
  • cors 2.8.5
  • cron-parser 3.5.0
  • dotenv 8.6.0
  • express 4.17.1
  • express-jwt 6.1.0
  • express-urlrewrite 1.4.0
  • got 11.8.2
  • hpagent 0.1.2
  • iconv-lite 0.6.3
  • jsonwebtoken 8.5.1
  • lodash 4.17.21
  • nedb 1.8.0
  • node-fetch 2.6.6
  • node-schedule 2.0.0
  • nodemailer 6.7.0
  • p-queue 6.6.2
  • reflect-metadata 0.1.13
  • serve-handler 6.1.3
  • sockjs 0.3.21
  • typedi 0.8.0
  • uuid 8.3.2
  • winston 3.3.3

 WARN  "prepare" script of "@" inside "/ql" is skipped as the working directory seems suspicious. To run this lifecycle script anyway, use "--unsafe-perm". ---> 青龙依赖安装完成

---> 3. 开始安装脚本依赖

检测到 /ql/scripts 的依赖包有变化,运行 npm install...

Lockfile is up-to-date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +211 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /ql/scripts/.pnpm-store/v3 Virtual store is at: node_modules/.pnpm Progress: resolved 211, reused 147, downloaded 0, added 78 Progress: resolved 211, reused 211, downloaded 0, added 211, done

dependencies:

  • crypto-js 4.1.1
  • download 8.0.0
  • got 11.8.2
  • http-server 0.12.3
  • qrcode-terminal 0.12.0
  • request 2.88.2
  • tough-cookie 4.0.0
  • tunnel 0.0.6
  • ws 7.5.5

---> 脚本依赖安装完成

=====> 检测结束

执行结束... 2021-11-12 14:14:15 耗时 14 秒

再更新下

youhunwl commented 2 years ago

@whyour 更新后可以了 但是自定义脚本 报这个错误 EISDIR: illegal operation on a directory, read

siyu99fly commented 2 years ago

群晖DOCKER,执行QL CHECK后仍提示服务异常,请手动执行ql check检查服务状态

xnxy2012 commented 2 years ago

 WARN  "prepare" script of "@" inside "/ql" is skipped as the working directory seems suspicious. To run this lifecycle script anyway, use "--unsafe-perm".
---> 青龙依赖安装完成

---> 3. 开始安装脚本依赖

检测到 /ql/scripts 的依赖包有变化,运行 npm install...

Lockfile is up-to-date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +211
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are cloned from the content-addressable store to the virtual store.
Content-addressable store is at: /root/.pnpm-store/v3
Virtual store is at: node_modules/.pnpm
Progress: resolved 211, reused 211, downloaded 0, added 211, done

dependencies:

---> 脚本依赖安装完成

=====> 检测结束

执行结束... 2021-11-12 15:36:03 耗时 8 秒

librec commented 2 years ago

更新青龙 docker exec -it qinglong ql update 已经可以了

xnxy2012 commented 2 years ago

好的,我试试

更新青龙 docker exec -it qinglong ql update 已经可以了

使用这个方法解决了,非常感谢

xnxy2012 commented 2 years ago

EISDIR: illegal operation on a directory, read 执行脚本报错

catchfishday commented 2 years ago

---> pm2日志 2021-11-12T17:34:13: at next (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/route.js:137:13) 2021-11-12T17:34:13: at Route.dispatch (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/route.js:112:3) 2021-11-12T17:34:13: at Layer.handle [as handle_request] (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/layer.js:95:5) 2021-11-12T17:34:13: at /ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/index.js:281:22 { 2021-11-12T17:34:13: [stack]: 'Error: EISDIR: illegal operation on a directory, read\n' + 2021-11-12T17:34:13: ' at Object.readSync (node:fs:723:3)\n' + 2021-11-12T17:34:13: ' at tryReadSync (node:fs:433:20)\n' + 2021-11-12T17:34:13: ' at Object.readFileSync (node:fs:479:19)\n' + 2021-11-12T17:34:13: ' at Object.getFileContentByName (/ql/back/config/util.ts:8:15)\n' + 2021-11-12T17:34:13: ' at /ql/back/api/script.ts:62:25\n' + 2021-11-12T17:34:13: ' at Layer.handle [as handle_request] (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/layer.js:95:5)\n' + 2021-11-12T17:34:13: ' at next (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/route.js:137:13)\n' + 2021-11-12T17:34:13: ' at Route.dispatch (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/route.js:112:3)\n' + 2021-11-12T17:34:13: ' at Layer.handle [as handle_request] (/ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/layer.js:95:5)\n' + 2021-11-12T17:34:13: ' at /ql/node_modules/.pnpm/express@4.17.1/node_modules/express/lib/router/index.js:281:22', 2021-11-12T17:34:13: [message]: 'EISDIR: illegal operation on a directory, read', 2021-11-12T17:34:13: errno: -21, 2021-11-12T17:34:13: syscall: 'read', 2021-11-12T17:34:13: code: 'EISDIR' 2021-11-12T17:34:13: } 2021-11-12T17:26:58: } 2021-11-12T17:26:58: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(cted with the reason: 2021-11-12T17:26:58: Error: Cannot find module '@otplib/preset-default' 2021-11-12T17:26:58: Require stack: 2021-11-12T17:26:58: - /ql/build/services/user.js 2021-11-12T17:26:58: - /ql/build/api/user.js 2021-11-12T17:26:58: - /ql/build/api/index.js 2021-11-12T17:26:58: - /ql/build/loaders/express.js 2021-11-12T17:26:58: - /ql/build/loaders/app.js 2021-11-12T17:26:58: - /ql/build/app.js 2021-11-12T17:26:58: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) 2021-11-12T17:26:58: 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/i 2021-11-12T17:26:58: at require (node:internal/modules/cjs/helpers:102:18) 2021-11-12T17:26:58: at Object. (/ql/back/services/user.ts:8:1) 2021-11-12T17:26:58: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2021-11-12T17:26:58: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2021-11-12T17:26:58: at Module.load (node:internal/modules/cjs/loader:981:32) 2021-11-12T17:26:58: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2021-11-12T17:26:58: at Module.require (node:internal/modules/cjs/loader:1005:19) 2021-11-12T17:26:58: 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/i

=====> 检测后台

catchfishday commented 2 years ago

升级完了,面板界面点击脚本管理就报错 'Error: EISDIR: illegal operation on a directory, read\n',大佬看看咋回事 image

xnxy2012 commented 2 years ago

升级完了,面板界面点击脚本管理就报错 'Error: EISDIR: illegal operation on a directory, read\n',大佬看看咋回事 image

docker exec -it qinglong ql update 上述命令解决

xnxy2012 commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,您的邮件我已收到,我会尽快给您回复。