> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Updating

> How updates reach you, and how to apply them without losing anything

## How you find out

With an active license, your app asks Azvian's license service once a day whether a newer version exists for you. When one does:

* **Affiliate Manager**: a banner on the dashboard and a dot on **Settings → Updates**.
* **Uptime Monitor**: a notice in the *Updates* box under **Admin → Licence**.
* **Contracts, Forms, Invoicer, Knowledge Base, QR & Link Manager**: no in-app notice yet. New versions are published on your Gumroad download page, and you update by uploading the new release (the *Manual* way below). Each product's *Updating* page has the details.
* **CRM, SEO, Mailer, Social**: an update checker runs on the daily schedule set up during installation; see each product's *Updating* page.

Press **Check for updates** (or **Check now**) to look straight away. A new version only appears for a license that is valid and covers updates, and only after Azvian has published it. Your copy keeps working whether or not you update.

## Before every update

> [!WARNING]
>
> **Back up first.** Export your database (phpMyAdmin or your host's backup tool), and keep a copy of your `.env` file and the `storage/` folder. An update never overwrites your `.env`, your settings or your uploads, but a backup is what lets you undo anything.

Read the changelog shown next to the update so you know what changed.

## Two ways to update

> [tab] Automatic (Affiliate Manager 0.3.2 and newer)
>
> Open **Settings → Updates**, tick **I have backed up my database** and press **Update**. The app:
>
> 1. downloads the new release and checks that it is this product and exactly the version offered;
> 2. shows a short "back soon" page for a few seconds while it swaps the program files, after backing up every file it replaces into `storage/app/updates/`;
> 3. upgrades the database on the next page load.
>
> If anything fails halfway, every file is put back and the page says so. Your `.env`, `storage/` and database are never touched by the files. The button is replaced by the reason when your hosting cannot do it (read-only folders, a Docker container, a web root outside the install folder). Use the manual way then.

> [tab] Manual (every product)
>
> 1. Press **Download** next to the new version (the link works for 15 minutes; press the button again if it expired), or download the zip from your Gumroad receipt.
> 2. Unzip it on your computer.
> 3. Upload its contents over the files on your hosting. **Keep your `.env` file and the `storage/` folder**: do not replace them.
> 4. Open your site. The database upgrades itself on the first visit, and the update notice disappears.
>
> Files that a new version no longer includes are left in place; they are harmless. Uptime Monitor's own guide describes a tidier swap of the whole folder: see [Updating Uptime Monitor](https://docs.azvian.com/uptime-monitor/updating.md).

## If an update goes wrong

* Restore the files from before the update (the automatic update keeps a copy of what it replaced in `storage/app/updates/backup-…`; for a manual update, re-upload the previous release's files).
* If the database had already been upgraded and something is wrong, restore your database backup.
* Contact us at [hello@azvian.com](mailto:hello@azvian.com) with the message you saw.

## Not seeing an update?

* The check needs an **active license** and a server that can reach `api.azvian.com`. The Updates page shows when it last checked and any error.
* Products sold as a subscription only receive updates while the subscription is active.
* A development copy, or one built from source, cannot check for updates. Use the official zip.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.