-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
重启容器时config.json的修改被回滚 #6432
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
看起来似乎在使用一个旧的版本 alist启动时会格式化当前配置文件为支持的配置。 请检查版本 |
这个是最新版容器第一次起动的时候就自动生成的内容,原来文件夹是空的 |
分享下我的解决方案, |
@xhofe 借楼说话,大佬,alist 考虑支持下配置文件远程订阅功能?通过环境变量提供配置订阅url。自动时间周期拉取检查订阅是否有变动? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@xhofe 3.35版本容器重启后配置依然会被重置 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again. |
Please make sure of the following things
I have read the documentation.
我已经阅读了文档。
I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
I'm sure it's due to
AList
and not something else(such as Network ,Dependencies
orOperational
).我确定是
AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.9.2触发,更新到v3.34.0复现(全新重装v3.34.0可以解决)
Driver used / 使用的存储驱动
local
Describe the bug / 问题描述
使用k8s + OpenEBS local卷 + PVC挂载本地硬盘文件夹到容器内的
/opt/alist/data
,可读写。第一次启动前文件夹是空的
当删除Pod或者进行伸缩以重启容器时,config.json的内容被还原到初始状态
Reproduction / 复现链接
/var/openebs/local/pvc-xxxxxxxx/config.json
的文件,修改配置,例如s3配置并启用,保存/opt/alist/data
目录挂载pvc,并将副本调整为1启动Config / 配置
初始配置(v3.9.2)
k8s deployment
Logs / 日志
The text was updated successfully, but these errors were encountered: