Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

ops: fix uninstall script to remove network and updater volume

Jake Turnerad31a985ea95
diff --git a/install/uninstall_nomad.sh b/install/uninstall_nomad.sh
index 196d2f94..7db9fac8 100644
--- a/install/uninstall_nomad.sh
+++ b/install/uninstall_nomad.sh
@@ -110,6 +110,14 @@ uninstall_nomad() {
echo "Containers should be stopped now."
+ # Remove the shared Docker network (may still exist if app containers were using it during compose down)
+ echo "Removing project-nomad_default network if it exists..."
+ docker network rm project-nomad_default 2>/dev/null && echo "Network removed." || echo "Network already removed or not found."
+
+ # Remove the shared update volume
+ echo "Removing project-nomad_nomad-update-shared volume if it exists..."
+ docker volume rm project-nomad_nomad-update-shared 2>/dev/null && echo "Volume removed." || echo "Volume already removed or not found."
+
# Try to stop the collect-disk-info script if it's running
try_remove_disk_info_script