···11+# Migrations
22+33+This document is laid out in reverse-chronological order.
44+Newer migration guides are listed first, and older guides
55+are further down the page.
66+77+## Upgrading from v1.8.x
88+99+After v1.8.2, the HTTP API for knots has been deprecated and
1010+replaced with XRPC. Repositories on outdated knots will not
1111+be viewable from the appview. Upgrading is straightforward:
1212+1313+- Upgrade to latest tag (v1.9.0 or above)
1414+- Head to the [knot dashboard](https://tangled.sh/knots) and
1515+ hit the "retry" button to verify your knot
1616+1717+## Upgrading from v1.7.x
1818+1919+After v1.7.0, knot secrets have been deprecated. You no
2020+longer need a secret from the appview to run a knot. All
2121+authorized commands to knots are managed via [Inter-Service
2222+Authentication](https://atproto.com/specs/xrpc#inter-service-authentication-jwt).
2323+Knots will be read-only until upgraded.
2424+2525+Upgrading is quite easy, in essence:
2626+2727+- `KNOT_SERVER_SECRET` is no more, you can remove this
2828+ environment variable entirely
2929+- `KNOT_SERVER_OWNER` is now required on boot, set this to
3030+ your DID. You can find your DID in the
3131+ [settings](https://tangled.sh/settings) page.
3232+- Restart your knot once you have replaced the environment
3333+ variable
3434+- Head to the [knot dashboard](https://tangled.sh/knots) and
3535+ hit the "retry" button to verify your knot. This simply
3636+ writes a `sh.tangled.knot` record to your PDS.
3737+3838+If you use the nix module, simply bump the flake to the
3939+latest revision, and change your config block like so:
4040+4141+```diff
4242+ services.tangled-knot = {
4343+ enable = true;
4444+ server = {
4545+- secretFile = /path/to/secret;
4646++ owner = "did:plc:foo";
4747+ };
4848+ };
4949+```
5050+
-35
docs/migrations/knot-1.7.0.md
···11-# Upgrading from v1.7.0
22-33-After v1.7.0, knot secrets have been deprecated. You no
44-longer need a secret from the appview to run a knot. All
55-authorized commands to knots are managed via [Inter-Service
66-Authentication](https://atproto.com/specs/xrpc#inter-service-authentication-jwt).
77-Knots will be read-only until upgraded.
88-99-Upgrading is quite easy, in essence:
1010-1111-- `KNOT_SERVER_SECRET` is no more, you can remove this
1212- environment variable entirely
1313-- `KNOT_SERVER_OWNER` is now required on boot, set this to
1414- your DID. You can find your DID in the
1515- [settings](https://tangled.sh/settings) page.
1616-- Restart your knot once you have replaced the environment
1717- variable
1818-- Head to the [knot dashboard](https://tangled.sh/knots) and
1919- hit the "retry" button to verify your knot. This simply
2020- writes a `sh.tangled.knot` record to your PDS.
2121-2222-## Nix
2323-2424-If you use the nix module, simply bump the flake to the
2525-latest revision, and change your config block like so:
2626-2727-```diff
2828- services.tangled-knot = {
2929- enable = true;
3030- server = {
3131-- secretFile = /path/to/secret;
3232-+ owner = "did:plc:foo";
3333- };
3434- };
3535-```
+1-1
appview/pages/templates/banner.html
···3030 <div class="mx-6">
3131 These services may not be fully accessible until upgraded.
3232 <a class="underline text-red-800 dark:text-red-200"
3333- href="https://tangled.sh/@tangled.sh/core/tree/master/docs/migrations/">
3333+ href="https://tangled.sh/@tangled.sh/core/tree/master/docs/migrations.md">
3434 Click to read the upgrade guide</a>.
3535 </div>
3636 </details>