Skip to main content

Upgrade on Linux

note

Most Linux (systemd) installs upgrade themselves from Settings ▸ About — see Upgrades for the built-in rolling upgrade. Use this installer procedure when the built-in upgrade can't be used or won't complete, for example when staging a release on an air-gapped server or recovering from a failed rolling upgrade.

Use the same package variant and queue mode as the installed system.

tar xzf linkiir-1.1.0-linux-x64-kafka.tar.gz
cd linkiir-1.1.0-linux-x64-kafka
sudo ./install.sh --queue bundled-kafka

Check the current queue mode before upgrading:

grep '^mode' /etc/linkiir/config.ini

The installer:

  • Backs up /etc/linkiir/ to /var/lib/linkiir/backups/pre-upgrade-<timestamp>/.
  • Stops Grid and then the bundled queue.
  • Aborts if processes do not release within the stop timeout.
  • Replaces /opt/linkiir.
  • Preserves /etc/linkiir/config.ini, /etc/linkiir/linkiir.env, and /var/lib/linkiir.

After upgrade:

systemctl status linkiir-grid
curl -s http://127.0.0.1:8080/api/health