whyour / qinglong

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

玩客云青龙升级后,无法在线调试 #2382

Closed mayishidai closed 4 months ago

mayishidai commented 4 months ago

Qinglong version

正式版 v2.17.5

Steps to reproduce

image image image image

脚本管理-》python脚本-》调试-》报错 重启过了,依然无法调试

What is expected?

能正常调试

What is actually happening?

写在重现步骤了~~

System Info

No response

Any additional comments?

No response

mayishidai commented 4 months ago

image

whyour commented 4 months ago

看你 /usr/local/bin 目录下是没有 task 文件了?

whyour commented 4 months ago

看你容器里还有 ql 命令吗,从哪个版本升上来的

mayishidai commented 4 months ago

从最新版本的倒数第3个版本升级上来的,casaos面板也无法启动了 image image

mayishidai commented 4 months ago

image

whyour commented 4 months ago

image

你这容器不是启动失败了吗,/usr/local/bin 容器内的这个目录,你是在面板内升级的?

whyour commented 4 months ago

倒数第三个版本 是 2.17.2 ?

mayishidai commented 4 months ago

是的

mayishidai commented 4 months ago

2024-05-29.log 这个是更新后日志

mayishidai commented 4 months ago

下面是我的详细操作步骤: 1、我是下午调试python脚本发现不是很顺畅 2、我就去看了下最近更新,看到有关于任务启动相关的,我就点了升级(有点印象我当前好像是2.17.2) 3、升级完成后,我在面板点的重新启动 4、发现不能调试了,我又在面板重启了一次 5、然后发现还是不行,我就来git求助了 6、这时候的容器还是在运行的 6、刚看到您让我看ql容器,我想着重启碰碰运气,就重启了容器 7、就再也起不来了

whyour commented 4 months ago

下面是我的详细操作步骤: 1、我是下午调试python脚本发现不是很顺畅 2、我就去看了下最近更新,看到有关于任务启动相关的,我就点了升级(有点印象我当前好像是2.17.2) 3、升级完成后,我在面板点的重新启动 4、发现不能调试了,我又在面板重启了一次 5、然后发现还是不行,我就来git求助了 6、这时候的容器还是在运行的 6、刚看到您让我看ql容器,我想着重启碰碰运气,就重启了容器 7、就再也起不来了

有备份 data 目录的话,先更新下镜像,然后容器删了重新创建

mayishidai commented 4 months ago

好的,我在更新前点了备份,本来以防万一的,没想到真用上了

mayishidai commented 4 months ago

我是在青龙面板点的备份

whyour commented 4 months ago

我是在青龙面板点的备份

或者你可以先看看容器重启报什么错,新建容器的时候应该也能设置映射的目录

mayishidai commented 4 months ago

看起来是丢了些东西 image

mayishidai commented 4 months ago

image

whyour commented 4 months ago

里面文件好像都没了,容器没用了

mayishidai commented 4 months ago

是的,看起来只能重新建容器了,您还需要什么信息么,没有的话,我准备重建了

whyour commented 4 months ago

@mayishidai 没有了,你现在的镜像是最新的?如果不是可以先不升级镜像,在面板内再升级试试

mayishidai commented 4 months ago

我现在的镜像应该是最新的,用的latest版本

mayishidai commented 4 months ago

我创一个试试看,我还在想要不要回退到stable版本去

whyour commented 4 months ago

latest

latest 就是 stable 版本

mayishidai commented 4 months ago

我现在用的上面这个 image 这两个是一样的么。。

whyour commented 4 months ago

我现在用的上面这个 image 这两个是一样的么。。

看上去没区别

mayishidai commented 4 months ago

好的 ~~~

mayishidai commented 4 months ago

重建后可以用了

mayishidai commented 4 months ago

借楼请教一个,请问现在青龙不能通过casaos面板,增加容器卷么,我增加后,发现并没有生效 image image

whyour commented 4 months ago

借楼请教一个,请问现在青龙不能通过casaos面板,增加容器卷么,我增加后,发现并没有生效

image

image

得重新创建容器