Skip to content
RADTik RADTik Docs
Start free

Keep RADIUS in sync

The panel's database is the source of truth. How the nightly check works and how to restore a rebuilt server.

Every voucher lives in two places: the panel's database and your RADIUS server. The panel's database is the source of truth. If the two differ, the panel repairs the RADIUS server.

The nightly check

Every night the panel compares the vouchers on each RADIUS server with its database:

  • A voucher that is missing on the server is sent again.
  • A user that exists only on the server (an "orphan") is reported.

You can run the same check at any time with Compare now on the server's Overview tab under Sync with database.

Removing users that exist only on the server

Automatic removal of RADIUS-only users is off by default. When you turn it on, orphans are removed through the normal deletion queue. For your safety the panel will not remove anything when the database has no vouchers for this server, or when more than 20% of the users on the server would be removed: that usually means something else is wrong.

After a server was rebuilt or replaced

If the server crashed or you installed it again:

  1. Install the RADIUS server again (Install a RADIUS server).
  2. On the server's Edit page, reset the saved SSH key if the operating system was reinstalled.
  3. On the Connection tab: Trust this server, then Send keys to server (the panel's keys are written to the new install).
  4. On the Overview tab press Resync from database.

Resync sends every live voucher with all its settings: password, speed, end time, locked device and disabled state. Customers who were online can log in again as before.

Note: Session history and login logs of the old server cannot be restored. Vouchers, end times and sales are not affected: they are in the panel.

Still stuck? We answer every message. Contact us