Skip to content

Upgrade or uninstall TalePanel

Run the installer and choose Upgrade, or pass the mode directly:

Terminal window
sudo bash <(curl -fsSL https://raw.githubusercontent.com/BitaceS/talepanel/main/scripts/install.sh) --mode upgrade

On each host it finds, it does the following:

  • Panel (/opt/talepanel): git pull, pulls the base images (PostgreSQL, Redis, Caddy), rebuilds the API and web images, and runs docker compose up -d --remove-orphans. Upgrading from 0.10.0 or older removes the unused MinIO containers; the minio_data volume stays until you delete it.
  • Daemon (/opt/taledaemon): git pull, rebuilds the daemon image, and runs docker compose up -d.

Run it on the panel host and on every daemon host.

Database migrations run when the API starts. There are no SQL files to apply by hand.

On the panel host:

Terminal window
git -C /opt/talepanel pull
cd /opt/talepanel/deploy/panel
docker compose pull
docker compose build api web
docker compose up -d

On each daemon host:

Terminal window
git -C /opt/taledaemon pull
cd /opt/taledaemon/deploy/daemon
docker compose build
docker compose up -d

Major versions may include breaking changes. Before you upgrade:

  1. Read the release notes in UPGRADING.md and the changelog.
  2. Back up the database, from /opt/talepanel/deploy/panel:
    Terminal window
    docker compose exec postgres pg_dump -U talepanel talepanel > backup-$(date +%F).sql
  3. If you run a production setup, try the upgrade on a staging host first.

TalePanel does not back up its own database. Copy that dump somewhere off the panel host.

Upgrade the panel first, then every daemon host. There is no migration. Things that behave differently afterwards:

  • Server sandbox is on by default and needs nothing on a standard install: the daemon’s docker-compose.yml already grants NET_ADMIN, which the network guard needs. Admin → Nodes shows per node which layers are active; nodes on an older daemon show “not reported”. See Security model.
  • Game servers can no longer connect to anything on their own node. A plugin that talks to another server on the same node over 127.0.0.1 (for example a proxy or cross-server chat) needs that server’s public address instead, or TALEDAEMON_SERVER_SANDBOX=off. The TalePanel network mod is not affected.
  • Memory limits apply only where the daemon may manage cgroups (systemd with Delegate=yes, a container with a writable cgroup). Where they apply, a server that uses more than its RAM limit plus half of it (at least 512 MiB more) is stopped by the kernel and shown as crashed.
  • The DDoS rules on the game ports now actually load. Before v0.16 they failed on every node and the daemon only detected floods. See Alerts.

Upgrade the panel first, then every daemon host. The API applies migrations 049 and 050 on start. Things that behave differently afterwards:

  • CA rotation needs the v0.15 daemon on every node. Admin → Nodes → Node certificates lists nodes whose daemon cannot follow a rotation yet; rotate only when that list is empty. Nodes that are not updated keep working and renew their certificate on a restart within 30 days of expiry, as before. See Node certificates and CA rotation.
  • Modtale works without setup. On a busy panel, MODTALE_API_KEY in the panel’s .env raises Modtale’s limit of 60 requests per minute. See Mods.
  • Mods installed from CurseForge before v0.15 still show the source manual; new installs show curseforge.

Upgrade the panel first, then every daemon host. The API applies migration 048 on start. Things that behave differently afterwards:

  • Nodes require mutual TLS. A v0.14 node refuses plaintext connections and exits if it cannot get its certificate from the panel. Panels from v0.12 on already use mTLS, so nothing changes for them. Only if a node must keep talking to a panel older than v0.12, add TALEDAEMON_REQUIRE_MTLS=0 and TALEDAEMON_ALLOW_LEGACY_BEARER=1 to the node’s .env until that panel is updated.
  • Performance graphs need the v0.14 daemon. Nodes that are not updated keep working, but their servers record no history. The graphs fill from the moment a node runs v0.14. See Performance graphs.
  • Require 2FA for admins is off after the upgrade. An owner can turn it on once their own account has 2FA. See Two-factor login.
  • Sign-in alert emails are on by default when SMTP is set up. The first sign-in of each account after the upgrade is not reported.
  • Metric cleanup: the API now deletes node and server metrics older than 8 days. On a panel that has run for a long time, the first cleanup right after the API starts removes many old rows at once.

Upgrade the panel and every daemon host: Hytale server updates and per-server isolation need the new daemon. The API applies migrations 042 to 047 on start. Things that behave differently afterwards:

  • Game servers run under their own Linux user. On its first start the new daemon converts every existing server: it creates a tpsrv<uid> user per server and gives it the server’s directory (mode 0700). Big servers take a moment. If the data directory is on a file system that does not keep file owners, isolation stays off and the daemon logs why. TALEDAEMON_SERVER_ISOLATION=off in the node’s .env keeps the old behaviour. See Security model and open gaps.
  • Hytale server updates are off until you turn them on. After the upgrade the panel does not know yet which build each server runs. It learns it on the server’s next install or update. To update automatically, add a Hytale update task per server under Schedules. See Hytale server updates.
  • API keys start empty. Migration 047 replaces the unused api_keys table from the first schema; nothing in it was ever used. See API keys.
  • 2FA recovery codes: users who turned on 2FA before v0.13 have no recovery codes. They can generate a set under Settings → Security. See Two-factor login.
  • Version check: the panel now knows its own version (v0.13.0) without APP_VERSION. If you set APP_VERSION yourself, remove it or keep it in sync, or the update notice compares against the wrong version.
  • No more -beta suffix: from this release on, normal releases are not marked as pre-releases on GitHub.

Upgrade the panel and every daemon host. The API applies migration 041 on start. Things that behave differently afterwards:

  • Mutual TLS to nodes. On its next start each updated node creates its own key, asks the panel for a certificate and stores it in /srv/taledaemon/pki. Once its TLS listener is up, the panel talks to it over HTTPS with its own client certificate. Nothing to configure. If the panel is unreachable at that moment, the node keeps working the old way and tries again on its next restart.
  • Transition mode. In v0.12 and v0.13, nodes still accept the old token-only connection by default, so a node updated before its panel keeps working. From v0.14 on, nodes require mTLS by default (see above).
  • Encrypted backups. New backups are encrypted with a panel-managed key. Export the key under Admin → Integrations → Backup encryption and keep it somewhere safe; without the panel database or that key, encrypted backups cannot be restored. Older unencrypted backups still restore.
  • Stuck node after moving it to another panel or node ID: delete /srv/taledaemon/pki on the node, run UPDATE nodes SET mtls_enabled = false WHERE id = '<node id>'; on the panel database, then restart the node.

Upgrade the panel and every daemon host: off-site backups, auto restart, CPU limits and Reinstall need the new daemon, and the daemon image now includes rclone. The API applies migrations 037 to 039 on start. Things that behave differently afterwards:

  • Auto restart is active. The setting always defaulted to on but the daemon ignored it. Now a crashed server is started again after 5 s, 10 s, 20 s, up to 60 s, and the daemon gives up after 3 crashes in 10 minutes. Turn it off per server if you don’t want that. Stops from the panel and Hytale exit codes 8 and 11 never trigger a restart.
  • Exit code 0 means stopped. A server that shuts down on its own with code 0 (for example stop typed in the console) shows as stopped, not crashed.
  • CPU limit: migration 038 resets the old default of 4 to 0 (unlimited). The limit was never enforced before, so running servers behave the same. See Your first server for where it is enforced.
  • Invitations: invitations accepted from now on grant the invited role’s permissions on that server. Members who joined earlier keep their global role until you invite them again or set their permissions.
  • Email alerts: set SMTP up under Admin → Integrations. The SMTP_* env vars still work as a fallback.
  • Backups: the Storage field is gone. Off-site copies go to destinations under Backups → Destinations. See Backups.

The API applies migrations 016 to 035 on start. Things that behave differently afterwards:

  • Hytale 0.6 or newer is required. Default commands use the 0.6 syntax (whitelist add/remove, give --quantity, weather ids). Servers need Java 25.
  • Network mod: update talepanel-network on every networked server. Handoff keys are now per server (config version 2), and the API rewrites each network.json on start.
  • Hytale account link is opt-in per server (Settings → Launch Settings, admins only).
  • Stricter input: world names must match [A-Za-z0-9_-]{1,64}, player names [A-Za-z0-9_]{1,32}. Console commands with control characters are rejected. Mod URLs from non-admins must point at the CurseForge CDN.
  • Alerts: global and node-level rules (CPU, RAM, disk, node offline, DDoS) are admin-only. Existing global rules owned by non-admins stop firing.
  • Offline binaries in /srv/taledaemon/hytale-bin/ are copied per server instead of hardlinked, which costs about one Assets.zip of disk per server.

Rolling forward is preferred. TalePanel does not ship down-migrations, so a rollback needs a database restore:

  1. Restore PostgreSQL from the dump you took before the upgrade.
  2. git -C /opt/talepanel checkout <previous-tag>
  3. cd /opt/talepanel/deploy/panel && docker compose build api web && docker compose up -d
Terminal window
sudo bash <(curl -fsSL https://raw.githubusercontent.com/BitaceS/talepanel/main/scripts/install.sh) --mode uninstall

After a confirmation, the uninstaller:

  • runs docker compose down -v for the panel and the daemon. This deletes the Docker volumes, including the panel database.
  • removes /opt/talepanel and /opt/taledaemon.

It does not remove /srv/taledaemon. Your game data, server directories and backups stay there. Delete it by hand if you want it gone.

Take a database dump first if you might want your accounts and server records back.

TalePanel

Built by BitaceS · sudowl.com · Partner:HytaleTalk

Free forever · AGPL-3.0 · Not affiliated with Hypixel Studios. · Impressum · Datenschutz