Uninstall
Automated Uninstall
Run the uninstall script from the Hawkra installation directory:
sudo bash /opt/hawkra/uninstall.sh
Type uninstall when prompted to confirm. This stops all containers, deletes all volumes and data, cleans up /etc/hosts entries, and removes the /opt/hawkra directory.
Manual Uninstall
1. Stop and remove containers and volumes
cd /opt/hawkra
sudo docker compose -f docker-compose.selfhosted.yml down -v --remove-orphans
2. Clean up /etc/hosts
Remove any entries the installer added for your Hawkra domain:
sudo nano /etc/hosts
Delete lines referencing your APP_DOMAIN and docs.APP_DOMAIN (e.g., hawkra.local and docs.hawkra.local). Skip this step if you used an IP address.
3. Remove the installation directory
sudo rm -rf /opt/hawkra
danger
Both methods permanently delete all Hawkra data including the database, uploaded files, encryption keys, and configuration. This cannot be undone.