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

请问升级的步骤如何? #12

Closed
matthewxmzhang opened this issue Apr 17, 2018 · 4 comments
Closed

请问升级的步骤如何? #12

matthewxmzhang opened this issue Apr 17, 2018 · 4 comments

Comments

@matthewxmzhang
Copy link

背景:
之前用docker的方式部署了一版本。假设已经投入使用,已经有业务使用数据。
问题:
请问有建议的升级步骤吗?
我想到的方法:
备份data/db && data/uploads数据。
然后把已有的镜像删除后重新按照docker的安装方式安装后,再用备份的data/db && data/uploads数据还原? 如果用该方法,会覆盖了actionview新版的数据库表?

@lxerxa
Copy link
Owner

lxerxa commented Apr 18, 2018

步骤应该是这个样子,最近数据库表结构没发生变化,变化的只是数据,这些数据管理员都可以通过修改配置生成出来,所以问题不大。
另外,最新版的docker web镜像还没生成,会尽快push的。

@lxerxa
Copy link
Owner

lxerxa commented Apr 18, 2018

最新的docker web镜像已push

@matthewxmzhang
Copy link
Author

谢谢,明白。我好奇的是,假如数据库表结构发生变化了的情况呢?有好的升级建议吗?

@lxerxa
Copy link
Owner

lxerxa commented Apr 18, 2018

这个就比较复杂了,可能需要具体问题具体分析了,代码升级时尽量避免这种情况,实在万不得已才改动。

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