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
fix(install): ensure update script always pulls latest imgs
Jake Turner80a1d0eef461
diff --git a/install/update_nomad.sh b/install/update_nomad.shindex 84314aa5..6ec6cd0e 100644--- a/install/update_nomad.sh+++ b/install/update_nomad.sh@@ -102,6 +102,12 @@ ensure_docker_compose_file_exists() {}force_recreate() {+ echo -e "${YELLOW}#${RESET} Pulling the latest Docker images..."+ if ! docker compose -f /opt/project-nomad/compose.yml pull; then+ echo -e "${RED}#${RESET} Failed to pull the latest Docker images. Please check your network connection and the Docker registry status, then try again."+ exit 1+ fi+echo -e "${YELLOW}#${RESET} Forcing recreation of containers..."if ! docker compose -f /opt/project-nomad/compose.yml up -d --force-recreate; thenecho -e "${RED}#${RESET} Failed to recreate containers. Please check the Docker logs for more details."