2.5.FAQ
Q1: What if network disconnects during installation?
A: Re-run install.sh, the script is designed to be reusable:
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.
# Delete partially extracted files
rm -rf tkvoice_release_0.3.25_0324_101621
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
Reason: Each step has checks and fails with exit if problems occur.
Q2: Permission Denied Error
A: Script already handles this, but if still occurring:
# Run entire script with sudo
sudo bash install.sh
# Or modify permissions
sudo chown -R $USER:$USER ~
Q3: SSH Connection Timeout
A: Check network and firewall:
# Test connection
ping 192.168.41.1
# Test SSH
ssh -v ubuntu@192.168.41.1
# Check firewall
sudo ufw status
sudo ufw allow 22/tcp
Q4: Python Package Installation Conflicts
A: Manual cleanup and reinstall:
# Uninstall all related packages
pip uninstall -y onnxruntime onnxruntime-gpu piper-tts websockets
# Clear cache
pip cache purge
# Re-run script
bash install.sh
Q5: colcon Compilation Fails
A: Check ROS 2 environment:
# Initialize ROS 2
source /opt/ros/humble/setup.bash
# Clean old build
rm -rf build install log
# Recompile
colcon build --packages-select audio_message audio_service --symlink-install
Q6: Insufficient Disk Space
A: Check disk usage and cleanup:
# Check disk
df -h
# check dir size
du -sh *