Tin Hat / Run a server / The dashboard

Running your server

Everything about running the server lives in its dashboard, in the browser: invites, people, health, the network check, connections to other servers, and maintenance.

https://yourserver/adminAdmins onlyPhone-friendly

Signing in

Open https://yourname.tinhat.me/admin (https://yourname.local/admin for a home server, or your own domain's, like https://chat.example.com/admin) and sign in with the admin account you made during setup. If you're already signed in to Tin Hat in the same browser, it offers Continue as you. Only server admins get in.

Forgot your password? Choose it under the sign-in (the welcome page every device sees has it too). The server makes a one-time code that works for 10 minutes, and shows it only where someone at the server itself can read it:

  • Installed from the USB stick, or a virtual machine: on the server's own screen, its monitor or its console window.
  • Windows: the tray icon next to the clock pops it up; Show recovery code in its menu shows it again.
  • Your own Linux machine: choose Make a code, then run sudo tinhat recovery-code on the machine.

Type the code with your admin username and a new password. You can also sign out every device, if someone else may know the old password. Whoever can reach the server itself can do this, like the setup code.

Overview

  • Health: each part of the server (web server, database, chat server, call server, call sign-in) and whether it's running.
  • Resources: memory and storage in use, processor load, uptime, the server's address, internet.
  • What this server can do: the setup's measurements, in plain words (chat for about N people, N people on camera).
  • Features: calls, link previews, the biggest file people can send, and finding people by name. Press Change to switch them; the server restarts only the parts that need it.
  • Extras and keys: what needs a free key of your own: GIF search (Giphy), YouTube search in watch parties, importing someone's Steam library, game cover art (SteamGridDB). The soundboard, presence, push notifications and the games list work without one. Also here: a switch for Memories (call recordings; the recorder that makes them isn't part of Tin Hat Server yet, it comes later), a TURN server for callers whose network blocks calls, and, on your own domain, a separate address for the web app if your domain's front page is another website of yours.
  • Game servers: run games on a Pelican or Pterodactyl panel? Press Set up, give the panel's address and an API key, tick the servers to show and choose the space whose members see them. The apps then show a widget: what's running, who's on, the join address and password, and start and stop buttons for the people with the "Manage game servers" role. Valheim, Project Zomboid, Minecraft, Palworld, Abiotic Factor and Satisfactory get their join password and players from the panel; any other game works too, with a password you type.
  • Reports: what people sent with "Report a problem" and "Share logs", to download. They stay on your server.
The dashboard's Overview on crew.local: everything is running (backups not set up yet), your group's address, the services and the resources

Invites

  1. Invites → choose who can use it (1 person, 5 people or anyone with the code) and when it expires (1 day to never) → Create invite code.
  2. Press Copy invitation and send it however you like. For a server reachable from anywhere it contains a link: opening it fills in the code, and your friend just picks a username and a password.
  3. The list shows how many times each code was used. Revoke stops a code that hasn't been used up.

Admins can also make invites from the Tin Hat app: Settings → Invites.

Where your group finds Tin Hat: in any browser, at the server's own address, https://yourname.tinhat.me (or your own domain), with nothing to install. Typing just yourname.tinhat.me works in most browsers, and in all of them when your router gives the server port 80 (it asks by itself). Or in the Tin Hat app, where they type yourname as the server. The invitation says both.

People

Everyone with an account on the server, who's an admin, and when each person was last seen.

Someone forgot their password? Your server sends no email, so you set a new one for them: New password next to the person → Set a new password. The server makes one and shows it once; give it to them in person or in a message only they read. They sign in with it, then choose their own in the Tin Hat app: Settings → Devices & security → Change password. The devices they're signed in on stay signed in, unless you tick Also sign them out on every device (only if someone else may know the old password: a device that's signed out needs their Security Key to read old messages again). The apps' "Forgot your password?" tells people to ask you.

Network

For a server reachable from anywhere (a tinhat.me name or your own domain):

  • Friends outside your home: reachable, partly or not, from the last outside check, with the exact router settings to change when something's blocked. Check again re-opens the ports and checks; calls pause for a few seconds.
  • Address: your server's name, what friends type, your public address, and the server's address at home.
  • Router: what kind of connection you have (your own public address, two routers, carrier NAT, or no router at all on a rented server), your router's name, and whether it opened each port.
  • Notices from the Tin Hat names service, if there are any.
The Network tab: friends outside can reach the server; the address; the router, its settings address and the three ports it opened; the last check from outside
Network on a friends-anywhere server (the 0.3.1 dashboard, shown with example values).

Depending on how your server reaches the internet, the tab has up to two more cards:

  • Your domain (your own domain): where your domain points right now, next to your home's public address, with Points home or Points elsewhere. With Cloudflare the server keeps it current by itself (it checks every ten minutes); with the others, it says which record to set.
  • Your reverse proxy (behind your own proxy): where to send your domain (http://<the server's home address>:8080), and the settings for nginx, Caddy, Traefik and Nginx Proxy Manager in four tabs, with a Copy button. What they look like.
The Network tab of a server behind its owner's reverse proxy: friends outside can reach it; Your domain points home; Your reverse proxy with tabs for nginx, Caddy, Traefik and Nginx Proxy Manager
Your domain and Your reverse proxy (the 0.3.1 dashboard, shown with example values).

Other Tin Hat servers

Connect with a friend's Tin Hat server so people on both can message each other, share rooms and call. It's off until both owners agree.

  1. One owner makes a code: Network → Other Tin Hat servers → Make a connection code, then Copy and send it to the other owner. Codes work once and expire after a day.
  2. The other owner connects: in their dashboard, Connect to a server → your server's name (just crew works) and the code → Connect.
  3. Both dashboards now list each other. Each chat server restarts in a few seconds to apply it.
The Other Tin Hat servers card: make a connection code, or connect with their server's name and code
Other Tin Hat servers, at the bottom of the Network tab.
  • What's shared: direct messages between people on the two servers, rooms you choose to share, and calls in those rooms. Direct messages, private rooms and calls stay end-to-end encrypted.
  • What isn't: each server's own rooms, like General, never leave it.
  • Disconnect any time; it removes the connection on both sides.
  • Only servers reachable from anywhere can connect. A Matrix server that isn't Tin Hat (like a friend's own Matrix server) doesn't use codes: the owner allows it by name under Other Matrix servers, on the same tab. Every server you haven't connected or allowed stays out.
A call in a shared room: the owner of one server calling a person from the other server
A call between people on two connected servers.

Maintenance

  • Services: each part of the server with its state, and Restart for any of them.
  • Updates: what's installed, what's new, Install now, and whether updates install by themselves at night (3–5 AM, your time, never during a call; on by default). Every update is signed and checked first; the server makes a safety copy and goes back to it by itself if the new version doesn't start properly. On your own Linux machine it updates Tin Hat Server the same way and leaves the operating system's updates to you. With Docker Compose you update it with docker compose pull && docker compose up -d (more).
  • Backups: choose a USB drive plugged into the server (not with Docker Compose) or a shared folder on another computer, and a backup password. Backups run every night at 2:30 AM and keep 7 daily and 4 weekly copies. Test restore checks the latest one (it restores its database into a throwaway copy and counts people, rooms and messages); Download a copy gives you a backup file.
  • Move to your own domain: the same server, with every account, room and message, at a domain you own; everyone signs in again there and unlocks with their Security Key (how it works).
  • Get help: a support report to send to whoever helps you. It has versions, what's running, the network check and recent errors; never passwords, keys, codes or messages.
  • Command-line access (SSH): off by default. Paste your SSH public key to turn it on; it answers only from your home network, as the user tinhat with sudo, and shows the server's fingerprints so you can check the first connection. On your own Linux machine the switch isn't there: the machine's SSH is yours, and sudo tinhat shows the server's status, logs, setup and recovery codes (commands).
  • About: the versions of Tin Hat Server and Tin Hat Web, and when the server was set up.

Moving to another computer

  1. Make sure a recent backup exists (Maintenance → Backups → Back up now), or Download a copy.
  2. Install Tin Hat Server on the new computer. On its setup page choose Restore from a backup, plug in the backup drive (or upload the file) and type the backup password.
  3. The server comes back with the same name, people, rooms and messages. If it was reachable from anywhere, its name moves to the new computer, and the old one can't use it any more: switch it off.