Migrations#
This document is laid out in reverse-chronological order. Newer migration guides are listed first, and older guides are further down the page.
Upgrading from v1.8.x#
After v1.8.2, the HTTP API for knots has been deprecated and replaced with XRPC. Repositories on outdated knots will not be viewable from the appview. Upgrading is straightforward:
- Upgrade to latest tag (v1.9.0 or above)
- Head to the knot dashboard and hit the "retry" button to verify your knot
Upgrading from v1.7.x#
After v1.7.0, knot secrets have been deprecated. You no longer need a secret from the appview to run a knot. All authorized commands to knots are managed via Inter-Service Authentication. Knots will be read-only until upgraded.
Upgrading is quite easy, in essence:
KNOT_SERVER_SECRETis no more, you can remove this environment variable entirelyKNOT_SERVER_OWNERis now required on boot, set this to your DID. You can find your DID in the settings page.- Restart your knot once you have replaced the environment variable
- Head to the knot dashboard and
hit the "retry" button to verify your knot. This simply
writes a
sh.tangled.knotrecord to your PDS.
If you use the nix module, simply bump the flake to the latest revision, and change your config block like so:
services.tangled-knot = {
enable = true;
server = {
- secretFile = /path/to/secret;
+ owner = "did:plc:foo";
};
};