Skip to content

Commit

Permalink
docs: 更新FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Sep 3, 2022
1 parent 9c8913e commit a703299
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
>
> [如何升级](https://vanblog.mereith.com/guide/update.html)
>
> [更新后后台报错||一直加载中](https://vanblog.mereith.com/guide/update.html#%E6%9B%B4%E6%96%B0%E5%90%8E%E5%90%8E%E5%8F%B0%E6%8A%A5%E9%94%99%26%E4%B8%80%E7%9B%B4%E5%8A%A0%E8%BD%BD%E4%B8%AD)
>
> [更多常见问题](https://vanblog.mereith.com/ref/faq.html)
## 说明与文档
Expand Down
18 changes: 18 additions & 0 deletions docs/guide/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,21 @@ docker run -d \
因为本质上我们是静态页面,升级后容器内是没有按照你的当前数据生成的静态页面的。

每次容器启动时都会自动触发增量渲染,等一会触发完成后就再打开就正常了。

## 更新后后台报错&一直加载中

您清空浏览器缓存再重新加载就好了,如果是 `Chrome` 浏览器,您可以按 `F12` 打开开发者工具。在网络选项卡中勾选`停用缓存`,然后再刷新页面即可(刷新时开发者工具窗口不要关),正常后记得取消勾选`停用缓存`

其他浏览器可以自行百度。

![](https://www.mereith.com/static/img/5efb32214a31c1003df5eeba217a5586.clipboard-2022-09-03.png)

## 如何回滚

您可以通过指定镜像的版本号来实现,比如您想回滚到 `v0.29.0`,那您可以修改编排中的:

`mereith/van-blog:latest``mereith/van-blog:v0.29.0` ,然后运行:

```bash
sudo docker-compose down && sudo docker-compose up -d
```

0 comments on commit a703299

Please sign in to comment.