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

自动更新,多用户版数据丢失 #617

Open
luofan996 opened this issue Dec 16, 2024 · 3 comments
Open

自动更新,多用户版数据丢失 #617

luofan996 opened this issue Dec 16, 2024 · 3 comments

Comments

@luofan996
Copy link

image
image
每次博主更新的时候,我的面板就会自动拉取新版本,然后更新,更新后会清除掉所有的数据所有用户数据,需要重新创建用户使用,请问我如何解决这个问题

@trainliang
Copy link

你有没有配置好文件的映射关系,看描述是数据被清理了

@luofan996
Copy link
Author

luofan996 commented Dec 16, 2024 via email

@trainliang
Copy link

你需要映射容器内文件到宿主机的路径上才能保存文件变动,否则容器内数据在容器更新时或移除时会被清除,启动数据库也是一个道理

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