System updates

Ravicor keeps itself up to date on its own: the server syncs with the Ravi central, is notified of a new version through an encrypted channel and applies the package only after validating the digital signature. This page explains license synchronization, the automatic update cycle and the gradual rollout of versions.

License and synchronization

Synchronization is the periodic conversation between your server and the Ravi central. It is how the system validates the license, applies the contracted plan, sends usage telemetry and finds out when there is a new version to download.

How and when it happens

  • Synchronization runs automatically every 10 minutes, without any action from the operator.
  • All communication travels over an end-to-end encrypted channel, with a unique identity per server, a rotating secret and protection against message replay. No intermediary can read the content.
  • The plan credential received in each synchronization is valid for 24 hours. In practice, a single successful sync per day is enough to keep the plan active: short internet outages have no effect.

Your network monitoring data stays on your server: synchronization handles only licensing, plan enforcement and update distribution. No subscriber traffic data is sent to the central.

Force an immediate synchronization

After contracting or changing a plan, you do not have to wait for the next automatic cycle:

  1. Open the system Settings.
  2. Locate the RAVI Registration card. It shows the server identification token, used for registration and for contacting support.
  3. Click Update to trigger an immediate synchronization with the central. The new plan takes effect right away.
  4. If you need to provide the token elsewhere (for example, when contracting), use the Copy button.

Without clicking Update, the plan change is applied anyway on the next automatic cycle, within 10 minutes.

What happens if synchronization fails

SituationEffectHow to resolve
Short internet outage (hours) None. The plan credential is valid for 24 hours. Nothing to do.
More than 3 days without syncing The web session is dropped (forced logout) until the server talks to the central again. Allow the server's HTTPS outbound to the internet and click RAVI Registration → Update.
Block due to overdue payment Same effect: forced logout until the account is settled. Settle the billing with Ravi and synchronize again.
Identity not recognized by the central (server restored from backup) The system re-registers itself on the next cycle, using the server token. Wait for the automatic cycle. If the problem persists, contact support.

One installation corresponds to one server. Cloning the VM and keeping both copies running creates an identity conflict on the central (anti-clone protection) and the plan stops being applied. To migrate to another server, restore the backup on the destination, shut down the source and let the system re-register itself. Never run both copies at the same time.

Without an active plan (expired trial or not registered), paid features are blocked and the managed DNS environment is disabled automatically: the recursive server starts forwarding queries to public resolvers, so your network does not lose name resolution, only the panel-based management. See the plans in Plans and features.


How it works New in 7.2

The Ravicor update is automatic and digitally signed. There is no "update system" button in the panel: when the new version is released to your server, it downloads, validates and applies the package on its own, usually with no perceptible impact on operations.

The cycle, from the notice to the new version in the footer

  1. Ravi publishes a new version on the central.
  2. During the 10-minute synchronization, your server receives the version notice along with the package manifest: the file fingerprint, the digital signature and the download address. The manifest arrives over the encrypted channel, directly from the central.
  3. Within 30 minutes, the update routine downloads the package over HTTPS, in an authenticated way.
  4. The package is applied only if both the file fingerprint and the digital signature match. A tampered or forged package is rejected automatically and the system stays on the current version.
  5. If any check fails, the update is aborted without touching anything, and the reason is recorded in the log.

What happens during the application

With the package validated, the server runs the sequence below, without intervention:

  1. Extracts the new version files over the current installation (additive extraction: overwrites and adds system files).
  2. Runs the operating system provisioning: installs packages that have become necessary, creates and updates services, repairs the AI environment if it is corrupted and reapplies permissions. The step is idempotent: running it again causes no side effect.
  3. Applies the database migrations (creation and adjustment of tables and columns, also idempotent).
  4. Restarts the PHP service to clear internal caches.
  5. Updates the version number and synchronizes with the central again.

The installed version appears in the footer of every screen, in the format Version followed by the number and date. The highlights of each version are on the What's new page, reachable from the avatar menu (top right corner). See What's new page.

If automatic updates are disabled and a new version exists, the footer shows an alert icon next to the version number, with the message An update is available! Enable automatic updates in settings...

Where to see what happened

Each update cycle writes a full log to /tmp/logupdate.log on the server. It is the first place to look (or to send to support) when it seems that "the update did not come": the log shows whether there was a download, whether the checks passed and where the process stopped.

Best practices

  • Do not edit files in /var/www/html. The update extracts the package on top and overwrites any customization made directly to the files. The supported customizations are the ones made through the interface.
  • Do not manage the firewall outside the panel. Provisioning wipes manual iptables rules on every update; the product firewall is the one managed through the interface. Rules created externally will be lost.
  • Keep HTTPS outbound allowed to the internet and to the Debian repositories. Without it there is no license and no update.
  • On a VM, take a snapshot before a big version jump. Migrations are idempotent and extraction is additive, but the snapshot is your zero-cost safety net.
  • Disk space: the package download uses disk (not RAM). If an update fails for lack of space, check the free space on the / and /opt partitions.

After the update, SSH access to the server is protected by fail2ban: after several wrong SSH passwords, the source IP is temporarily blocked as brute-force protection. If SSH "stopped accepting" after wrong passwords, it is not a service outage: wait for the block to end.


Gradual rollout

The distribution of new versions is gradual, in the model known as canary: before releasing to the whole base, the central can restrict the version to a chosen set of servers and watch the behavior in production. Only afterward is the version opened to the rest of the fleet.

In practice, this means that:

  • It is normal for one server to receive the version days after another, even within the same company. It is not a defect or an oversight.
  • While the version is not released to your server, synchronization continues as normal and nothing changes in operations.
  • When the release arrives, the automatic cycle described in How it works handles everything, with no action from the operator.

Want to confirm which version the server is on? Look at the footer of any panel screen. To find out what came in each version, open the What's new page in the avatar menu.

If days have passed and other servers have already received the version but yours has not, check the /tmp/logupdate.log log and, if needed, contact support with the token from the RAVI Registration card: it may just be the gradual rollout window, or something the log clarifies in seconds.