Skip to main content
Version: V2.0.5.1

2.6.Manual Recovery Guide


warning

Each release package has a different filename and a timestamp, so you need to modify the filename and directory name accordingly each time you execute the following command.

Scenario 1: Complete Reinstallation

# Stop all services
./tkvoice.sh stop # if exists

# Completely remove the local installation
bash uninstall.sh # Note that this will also remove Docker containers, images, and Docker services on x86 in version 41.1. Use with caution.

# If you only want to delete ollama and its models on Orin, you can use this script.
bash /home/nvidia/tkvoice_release_0.3.25_0324_101621/res/ollama/uninstall_ollama.sh

cd ~
# Re-extract
tar -xvf tkvoice_release_0.3.25_0324_101621.tar tkvoice_release_0.3.25_0324_101621/install.sh
cd tkvoice_release_0.3.25_0324_101621

# Reinstall
bash install.sh

Scenario 2: Reinstall Ollama Only

# Uninstall
bash /path/to/uninstall_ollama.sh

# Extract and reinstall (needs tar package)
tar -xf tkvoice_release_0.3.25_0324_101621.tar \
tkvoice_release_0.3.25_0324_101621/res/ollama/

bash tkvoice_release_0.3.25_0324_101621/res/ollama/install_ollama.sh

Scenario 3: Recompile ROS 2 Only

cd tkvoice_release_0.3.25_0324_101621

# Clean old build
rm -rf build install log

# Initialize environment
source /opt/ros/humble/setup.bash

# Recompile
colcon build --packages-select audio_message audio_service

# Initialize new environment
source install/setup.bash

Scenario 4: Check All Service Status

# Orin local
./tkvoice.sh status
ps aux | grep ollama
ps aux | grep audio

# x86 remote
ssh ubuntu@192.168.41.1 'docker ps'
ssh ubuntu@192.168.41.1 'docker logs asr'