rewire 2026-08-11: single-mount NFS architecture

- topology.svg, container-tree.svg, data-flow.svg: show /srv/nc-files
  bound directly into nextcloud container at /mnt/ncdata (no
  intermediate /mnt/nc-data/nextcloud-data layer).
- architecture.html: explain rewire, update storage table, remove
  pre-rewire 'why two layers' section.
- procedure.html: NEXTCLOUD_DATADIR=/srv/nc-files, no mastercontainer
  bind, add §2.5 Rewire 2026-08-11 with recovery procedure,
  update backup script to also tar local nextcloud app volume,
  fix 4.3 verification (302 -> /login, status.php, file visibility).
- operations.html: 4 backup files now (added aio-nextcloud-app.tar.gz),
  restore procedures updated, single-file restore uses new tar layout.
- troubleshooting.html: add 3 new sections — appdata-missing,
  nextcloud-not-spawning, collabora-discovery-warning.
- request-flow.svg: remove nextcloud/ subdir from NFS write path.
- index.html, README.md: update paths and metadata.
This commit is contained in:
2026-08-11 12:09:26 -05:00
parent d172771aa1
commit b4777a5e4d
10 changed files with 423 additions and 121 deletions
+12 -10
View File
@@ -11,6 +11,7 @@
.box-emp { fill: #1f2c3a; stroke: #4a78b5; stroke-width: 2; }
.box-host { fill: #2a2535; stroke: #6b5aa0; stroke-width: 2; }
.box-storage { fill: #1f2e28; stroke: #4a8a6b; stroke-width: 2; }
.box-bind { fill: #1f2e28; stroke: #6cba92; stroke-width: 2; stroke-dasharray: 3 3; }
.arrow { stroke: #7aa2f7; stroke-width: 2; fill: none; marker-end: url(#arr-b); }
.arrow-sto { stroke: #6cba92; stroke-width: 2; fill: none; marker-end: url(#arr-g); }
.arrow-back { stroke: #d9a96b; stroke-width: 2; fill: none; marker-end: url(#arr-o); }
@@ -29,14 +30,14 @@
<rect width="1100" height="600" fill="#0f1117"/>
<text x="40" y="38" class="ttl">Container Tree — AIO on homework03</text>
<text x="40" y="58" class="lbl-sm">network_mode: host on mastercontainer · 8 active · 5 disabled</text>
<text x="40" y="58" class="lbl-sm">network_mode: host on mastercontainer · 8 active · 5 disabled · rewire 2026-08-11</text>
<!-- homework03 host frame -->
<rect x="320" y="100" width="760" height="450" rx="10" class="box-host"/>
<text x="335" y="124" class="ttl" fill="#bda3e8">homework03 (10.0.0.73) · Debian 13 · 15 GB</text>
<text x="335" y="142" class="lbl-sm">Docker 29.6.2 · host network namespace shared with mastercontainer</text>
<!-- Mastercontainer -->
<!-- Mastercontainer (no nc-data bind anymore) -->
<rect x="345" y="170" width="200" height="100" rx="6" class="box-emp"/>
<text x="445" y="194" text-anchor="middle" class="lbl">nextcloud-aio-mastercontainer</text>
<text x="445" y="212" text-anchor="middle" class="lbl-sm">all-in-one:latest</text>
@@ -52,11 +53,12 @@
<text x="685" y="244" text-anchor="middle" class="lbl-tiny">33:33 (www-data)</text>
<!-- nextcloud-fcgi -->
<rect x="825" y="170" width="235" height="80" rx="6" class="box-internal"/>
<text x="942" y="194" text-anchor="middle" class="lbl">nextcloud-aio-nextcloud</text>
<rect x="825" y="170" width="235" height="100" rx="6" class="box-bind"/>
<text x="942" y="194" text-anchor="middle" class="lbl" fill="#6cba92">nextcloud-aio-nextcloud</text>
<text x="942" y="212" text-anchor="middle" class="lbl-sm">PHP-FPM 8.3 + Nextcloud</text>
<text x="942" y="228" text-anchor="middle" class="lbl-tiny">:9000 (PHP-FPM listen)</text>
<text x="942" y="244" text-anchor="middle" class="lbl-tiny">NEXTCLOUD_DATADIR bind</text>
<text x="942" y="244" text-anchor="middle" class="lbl-tiny" fill="#6cba92">bind: /srv/nc-files → /mnt/ncdata</text>
<text x="942" y="260" text-anchor="middle" class="lbl-tiny" fill="#6cba92">vol: nextcloud_aio_nextcloud → /var/www/html</text>
<!-- Middle row: backing services -->
<rect x="345" y="295" width="160" height="60" rx="6" class="box"/>
@@ -109,7 +111,7 @@
<rect x="40" y="380" width="220" height="80" rx="6" class="box-storage"/>
<text x="150" y="404" text-anchor="middle" class="lbl">desslok NFS</text>
<text x="150" y="422" text-anchor="middle" class="lbl-sm">/slab/container_storage/office</text>
<text x="150" y="438" text-anchor="middle" class="lbl-tiny">NFSv4.1 · /srv/nc-files/</text>
<text x="150" y="438" text-anchor="middle" class="lbl-tiny">NFSv4.1 · /srv/nc-files</text>
<!-- External: backup -->
<rect x="40" y="500" width="220" height="60" rx="6" class="box" stroke="#d9a96b" stroke-width="1.5"/>
@@ -130,10 +132,10 @@
<line x1="685" y1="250" x2="685" y2="295" class="arrow"/>
<text x="691" y="278" class="lbl-tiny" fill="#7aa2f7">?php-fpm</text>
<line x1="942" y1="250" x2="945" y2="295" class="arrow"/>
<line x1="942" y1="270" x2="945" y2="295" class="arrow"/>
<line x1="505" y1="480" x2="685" y2="380" class="arrow" stroke-dasharray="3 3"/>
<line x1="870" y1="380" x2="942" y2="250" class="arrow" stroke-dasharray="3 3"/>
<line x1="870" y1="380" x2="942" y2="270" class="arrow" stroke-dasharray="3 3"/>
<line x1="425" y1="355" x2="425" y2="380" class="arrow"/>
<line x1="945" y1="355" x2="945" y2="380" class="arrow"/>
@@ -147,5 +149,5 @@
<line x1="425" y1="355" x2="260" y2="420" class="arrow-sto" stroke-dasharray="4 4"/>
<text x="355" y="398" class="lbl-tiny" fill="#6cba92">writes pgdump</text>
<text x="1060" y="592" text-anchor="end" class="lbl-tiny">2026-08-10 · nextcloud_office</text>
</svg>
<text x="1060" y="592" text-anchor="end" class="lbl-tiny">2026-08-11 · nextcloud_office · rewire</text>
</svg>

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB