Close the gaps a four-distro cold install matrix found - #152
Merged
guanzhousongmicrosoft merged 1 commit intoAug 24, 2026
Merged
Conversation
Four testers with no prior DocumentDB knowledge installed from the live site across Ubuntu 24.04, RHEL 9, Ubuntu 22.04, Debian 11/12/13, RHEL 8 and PostgreSQL 16/17/18. Every runtime claim held up -- ports, listen address, log and config paths, the no-systemd fallback, the documented uninstall. The failures were all in what the pages do and do not say. Three of the four independently hit the same wall: the only install commands in static text are Ubuntu 24.04 and RHEL 9, and everything else is behind the JavaScript Package Finder. The audience for a Linux packages page is the one that cannot run it. Testers guessed the `ubuntu22`, `deb11`, `deb12` and `rhel8` component names from the two worked examples; they guessed right, which is luck, not documentation. Add a component-and-package table covering every distribution. PostgreSQL 16 on the paved road was the worst case, and the tester who probed it scored the site lowest. `documentdb-16` does not exist, so the advertised full stack silently degrades to a bare extension, and `postgresql-16-documentdb` is served at 0.114 while 17 and 18 sit at 0.116 in the same repository. Nothing said so, and every version example on the page reads 0.116. State it, and add a table of which version each tier actually serves. The CRB requirement had a command but no reason. With CRB disabled a tester reproduced the failure exactly: 76 lines of GDAL candidates and `nothing provides libqhull_r.so.7`, naming GDAL but never the missing repository. Explain the chain so nobody trims that line. Two more gaps: the `documentdb` meta package was named but never explained -- it depends on `documentdb-18`, which testers had to learn from `apt-cache depends` -- and nothing documented how to reach the managed PostgreSQL, even though Upgrading tells you to run ALTER EXTENSION. It is peer auth as the `documentdb-local` user over a per-major socket. Also: Debian 13 resolves DocumentDB from apt.postgresql.org rather than from this repository, because PGDG's `0.114-0-1.pgdg13+1` outranks our `0.114-0` (verified: PGDG carries DocumentDB for Trixie only -- bullseye, bookworm, jammy and noble have none). And the Debian 11 PostgreSQL 18 exclusion moved out of the troubleshooting footer, since that is where a newcomer picking "newest" lands. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8df9084a-ccaf-432c-b015-2ccd8893a9d8
guanzhousongmicrosoft
approved these changes
Aug 24, 2026
guanzhousongmicrosoft
left a comment
Contributor
There was a problem hiding this comment.
Validated by a four-distro cold install matrix run locally in Docker against the live site and the real package repository. Every runtime claim verified; the documentation gaps this PR closes were each reproduced (CRB/libqhull failure, Debian 11 PG18 exclusion, PGDG overlap on Trixie, the meta package dependency, and the psql route). CI green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
How this was found
Four testers with no prior DocumentDB knowledge installed from the live site using the real
documentdb.iorepository, in Docker, across the whole support matrix:Every runtime claim the site makes held up — the
0.0.0.0:10260gateway vs127.0.0.1:9700+NPostgreSQL split, log and config paths, the no-systemdnohupfallback, and the corrected uninstall. Both full-stack paths reached an inserted-and-queried document. The failures were entirely in what the pages say.What they found, and what this changes
1. Static install commands existed for two distributions out of seven. Three testers independently hit this. Everything except Ubuntu 24.04 and RHEL 9 lives behind the JavaScript Package Finder — invisible to
curl, which is exactly the headless audience a Linux packages page serves. Testers guessedubuntu22,deb11,deb12,rhel8from the two worked examples. They guessed right; that is luck. Adds a component-and-package table for every distribution.2. PostgreSQL 16 on the paved road silently double-downgrades.
documentdb-16does not exist, so the advertised full stack degrades to a bare extension, andpostgresql-16-documentdbis served at 0.114 while 17/18 are at 0.116 in the same repository. Nothing said so, and every version example on the page read 0.116. Now stated inline, plus a which-version-per-tier table.3. The CRB line had a command but no reason. With CRB disabled, tester B reproduced the failure exactly — 76 lines of GDAL candidates and
nothing provides libqhull_r.so.7, which names GDAL but never the missing repository. The chain is now explained so nobody trims that line as noise.4. The
documentdbmeta package was named but never explained. It depends ondocumentdb-18; testers learned that fromapt-cache depends, not from us.5. No way to reach the managed PostgreSQL was documented — despite Upgrading instructing
ALTER EXTENSION. It is peer auth asdocumentdb-localover a per-major socket; two testers failed at this before reverse-engineering it. Now documented and verified:\
sudo -u documentdb-local psql -h /run/documentdb-local/18/postgresql -p 9718 -d postgres
documentdb_extended_rum | 0.116-0
documentdb_core | 0.116-0
documentdb | 0.116-0
\\
6. Debian 13 does not install from this repository.
apt.postgresql.orgalso ships DocumentDB for Trixie, and its0.114-0-1.pgdg13+1outranks our0.114-0. I verified the scope: PGDG carries DocumentDB for trixie only — bullseye, bookworm, jammy and noble have zero. Now documented, with how to pin.7. Debian 11 / PostgreSQL 18 moved out of the troubleshooting footer — that is where a newcomer picking "newest" lands. The site's prediction was verified correct:
Depends: postgresql-18-postgis-3 but it is not installable.Validation
130 tests,
tsc --noEmit, andnext buildall pass; every new string verified present in the rendered guide.Claims tested against reality rather than assumed — the CRB failure mode, the Debian 11 exclusion, the PGDG overlap, the meta's dependency, and the psql route were each executed in a container.