Repository navigation
docs(onprem): recover a Compose first install that gives up during initialization - #16298
Merged
Merged
Conversation
…itialization On slower hosts, dojo-compose-cli 2.1.x first-install can report a failure while the init container is still creating the database schema. Document how to wait for the initializer, finish the first start with app start, get the admin credentials, and read the initializer's exit code. Add expected first-start time to the hardware sizing page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address review: say what app start completes, cover exit codes outside the initializer table (such as 137), note that the table's backup advice is for upgrades only, add the retry path, warn against app stop while init runs, cover a missing init container, check the systemd unit is enabled, link to the existing password reset section, export DOJO_CLI_KEY up front, and use the same 30-minute framing on both pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o dmesg Move the "already running" case to step 3, where it happens; use sudo dmesg, since Ubuntu restricts the kernel log to root; name the admin user in the password reset section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
Review: APPROVE (after two rounds)Reviewed by a separate session that did not write this PR. Every command and claim was checked against
Fixed after the first round:
Fixed after the second round:
The docs build is clean, with no warnings. Not tested here: the recovery has not yet been run on a real slow host. A run on the documented minimum host is planned and will report back. 🤖 Generated with Claude Code |
Maffooch
enabled auto-merge
October 10, 2026 13:15
This was referenced Oct 10, 2026
blakeaowens
approved these changes
Oct 10, 2026
devGregA
approved these changes
Oct 10, 2026
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.
Description
Documents how to recover a self-hosted Docker Compose install when
dojo-compose-cli2.1.x reports thatfirst-installfailed while the database initializer is still running.On a slower host the first start takes a long time, because the
initcontainer creates the whole database schema before the application comes up. On the smallest Compose host in the sizing table this can take about 30 minutes, and the 2.1.x CLI stops waiting before then. The run prints an error, prints no admin credentials, does not create the systemd service, and does not mark the install as initialized. The initializer usually finishes on its own in the background, so the install does not need to be redone.initcontainer's state and exit code withdocker inspect, wait for it to exit with code0, then runsudo -E dojo-compose-cli app start. On an install not yet marked initialized,app startfinishes the first start: it creates the systemd service, sets and prints a new admin password, and marks the install initialized. The section explains that the CLI does not store that password, so a missed password is reset withapp change-password. A non-zero exit code points to the existing Reading the initializer's result table. The install section also notes the expected first-start time and links to the recovery.English only; translations follow the quarterly refresh described in
docs/TRANSLATIONS.md.Test results
Docs only.
npm run build -- --environment developmentindocs/builds with no warnings or errors. The rendered pages carry the new#first-install-reports-a-failure-while-the-initializer-is-still-runningand#how-long-the-first-start-takesanchors, and the links to#reading-the-initializers-resultand#sizing-tableresolve.🤖 Generated with Claude Code