Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,26 @@
4. Run `tailscale up --qr --operator=deck --ssh` to have Tailscale generate
a login QR code. Scan the code with your phone and authenticate with
Tailscale to bring your Deck onto your network.
5. Run `exit` to return to your normal user shell once you're done.

## Updating Tailscale

Tailscale should be able to update itself now! Try running
`sudo tailscale update`, and if that works, `sudo tailscale set --auto-update`.
If it doesn't, keep reading.
Tailscale should be able to update itself now!

If you are still in the root shell from the installation steps above, run:
```bash
tailscale update
tailscale set --auto-update
```

If you are running as the standard `deck` user, `sudo` will not find `tailscale` directly because `/opt/tailscale` is not in `sudo`'s default `secure_path`. Use the full binary path for the update:
```bash
sudo /opt/tailscale/tailscale update
tailscale set --auto-update
```
*(Note: `--operator=deck` was configured during installation, so `tailscale set` can be run without `sudo`.)*

If it doesn't work, keep reading.

> ⚠️ This process will most likely fail if you are accessing the terminal over
> Tailscale SSH, as it seems to be locked in a chroot jail. You should start and
Expand All @@ -29,7 +43,7 @@ If it doesn't, keep reading.

To benefit from improvements to the install script, consider rerunning it from time to time.

1. Git fetch and pull to make sure you're up to date:
1. Git fetch and pull to make sure you're up to date (from the standard `deck` user):
1. `cd ~/deck-tailscale`
2. `git pull`
2. Run `sudo bash tailscale.sh` again.
Expand Down