mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Update Uninstall Documentation for Khoj Server when Self Hosting
This commit is contained in:
parent
5d52dc5b35
commit
98081bc0d3
1 changed files with 25 additions and 7 deletions
|
@ -242,13 +242,31 @@ docker-compose up --build
|
||||||
- See the [khoj plugin setup](/obsidian.md?id=_2-setup-plugin) for details
|
- See the [khoj plugin setup](/obsidian.md?id=_2-setup-plugin) for details
|
||||||
|
|
||||||
## Uninstall
|
## Uninstall
|
||||||
1. (Optional) Hit `Ctrl-C` in the terminal running the khoj server to stop it
|
### Uninstall Khoj Server
|
||||||
2. Delete the khoj directory in your home folder (i.e `~/.khoj` on Linux, Mac or `C:\Users\<your-username>\.khoj` on Windows)
|
|
||||||
5. You might want to `rm -rf` the following directories:
|
<!-- tabs:start -->
|
||||||
- `~/.khoj`
|
|
||||||
- `~/.cache/gpt4all`
|
#### **Local**
|
||||||
3. Uninstall the khoj server with `pip uninstall khoj-assistant`
|
|
||||||
4. (Optional) Uninstall khoj.el or the khoj obsidian plugin in the standard way on Emacs, Obsidian
|
```shell
|
||||||
|
# uninstall khoj server
|
||||||
|
pip uninstall khoj-assistant
|
||||||
|
|
||||||
|
# delete khoj postgres db
|
||||||
|
dropdb khoj -U postgres
|
||||||
|
```
|
||||||
|
|
||||||
|
#### **Docker**
|
||||||
|
From the same directory where you have your `docker-compose` file, run the command below to remove the server to delete its containers, networks, images and volumes.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker-compose down --volumes
|
||||||
|
```
|
||||||
|
|
||||||
|
<!-- tabs:end -->
|
||||||
|
|
||||||
|
### Uninstall Khoj Clients
|
||||||
|
Uninstall the khoj emacs, obsidian or desktop client in the standard way from Emacs, Obsidian or your OS respectively
|
||||||
|
|
||||||
## Troubleshoot
|
## Troubleshoot
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue