indentation
This commit is contained in:
parent
3b325d1a1c
commit
2020b924ad
1 changed files with 58 additions and 54 deletions
|
|
@ -64,14 +64,18 @@ If Docling ingestion fails with an OCR-related error and mentions `easyocr` is m
|
||||||
If you're running OpenRAG with `uvx openrag`, `uvx` creates a cached, ephemeral environment that doesn't modify your project. This cache can become stale.
|
If you're running OpenRAG with `uvx openrag`, `uvx` creates a cached, ephemeral environment that doesn't modify your project. This cache can become stale.
|
||||||
|
|
||||||
On macOS, this cache directory is typically a user cache directory such as `/Users/USER_NAME/.cache/uv`.
|
On macOS, this cache directory is typically a user cache directory such as `/Users/USER_NAME/.cache/uv`.
|
||||||
|
|
||||||
1. To clear the uv cache, run:
|
1. To clear the uv cache, run:
|
||||||
```bash
|
|
||||||
uv cache clean
|
```bash
|
||||||
```
|
uv cache clean
|
||||||
|
```
|
||||||
|
|
||||||
2. Start OpenRAG:
|
2. Start OpenRAG:
|
||||||
```bash
|
|
||||||
uvx openrag
|
```bash
|
||||||
```
|
uvx openrag
|
||||||
|
```
|
||||||
|
|
||||||
If you do not need OCR, you can disable OCR-based processing in your ingestion settings to avoid requiring `easyocr`.
|
If you do not need OCR, you can disable OCR-based processing in your ingestion settings to avoid requiring `easyocr`.
|
||||||
|
|
||||||
|
|
@ -88,30 +92,30 @@ First, try removing only the Langflow container, and then retry the upgrade in t
|
||||||
|
|
||||||
1. Stop the Langflow container:
|
1. Stop the Langflow container:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman stop langflow
|
podman stop langflow
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Remove the Langflow container:
|
2. Remove the Langflow container:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman rm langflow --force
|
podman rm langflow --force
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="Docker" label="Docker" default>
|
<TabItem value="Docker" label="Docker" default>
|
||||||
|
|
||||||
1. Stop the Langflow container:
|
1. Stop the Langflow container:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker stop langflow
|
docker stop langflow
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Remove the Langflow container:
|
2. Remove the Langflow container:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker rm langflow --force
|
docker rm langflow --force
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
@ -132,78 +136,78 @@ After removing the containers, retry the upgrade in the OpenRAG TUI by clicking
|
||||||
|
|
||||||
1. Stop all running containers:
|
1. Stop all running containers:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman stop --all
|
podman stop --all
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Remove all containers, including stopped containers:
|
2. Remove all containers, including stopped containers:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman rm --all --force
|
podman rm --all --force
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove all images:
|
3. Remove all images:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman rmi --all --force
|
podman rmi --all --force
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Remove all volumes:
|
4. Remove all volumes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman volume prune --force
|
podman volume prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Remove all networks except the default network:
|
5. Remove all networks except the default network:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman network prune --force
|
podman network prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Clean up any leftover data:
|
6. Clean up any leftover data:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman system prune --all --force --volumes
|
podman system prune --all --force --volumes
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="Docker" label="Docker" default>
|
<TabItem value="Docker" label="Docker" default>
|
||||||
|
|
||||||
1. Stop all running containers:
|
1. Stop all running containers:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker stop $(docker ps -q)
|
docker stop $(docker ps -q)
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Remove all containers, including stopped containers:
|
2. Remove all containers, including stopped containers:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker rm --force $(docker ps -aq)
|
docker rm --force $(docker ps -aq)
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove all images:
|
3. Remove all images:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker rmi --force $(docker images -q)
|
docker rmi --force $(docker images -q)
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Remove all volumes:
|
4. Remove all volumes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker volume prune --force
|
docker volume prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Remove all networks except the default network:
|
5. Remove all networks except the default network:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker network prune --force
|
docker network prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Clean up any leftover data:
|
6. Clean up any leftover data:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker system prune --all --force --volumes
|
docker system prune --all --force --volumes
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
Loading…
Add table
Reference in a new issue