docs: append Troubleshooting

pull/109/head
moonrailgun 2 years ago
parent 6d16e09ae1
commit 379cf485ae

@ -3,6 +3,28 @@ sidebar_position: 50
title: Troubleshooting title: Troubleshooting
--- ---
## Deployment related
### How to update the version?
It is the same as getting the image when deploying
```bash
docker pull moonrailgun/tailchat
docker tag moonrailgun/tailchat tailchat
```
Then restart the application, such as `docker compose up -d`
### How to use the specified version?
```bash
docker pull moonrailgun/tailchat:1.8.4
docker tag moonrailgun/tailchat:1.8.4 tailchat
```
Just specify the version number when pulling the image
## Server related ## Server related
### The Websocket connection access is incorrect, the manifestation is that it can be registered but the main interface cannot be opened ### The Websocket connection access is incorrect, the manifestation is that it can be registered but the main interface cannot be opened

@ -3,6 +3,28 @@ sidebar_position: 50
title: 常见问题 title: 常见问题
--- ---
## 部署相关
### 如何更新版本?
和部署时获取镜像一样
```bash
docker pull moonrailgun/tailchat
docker tag moonrailgun/tailchat tailchat
```
然后重启应用即可, 如 `docker compose up -d`
### 如何使用指定版本?
```bash
docker pull moonrailgun/tailchat:1.8.4
docker tag moonrailgun/tailchat:1.8.4 tailchat
```
在拉取镜像的时候指定版本号即可
## 服务端相关 ## 服务端相关
### Websocket 连接访问不正确,表现形式是可以注册但是无法打开主界面 ### Websocket 连接访问不正确,表现形式是可以注册但是无法打开主界面

Loading…
Cancel
Save