GYH
commited on
Commit
·
8f65b41
1
Parent(s):
8d2a400
Update faq.md (#685)
Browse files### What problem does this PR solve?
Updated FAQ: How to upgrade RAGFlow
### Type of change
- [x] Documentation Update
- docs/faq.md +35 -1
docs/faq.md
CHANGED
@@ -382,7 +382,14 @@ This error occurs because there are too many chunks matching your search criteri
|
|
382 |
|
383 |

|
384 |
|
385 |
-
### 9 How to
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
|
387 |
1. Pull the latest source code
|
388 |
```bash
|
@@ -403,3 +410,30 @@ This error occurs because there are too many chunks matching your search criteri
|
|
403 |
```bash
|
404 |
docker compose -f docker-compose-CN.yml up -d
|
405 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
|
383 |

|
384 |
|
385 |
+
### 9 How to upgrade RAGFlow?
|
386 |
+
|
387 |
+
You can upgrade RAGFlow to either the dev version or the latest version
|
388 |
+
- 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.
|
389 |
+
- The latest version is stable and reliable, and works best with RAGFlow users.
|
390 |
+
|
391 |
+
|
392 |
+
Update RAGFlow to dev version:
|
393 |
|
394 |
1. Pull the latest source code
|
395 |
```bash
|
|
|
410 |
```bash
|
411 |
docker compose -f docker-compose-CN.yml up -d
|
412 |
```
|
413 |
+
|
414 |
+
To upgrade RAGFlow to latest version:
|
415 |
+
|
416 |
+
1. Update **ragflow/docker/.env** as follows:
|
417 |
+
```bash
|
418 |
+
RAGFLOW_VERSION=latest
|
419 |
+
```
|
420 |
+
2. Pull the latest source code:
|
421 |
+
```bash
|
422 |
+
cd ragflow
|
423 |
+
git pull
|
424 |
+
```
|
425 |
+
|
426 |
+
3. If you used `docker compose up -d` to start up RAGFlow server:
|
427 |
+
```bash
|
428 |
+
docker pull infiniflow/ragflow:latest
|
429 |
+
```
|
430 |
+
```bash
|
431 |
+
docker compose up ragflow -d
|
432 |
+
```
|
433 |
+
4. If you used `docker compose -f docker-compose-CN.yml up -d` to start up RAGFlow server:
|
434 |
+
```bash
|
435 |
+
docker pull swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:latest
|
436 |
+
```
|
437 |
+
```bash
|
438 |
+
docker compose -f docker-compose-CN.yml up -d
|
439 |
+
```
|