Files
nixos-core/docs/legacy/troubleshooting.html
T
kiskaadee e832c83882 refactor(core): consolidate control plane into a single compose stack
This massive refactor transitions the project from a custom-scripted
multi-stack deployment into a unified, standard Docker Compose
architecture. This heavily simplifies GitOps workflows and native
NixOS systemd integration.

- Merge all infrastructure and portal compose files into a root docker-compose.yml
- Consolidate all service configurations and databases into a single ./config/ directory
- Remove brittle up.sh and down.sh orchestration scripts
- Fix Authelia templating by enabling X_AUTHELIA_CONFIG_FILTERS=template
- Replace all hardcoded domain names with dynamic ${DOMAIN} variables
- Archive legacy HTML documentation and architecture notes to docs/legacy/
- Introduce setup_guide.md as the single source of truth for SOPS secrets and NixOS deployment
2026-06-28 15:55:06 -05:00

84 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Troubleshooting | Hardened Hub</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<header>
<h1>🩺 Troubleshooting Guide</h1>
<p>Common issues and resolutions for the Hardened Hub.</p>
</header>
<nav>
<h4>Issues</h4>
<ul>
<li><a href="#connectivity">Connectivity</a></li>
<li><a href="#ssl">SSL & Certificates</a></li>
<li><a href="#auth">Authentication</a></li>
<li><a href="#docker">Docker & Perf</a></li>
</ul>
</nav>
<section id="connectivity">
<h2>🌐 Connectivity Issues</h2>
<div class="card">
<h4>Site is unreachable</h4>
<ul>
<li><strong>Check External IP:</strong> Verify your public IP matches Dynu.</li>
<li><strong>Check Traefik:</strong> <code>docker compose -f infra/core/docker-compose.yml ps</code></li>
</ul>
</div>
<div class="card">
<h4>Bad Gateway (502/503)</h4>
<p>The application is down or not on <code>proxy-net</code>.</p>
</div>
</section>
<section id="ssl">
<h2>🔒 SSL & Certificate Issues</h2>
<p>If you see "Connection not private", Traefik may be failing the ACME challenge.</p>
<div class="card">
<h4>Dynu Quota Deadlock (Record Hoarding)</h4>
<p>On the Dynu free tier (4-record limit), failed challenges can leave stale <code>TXT</code> records that block new attempts with a <code>503: Quota Exception</code>.</p>
<p><strong>Fix:</strong> Run the automated purge script to clear stale records and restart the challenge:</p>
<pre><code>./scripts/purge-dynu.sh</code></pre>
</div>
<div class="layer-box">
<h4>Manual Inspection</h4>
<pre><code># Check Traefik ACME logs
docker compose -f infra/core/docker-compose.yml logs -f traefik
# Run automated SSL diagnostic
./scripts/check-ssl.sh</code></pre>
</div>
</section>
<section id="auth">
<h2>🔐 Authentication (Authelia)</h2>
<div class="layer-box">
<h4>Stuck in Login Loop?</h4>
<p>Sync server time: <code>sudo ntpdate pool.ntp.org</code> and clear cookies.</p>
</div>
</section>
<section id="docker">
<h2>🐳 Docker & Performance</h2>
<p>If disk is full, run cleanup:</p>
<pre><code>docker system prune -a --volumes</code></pre>
</section>
<footer>
<p>(c) 2026 | <a href="https://roadtotech.me">Kiskaadee</a></p>
</footer>
</main>
</body>
</html>