writinwaters commited on
Commit
fd3a37d
·
1 Parent(s): 983d047

Updated upgrade guide to avoid confusion (#3469)

Browse files

### What problem does this PR solve?



### Type of change


- [x] Documentation Update

docs/guides/upgrade_ragflow.md DELETED
@@ -1,47 +0,0 @@
1
- ---
2
- sidebar_position: 7
3
- slug: /upgrade_ragflow
4
- ---
5
-
6
- # Upgrade RAGFlow
7
-
8
- You can upgrade RAGFlow to dev version or the latest version:
9
-
10
- - A Dev version (Development version) is the latest, tested image.
11
- - The latest version is the most recent, officially published release.
12
-
13
- ## Upgrade RAGFlow to the dev version
14
-
15
- 1. Update **ragflow/docker/.env** as follows:
16
-
17
- ```bash
18
- RAGFLOW_IMAGE=infiniflow/ragflow:dev
19
- ```
20
-
21
- 2. Pull the latest code from inside Docker:
22
-
23
- ```bash
24
- git pull
25
- ```
26
-
27
- 3. Update RAGFlow image and restart RAGFlow:
28
-
29
- ```bash
30
- docker compose -f docker/docker-compose.yml pull
31
- docker compose -f docker/docker-compose.yml up -d
32
- ```
33
-
34
- ## Upgrade RAGFlow to the latest version
35
-
36
- 1. Update **ragflow/docker/.env** as follows:
37
-
38
- ```bash
39
- RAGFLOW_IMAGE=infiniflow/ragflow:latest
40
- ```
41
-
42
- 2. Update the RAGFlow image and restart RAGFlow:
43
-
44
- ```bash
45
- docker compose -f docker/docker-compose.yml pull
46
- docker compose -f docker/docker-compose.yml up -d
47
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
docs/guides/upgrade_ragflow.mdx ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ sidebar_position: 7
3
+ slug: /upgrade_ragflow
4
+ ---
5
+
6
+ # Upgrade RAGFlow
7
+ import Tabs from '@theme/Tabs';
8
+ import TabItem from '@theme/TabItem';
9
+
10
+ You can upgrade RAGFlow to the dev version or the latest version:
11
+
12
+ - The Dev version (Development version) is the latest, tested image.
13
+ - The latest version is the most recent, officially published release. For example, `v0.13.0`.
14
+
15
+
16
+ ## 1. Upgrade RAGFLOW_IMAGE
17
+
18
+ Update **ragflow/docker/.env** as follows:
19
+
20
+ <Tabs
21
+ defaultValue="dev"
22
+ values={[
23
+ {label: 'Upgrade RAGFlow to the dev version', value: 'dev'},
24
+ {label: 'Upgrade RAGFlow to the latest version', value: 'latest'}
25
+ ]}>
26
+ <TabItem value="dev">
27
+
28
+ :::tip IMPORTANT
29
+ The Dev version (Development version) is the latest, tested image.
30
+ :::
31
+
32
+ ```bash
33
+ RAGFLOW_IMAGE=infiniflow/ragflow:dev
34
+ ```
35
+
36
+ </TabItem>
37
+ <TabItem value="latest">
38
+
39
+ :::tip IMPORTANT
40
+ The latest version is the most recent, officially published release. For example, `v0.13.0`.
41
+ :::
42
+
43
+ ```bash
44
+ RAGFLOW_IMAGE=infiniflow/ragflow:latest
45
+ ```
46
+
47
+ </TabItem>
48
+ </Tabs>
49
+
50
+ ## Pull the latest code
51
+
52
+ Pull the latest code from inside Docker:
53
+
54
+ ```bash
55
+ git pull
56
+ ```
57
+
58
+ ## Update RAGFlow image and restart RAGFlow
59
+
60
+ ```bash
61
+ docker compose -f docker/docker-compose.yml pull
62
+ docker compose -f docker/docker-compose.yml up -d
63
+ ```
docs/references/faq.md CHANGED
@@ -400,4 +400,4 @@ This error occurs because there are too many chunks matching your search criteri
400
 
401
  ### 9. How to upgrade RAGFlow?
402
 
403
- See [Upgrade RAGFlow](../guides/upgrade_ragflow.md) for more information.
 
400
 
401
  ### 9. How to upgrade RAGFlow?
402
 
403
+ See [Upgrade RAGFlow](../guides/upgrade_ragflow.mdx) for more information.