Repository navigation
docs(marketplace): correct the 1-Click update path and ship the catalog logo - #2901
Merged
Merged
Conversation
…og logo The listing's update instruction moved the git checkout but never the image tag, so it reported success while leaving the instance on the old release. `start.sh` resolves TRINITY_IMAGE_TAG from the environment or `.env` and never from the checkout, so a droplet following the old text ended up running one release's scripts against another's images, with the web interface still showing the old version. Verified on a droplet built from the v0.9.5 marketplace snapshot: the old instruction left all four containers on :v0.9.5 with HEAD at v0.9.5-rc4; the corrected one moved the dashboard to v0.9.5-rc4 / 3a47f74. Also corrects the backup path. `TRINITY_DATA_PATH` is unset on the image, so `start.sh` falls back to ./trinity-data relative to /opt/trinity — backups land in /opt/trinity/trinity-data/backups/, not ~/trinity-data/backups/, which resolves to a directory that does not exist for root. Confirmed by forcing the nightly job to fire: trinity-backup-20260918.db written there, 1597440 bytes. Adds logo.png and logo.svg, the catalog logo, beside the copy it belongs with. The PNG is force-added past the blanket *.png ignore rather than adding a fourth negation, since .gitignore's comment there asks for no more; it is tracked as the exact bytes uploaded rather than a re-render. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 task
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.
What
packer/digitalocean/listing.mdtold marketplace users to update with a git checkout alone. That moves the scripts and the compose file but not the container images, so the instance keeps running the old release and the instruction reports success either way.start.sh:788-792resolvesTRINITY_IMAGE_TAGfrom the environment or.env, never from the checkout. The corrected text sets both.Also fixes the backup path:
TRINITY_DATA_PATHis unset on the image, sostart.sh:859falls back to./trinity-datarelative to/opt/trinity. Backups land in/opt/trinity/trinity-data/backups/. The old text said~/trinity-data/backups/, which for root is a directory that does not exist — someone following it to recover a database would conclude backups were not running.Adds
logo.png/logo.svg, the catalog logo, beside the copy it belongs with.Verified on a real droplet
Built from the v0.9.5 marketplace snapshot (
245885573):Old instruction —
git fetch --tags && git checkout v0.9.5-rc4 && start.sh --hosted:Corrected instruction — the same plus
TRINITY_IMAGE_TAG=v0.9.5-rc4in.env:Backups, by forcing the nightly job to fire:
Notes for the reviewer
*.pngignore..gitignore:159-161asks for no further negations, so this avoids adding one. It is tracked as the exact bytes uploaded to the portal rather than something re-rendered later.width/heightalongside itsviewBox— without them the Vendor Portal preview rendered an empty box.Follow-up worth considering, not in this PR
start.shknows both the checked-out tag andTRINITY_IMAGE_TAGand could warn when they disagree. Documentation is the weak fix for a mismatch that reports success.🤖 Generated with Claude Code