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

旧版本直接更新出现问题 #230

Open
Hinetane opened this issue Jan 23, 2025 · 5 comments
Open

旧版本直接更新出现问题 #230

Hinetane opened this issue Jan 23, 2025 · 5 comments

Comments

@Hinetane
Copy link

File "/app/settings.py", line 67, in load
2025-01-23T14:27:13.175472253Z raise RuntimeError(f"Failed to load config file: {path}") from e
2025-01-23T14:27:13.175958259Z RuntimeError: Failed to load config file: /app/config/config.json
显示找不到这个文件,但我是从旧版本直接拿过来的,怎么修改已解决这个问题呢?求解

@Hinetane
Copy link
Author

我回退了一个版本即[v2.1.2]正常了,可能v2.2.0版本出现了问题,建议作者检查一下

@amtoaer
Copy link
Owner

amtoaer commented Jan 23, 2025

你是在怎么更新,2.x 版本已经没有 python 了,你上面的报错是 Python 加载文件失败。

@Hinetane
Copy link
Author

你是在怎么更新,2.x 版本已经没有 python 了,你上面的报错是 Python 加载文件失败。

docker直接删除旧版本,然后像旧版本一样重新配置文件

@amtoaer
Copy link
Owner

amtoaer commented Jan 24, 2025

可是为什么上面给的报错还是旧版本的..

新的 Rust 版本(v2.x)不兼容旧的 Python 版本(v1.x)更新,如果你是从 Python 更新过来,那直接拉取 bili-sync-rs 的最新镜像,按照在线文档描述重新配置即可。

@Hinetane
Copy link
Author

可是为什么上面给的报错还是旧版本的..

新的 Rust 版本(v2.x)不兼容旧的 Python 版本(v1.x)更新,如果你是从 Python 更新过来,那直接拉取 bili-sync-rs 的最新镜像,按照在线文档描述重新配置即可。

可能是我的nas问题,我用的是一个比较少见的nas,这个nas的docker只能用它的软件安装,没有任何指令操作。当然也不能指令操作,在这当中可能出现了问题

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

2 participants