fix(server): prevent accidental service downgrades (#5302)

This commit is contained in:
Theo Browne authored and GitHub committed 2026-09-01 18:25:52 -07:00
1 parent 8efd4e95fc
commit 0e77fbd3d0
6 files changed
+480 -69

No files matched your search

+16
View File
@@ -23,6 +23,22 @@ Update or repair it:
npx t3@latest service update
```
The service uses the same T3 Code version as the CLI you run. To install a nightly or an exact
version, use that version of the CLI:
```sh
npx t3@nightly service update
npx [email protected] service update
```
The install and update commands refuse to replace a newer service with an older version. Setup
through T3 Connect leaves a newer service unchanged. To downgrade, select the exact older version
and pass `--allow-downgrade`:
```sh
npx [email protected] service update --allow-downgrade
```
Stop it and remove it from startup:
```sh