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

Update faq.md #685

Merged
merged 2 commits into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 35 additions & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,14 @@ This error occurs because there are too many chunks matching your search criteri

![topn](https://github.com/infiniflow/ragflow/assets/93570324/7ec72ab3-0dd2-4cff-af44-e2663b67b2fc)

### 9 How to update RAGFlow to the latest version?
### 9 How to upgrade RAGFlow?

You can upgrade RAGFlow to either the dev version or the latest version
- Dev versions are for developers and contributors. They are published on a nightly basis and may crash because they are not fully tested. We cannot guarantee their validity and you are at your own risk trying out latest, untested features.
- The latest version is stable and reliable, and works best with RAGFlow users.


Update RAGFlow to dev version:
writinwaters marked this conversation as resolved.
Show resolved Hide resolved

1. Pull the latest source code
```bash
Expand All @@ -403,3 +410,30 @@ This error occurs because there are too many chunks matching your search criteri
```bash
docker compose -f docker-compose-CN.yml up -d
```

To upgrade RAGFlow to latest version:

1. Update **ragflow/docker/.env** as follows:
```bash
RAGFLOW_VERSION=latest
```
2. Pull the latest source code:
```bash
cd ragflow
git pull
```

3. If you used `docker compose up -d` to start up RAGFlow server:
```bash
docker pull infiniflow/ragflow:latest
```
```bash
docker compose up ragflow -d
```
4. If you used `docker compose -f docker-compose-CN.yml up -d` to start up RAGFlow server:
```bash
docker pull swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:latest
```
```bash
docker compose -f docker-compose-CN.yml up -d
```