Преглед на файлове

Updated upgrade guide to avoid confusion (#3469)

### What problem does this PR solve?



### Type of change


- [x] Documentation Update
tags/v0.14.0
writinwaters преди 11 месеца
родител
ревизия
f4e9dae33a
No account linked to committer's email address
променени са 3 файла, в които са добавени 64 реда и са изтрити 48 реда
  1. 0
    47
      docs/guides/upgrade_ragflow.md
  2. 63
    0
      docs/guides/upgrade_ragflow.mdx
  3. 1
    1
      docs/references/faq.md

+ 0
- 47
docs/guides/upgrade_ragflow.md Целия файл

@@ -1,47 +0,0 @@
---
sidebar_position: 7
slug: /upgrade_ragflow
---

# Upgrade RAGFlow

You can upgrade RAGFlow to dev version or the latest version:

- A Dev version (Development version) is the latest, tested image.
- The latest version is the most recent, officially published release.

## Upgrade RAGFlow to the dev version

1. Update **ragflow/docker/.env** as follows:

```bash
RAGFLOW_IMAGE=infiniflow/ragflow:dev
```

2. Pull the latest code from inside Docker:

```bash
git pull
```

3. Update RAGFlow image and restart RAGFlow:

```bash
docker compose -f docker/docker-compose.yml pull
docker compose -f docker/docker-compose.yml up -d
```

## Upgrade RAGFlow to the latest version

1. Update **ragflow/docker/.env** as follows:

```bash
RAGFLOW_IMAGE=infiniflow/ragflow:latest
```

2. Update the RAGFlow image and restart RAGFlow:

```bash
docker compose -f docker/docker-compose.yml pull
docker compose -f docker/docker-compose.yml up -d
```

+ 63
- 0
docs/guides/upgrade_ragflow.mdx Целия файл

@@ -0,0 +1,63 @@
---
sidebar_position: 7
slug: /upgrade_ragflow
---

# Upgrade RAGFlow
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

You can upgrade RAGFlow to the dev version or the latest version:

- The Dev version (Development version) is the latest, tested image.
- The latest version is the most recent, officially published release. For example, `v0.13.0`.


## 1. Upgrade RAGFLOW_IMAGE

Update **ragflow/docker/.env** as follows:

<Tabs
defaultValue="dev"
values={[
{label: 'Upgrade RAGFlow to the dev version', value: 'dev'},
{label: 'Upgrade RAGFlow to the latest version', value: 'latest'}
]}>
<TabItem value="dev">

:::tip IMPORTANT
The Dev version (Development version) is the latest, tested image.
:::

```bash
RAGFLOW_IMAGE=infiniflow/ragflow:dev
```

</TabItem>
<TabItem value="latest">

:::tip IMPORTANT
The latest version is the most recent, officially published release. For example, `v0.13.0`.
:::

```bash
RAGFLOW_IMAGE=infiniflow/ragflow:latest
```

</TabItem>
</Tabs>

## Pull the latest code

Pull the latest code from inside Docker:

```bash
git pull
```

## Update RAGFlow image and restart RAGFlow

```bash
docker compose -f docker/docker-compose.yml pull
docker compose -f docker/docker-compose.yml up -d
```

+ 1
- 1
docs/references/faq.md Целия файл

@@ -400,4 +400,4 @@ This error occurs because there are too many chunks matching your search criteri

### 9. How to upgrade RAGFlow?

See [Upgrade RAGFlow](../guides/upgrade_ragflow.md) for more information.
See [Upgrade RAGFlow](../guides/upgrade_ragflow.mdx) for more information.

Loading…
Отказ
Запис