Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker 部署发现定时 依旧沿用原根目录cron脚本 未使用/cron/目录下脚本 [Bug] #258

Closed
jiulan opened this issue Jan 18, 2024 · 8 comments

Comments

@jiulan
Copy link

jiulan commented Jan 18, 2024

💻 系统环境

Other Linux

📦 部署环境

Docker

🐛 问题描述

进入容器发现 原defult_task.sh未更新 导致挂载cron目录 实际未生效
Uploading 企业微信截图_17055398016323.png…

📝 运行日志

No response

@Sitoi
Copy link
Owner

Sitoi commented Jan 18, 2024

把旧的容器删了,重新部署

@Sitoi Sitoi closed this as completed Jan 18, 2024
@jiulan
Copy link
Author

jiulan commented Jan 18, 2024 via email

@Sitoi
Copy link
Owner

Sitoi commented Jan 18, 2024

图呢?日志?docker 内文件? 挂载目录是否正确?

@Sitoi Sitoi reopened this Jan 18, 2024
@jiulan
Copy link
Author

jiulan commented Jan 18, 2024 via email

@Sitoi
Copy link
Owner

Sitoi commented Jan 19, 2024

是啊,用的 cron 目录下的定时任务

@Sitoi Sitoi closed this as completed Jan 19, 2024
@jiulan
Copy link
Author

jiulan commented Jan 19, 2024 via email

@reY2ox
Copy link

reY2ox commented Feb 26, 2024

我也遇到了这个问题。最终我发现是通过阿里的镜像源拉取的镜像是21年封装的,即使作者做到了镜像内的pip更新程序,但是启动程序的脚本还是旧的,所以导致最新的挂载方法无法正确的使用。建议删掉镜像切换源后重新下载镜像。

@jiulan
Copy link
Author

jiulan commented Feb 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants