Skip to content

docs(marketplace): correct the 1-Click update path and ship the catalog logo - #2901

Merged
vybe merged 1 commit into
devfrom
fix/marketplace-listing-update-path
Sep 20, 2026
Merged

vybe merged 1 commit into
devfrom
fix/marketplace-listing-update-path

Conversation

@obasilakis

Copy link
Copy Markdown
Contributor

What

packer/digitalocean/listing.md told 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-792 resolves TRINITY_IMAGE_TAG from the environment or .env, never from the checkout. The corrected text sets both.

Also fixes the backup path: TRINITY_DATA_PATH is unset on the image, so start.sh:859 falls back to ./trinity-data relative 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:

HEAD:       3a47f744 (v0.9.5-rc4)     ← tree moved
containers: ghcr.io/abilityai/trinity-*:v0.9.5   ← images did not
dashboard:  v0.9.5 · e38c1c0f

Corrected instruction — the same plus TRINITY_IMAGE_TAG=v0.9.5-rc4 in .env:

dashboard:  v0.9.5-rc4 · 3a47f744

Backups, by forcing the nightly job to fire:

11:21:00.247  [DBBackup] backup complete: /data/backups/trinity-backup-20260918.db (1597440 bytes, 45 ms)
-rw------- 1 1000 1000 1597440 Sep 18 11:21 /opt/trinity/trinity-data/backups/trinity-backup-20260918.db

Notes for the reviewer

  • The PNG is force-added past the blanket *.png ignore. .gitignore:159-161 asks 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.
  • The SVG carries explicit width/height alongside its viewBox — without them the Vendor Portal preview rendered an empty box.
  • Docs-only plus two assets; no code paths touched.

Follow-up worth considering, not in this PR

start.sh knows both the checked-out tag and TRINITY_IMAGE_TAG and could warn when they disagree. Documentation is the weak fix for a mismatch that reports success.

🤖 Generated with Claude Code

…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]>

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge-train: batch validated on train/20260920-1811 (#2913)

@vybe
vybe merged commit 73885c1 into dev Sep 20, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants