From 0581c7b2f41536a2a245fd732f0026d3d7a67b71 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sat, 4 Jul 2026 22:53:41 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20Gitea=20SSH=20probe=20still=20failing=20a?= =?UTF-8?q?fter=20info-arg=20fix=20=E2=80=94=20stderr=20was=20discarded?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gitea's SSH rejection banner (what the grep matches on) is written to stderr, but the probe piped stdout only via 2>/dev/null — so the grep never saw it, on any peer, even after dropping the bogus 'info' arg in be6c16d. Confirmed live on HOST2: the exact probe command against HOST1's Gitea prints the banner correctly with 2>&1, empty with 2>/dev/null. Also corrects the CHANGES entry, which claimed a .txz-based install that was never wired up — actual distribution is git-clone + symlink, not packaged. --- Plugin/varaverk.plg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Plugin/varaverk.plg b/Plugin/varaverk.plg index a0712ca..7d60e0d 100644 --- a/Plugin/varaverk.plg +++ b/Plugin/varaverk.plg @@ -17,10 +17,10 @@ ###2026.05.31 -- Packaged release: web files now ship as a .txz that Unraid reinstalls to RAM on every boot -- Survives reboots with zero manual steps (no symlink, no go script) — fixes plugin vanishing after OS upgrades -- Scripts are git-cloned to appdata on first install; web files stay on flash (~200KB) -- Updates handled in-UI (git pull); the plugin no longer pulls on every boot +- Install via raw .plg URL (Gitea or GitHub) — same install script either way, Gitea → Tailscale peer → GITEA_DOMAIN → GitHub fallback chain +- Web files served via symlink to Plugin/unraid/ on flash, recreated every boot — survives reboots, no array dependency +- Scripts git-cloned to flash on first install only; updates handled in-UI (git pull) or the daily orchestrator, not by re-cloning on every boot +- build.sh packages a .txz for a possible future Community Apps release — not yet wired into install; current distribution is git-clone + symlink only ###2026.05.30 - First-run setup wizard: auto-detects hostname, creates master.conf + host conf from templates @@ -145,7 +145,7 @@ if [[ ! -d "$SCRIPTS_DIR/.git" ]]; then while IFS= read -r peer_ip; do if ssh -i "$GITEA_SSH_KEY" -p "$SSH_PORT" \ -o ConnectTimeout=3 -o StrictHostKeyChecking=no \ - -o BatchMode=yes "git@${peer_ip}" 2>/dev/null | grep -q "varaverk\|Gitea\|gitea"; then + -o BatchMode=yes "git@${peer_ip}" 2>&1 | grep -q "varaverk\|Gitea\|gitea"; then GITEA_IP="$peer_ip" log "Gitea found on Tailscale peer $GITEA_IP" break