peer review and test numbering
This commit is contained in:
parent
d534785542
commit
30b6d251cd
6 changed files with 27 additions and 29 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
2. Remove all containers, including stopped containers:
|
import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx';
|
||||||
|
|
||||||
|
1. Stop all running containers:
|
||||||
|
|
||||||
|
<PartialDockerStopAll />
|
||||||
|
|
||||||
|
1. Remove all containers, including stopped containers:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker rm --force $(docker ps -aq)
|
docker rm --force $(docker ps -aq)
|
||||||
|
|
@ -8,7 +14,7 @@
|
||||||
podman rm --all --force
|
podman rm --all --force
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove all images:
|
1. Remove all images:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker rmi --force $(docker images -q)
|
docker rmi --force $(docker images -q)
|
||||||
|
|
@ -18,7 +24,7 @@
|
||||||
podman rmi --all --force
|
podman rmi --all --force
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Remove all volumes:
|
1. Remove all volumes:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker volume prune --force
|
docker volume prune --force
|
||||||
|
|
@ -28,7 +34,7 @@
|
||||||
podman volume prune --force
|
podman volume prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Remove all networks except the default network:
|
1. Remove all networks except the default network:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker network prune --force
|
docker network prune --force
|
||||||
|
|
@ -38,7 +44,7 @@
|
||||||
podman network prune --force
|
podman network prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Clean up any leftover data:
|
1. Clean up any leftover data:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker system prune --all --force --volumes
|
docker system prune --all --force --volumes
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ If OpenRAG detects OAuth credentials during setup, it recommends **Advanced Setu
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="Advanced setup" label="Advanced setup">
|
<TabItem value="Advanced setup" label="Advanced setup">
|
||||||
|
|
||||||
1. In the TUI, select ** Advanced Setup**.
|
1. In the TUI, select **Advanced Setup**.
|
||||||
|
|
||||||
2. Enter administrator passwords for the OpenRAG OpenSearch and Langflow services.
|
2. Enter administrator passwords for the OpenRAG OpenSearch and Langflow services.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,10 +115,10 @@ You can do this during [initial set up](/docker#setup), or you can add the crede
|
||||||
```
|
```
|
||||||
* **Amazon**: Provide your AWS Access Key ID and AWS Secret Access Key with access to your S3 instance. For more information, see the AWS documentation on [Configuring access to AWS applications](https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-applications.html).
|
* **Amazon**: Provide your AWS Access Key ID and AWS Secret Access Key with access to your S3 instance. For more information, see the AWS documentation on [Configuring access to AWS applications](https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-applications.html).
|
||||||
|
|
||||||
```env
|
```env
|
||||||
AWS_ACCESS_KEY_ID=
|
AWS_ACCESS_KEY_ID=
|
||||||
AWS_SECRET_ACCESS_KEY=
|
AWS_SECRET_ACCESS_KEY=
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Save the `.env` file.
|
3. Save the `.env` file.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,14 +54,14 @@ For other installation methods, see [Select an installation method](/install-opt
|
||||||
3. Wait while the installer script prepares your environment and installs OpenRAG.
|
3. Wait while the installer script prepares your environment and installs OpenRAG.
|
||||||
You might be prompted to install certain dependencies if they aren't already present in your environment.
|
You might be prompted to install certain dependencies if they aren't already present in your environment.
|
||||||
|
|
||||||
The entire process can take a few minutes.
|
The entire process can take a few minutes.
|
||||||
Once the environment is ready, the OpenRAG TUI starts.
|
Once the environment is ready, the OpenRAG TUI starts.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Because the installer script uses `uvx`, it creates a cached, ephemeral environment in your local `uv` cache, and your OpenRAG configuration files and data are stored separately from the `uv` cache.
|
Because the installer script uses `uvx`, it creates a cached, ephemeral environment in your local `uv` cache, and your OpenRAG configuration files and data are stored separately from the `uv` cache.
|
||||||
Clearing the cache doesn't delete your entire OpenRAG installation, only the temporary TUI environment.
|
Clearing the cache doesn't delete your entire OpenRAG installation, only the temporary TUI environment.
|
||||||
After clearing the cache, run `uvx openrag` to [access the TUI](/tui) and continue with your preserved configuration and data.
|
After clearing the cache, run `uvx openrag` to [access the TUI](/tui) and continue with your preserved configuration and data.
|
||||||
|
|
||||||
If you encounter errors during installation, see [Troubleshoot OpenRAG](/support/troubleshoot).
|
If you encounter errors during installation, see [Troubleshoot OpenRAG](/support/troubleshoot).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,16 +70,12 @@ If you want to reinstall one container, specify the container name in the comman
|
||||||
|
|
||||||
<PartialExportFlows />
|
<PartialExportFlows />
|
||||||
|
|
||||||
2. Stop all running containers:
|
|
||||||
|
|
||||||
<PartialDockerStopAll />
|
|
||||||
|
|
||||||
<PartialDockerRemoveAndCleanupSteps />
|
<PartialDockerRemoveAndCleanupSteps />
|
||||||
|
|
||||||
8. Optional: Edit OpenRAG's `.env` file if needed.
|
1. Optional: Edit OpenRAG's `.env` file if needed.
|
||||||
|
|
||||||
9. Optional: If you removed all containers or specifically the OpenSearch container, then you can remove any files from the `~/.openrag/documents` subdirectory that you don't want to reingest after redeploying the containers.
|
1. Optional: If you removed all containers or specifically the OpenSearch container, then you can remove any files from the `~/.openrag/documents` subdirectory that you don't want to reingest after redeploying the containers.
|
||||||
It is recommended that you preserve OpenRAG's [default documents](https://github.com/langflow-ai/openrag/tree/main/openrag-documents).
|
It is recommended that you preserve OpenRAG's [default documents](https://github.com/langflow-ai/openrag/tree/main/openrag-documents).
|
||||||
|
|
||||||
10. If you removed all OpenRAG containers, [redeploy OpenRAG](/docker).
|
1. If you removed all OpenRAG containers, [redeploy OpenRAG](/docker).
|
||||||
If you removed only one container, redeploy that container with the appropriate `docker run` or `podman run` command.
|
If you removed only one container, redeploy that container with the appropriate `docker run` or `podman run` command.
|
||||||
|
|
@ -41,15 +41,11 @@ Use these steps to uninstall a self-managed OpenRAG deployment with streamlined
|
||||||
|
|
||||||
Use these commands to uninstall a self-managed OpenRAG deployment with discrete `docker` or `podman` commands:
|
Use these commands to uninstall a self-managed OpenRAG deployment with discrete `docker` or `podman` commands:
|
||||||
|
|
||||||
1. Stop all running containers:
|
|
||||||
|
|
||||||
<PartialDockerStopAll />
|
|
||||||
|
|
||||||
<PartialDockerRemoveAndCleanupSteps />
|
<PartialDockerRemoveAndCleanupSteps />
|
||||||
|
|
||||||
7. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands.
|
1. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands.
|
||||||
|
|
||||||
8. Stop `docling-serve`:
|
1. Stop `docling-serve`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv run python scripts/docling_ctl.py stop
|
uv run python scripts/docling_ctl.py stop
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue