docs: improve troubleshoot documentation (#1173)

docs: improve troubleshoot documentation
This commit is contained in:
Hieu 2023-12-26 11:12:27 +09:00 committed by GitHub
commit 6bba08453f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View File

@ -58,16 +58,16 @@ To reset your installation
```bash
# Newer versions
rm -rf /Users/$(whoami)/Library/Application\ Support/jan
rm -rf ~/Library/Application\ Support/jan
# Versions 0.2.0 and older
rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron
rm -rf ~/Library/Application\ Support/jan-electron
```
3. Clear Application cache
```bash
rm -rf /Users/$(whoami)/Library/Caches/jan*
rm -rf ~/Library/Caches/jan*
```
4. Use the following commands to remove any dangling backend processes:
@ -76,7 +76,7 @@ rm -rf /Users/$(whoami)/Library/Caches/jan*
ps aux | grep nitro
```
Look for processes like "nitro" and "nitro_arm_64," and kill them one by one with:
Look for processes like "nitro" and "nitro_arm_64", and kill them one by one with:
```bash
kill -9 <PID>

View File

@ -51,13 +51,13 @@ C:\Users\{username}\AppData\Local\Programs\Jan
## Uninstalling Jan
To uninstall Jan in Windows, use the [Windows Control Panel](https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98).
To uninstall Jan on Windows, use the [Windows Control Panel](https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98).
To remove all user data associated with Jan, you can delete the `/Jan` directory in Windows' [AppData directory](https://superuser.com/questions/632891/what-is-appdata).
To remove all user data associated with Jan, you can delete the `/jan` directory in Windows' [AppData directory](https://superuser.com/questions/632891/what-is-appdata).
```shell
# Jan's User Data directory
%AppData%\Jan
```bash
cd C:\Users\%USERNAME%\AppData\Roaming
rmdir /S jan
```
## Troubleshooting

View File

@ -49,4 +49,4 @@ sudo apt-get remove jan
# where jan is the name of Jan package
```
In case you wish to completely remove all user data associated with Jan after uninstallation, you can delete the user data folders located at `$HOME/.config/Jan` and ~/.jan. This will return your system to its state prior to the installation of Jan. This method can also be used to reset all settings if you are experiencing any issues with Jan.
In case you wish to completely remove all user data associated with Jan after uninstallation, you can delete the user data folders located at ~/jan. This will return your system to its state prior to the installation of Jan. This method can also be used to reset all settings if you are experiencing any issues with Jan.

View File

@ -32,7 +32,7 @@ The following steps will help you troubleshoot and resolve issues related to bro
</TabItem>
<TabItem value="win" label="Windows">
To uninstall Jan in Windows, use the [Windows Control Panel](https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98).
To uninstall Jan on Windows, use the [Windows Control Panel](https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98).
</TabItem>
<TabItem value="linux" label="Linux">
@ -53,15 +53,15 @@ The following steps will help you troubleshoot and resolve issues related to bro
```bash
# Step 1: Delete the application data
## Newer versions
rm -rf /Users/$(whoami)/Library/Application\ Support/jan
rm -rf ~/Library/Application\ Support/jan
## Versions 0.2.0 and older
rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron
rm -rf ~/Library/Application\ Support/jan-electron
# Step 2: Clear application cache
rm -rf /Users/$(whoami)/Library/Caches/jan*
rm -rf ~/Library/Caches/jan*
# Step 3: Remove all user data
rm -rf ./jan
rm -rf ~/jan
```
</TabItem>
@ -70,16 +70,15 @@ The following steps will help you troubleshoot and resolve issues related to bro
```bash
# You can delete the `/Jan` directory in Windows's AppData Directory by visiting the following path `%APPDATA%\Jan`
cd C:\Users\%USERNAME%\AppData\Roaming
rm -rf ./Jan
rmdir /S jan
```
</TabItem>
<TabItem value="linux" label="Linux">
```bash
# You can delete the user data folders located at the following `$HOME/.config/jan` and `~/.jan`
rm -r $HOME/.config/jan
rm -r ~/.jan
# You can delete the user data folders located at the following `~/jan`
rm -rf ~/jan
```
</TabItem>
@ -119,3 +118,4 @@ The following steps will help you troubleshoot and resolve issues related to bro
</Tabs>
4. Download the latest version from via our homepage, [https://jan.ai/](https://jan.ai/).
> Note: If Jan is installed on multiple user accounts on your device, ensure it's completely removed from all shared space before reinstalling.