Skip to main content
With an active license, Azvian Social checks once a day whether a newer version exists. This is the daily cron entry from installation at work, alongside scheduled post dispatch.
Back up your database before an update, whichever way you choose. System settings → Backups makes one in one click. An update never overwrites your .env file, your storage/ folder or your modules, but a backup is what lets you undo anything. (Automatic installation makes the backup for you, see below.)

The Updates tab

Open System settings → Updates. It shows the version you are running, when it last checked, and a Check for updates button. When a newer version exists it shows what is new, with three ways to get it.
Tick Install new versions automatically. It is off until you switch it on.Every night, after the daily check, if a newer version of the same major release is out (1.2 to 1.3, never 1.x to 2.0), the app:
  1. makes a database backup (in System settings → Backups),
  2. downloads the new version and checks that it is this product and exactly the version offered,
  3. swaps the program files in a few seconds, keeping a copy of every file it replaces, and
  4. brings the database up to date.
If anything stops it (the backup fails, your hosting cannot do it, the download is refused, a file cannot be written) nothing is changed, or every file is put back, and the reason is shown on the Updates tab. A version that failed is not retried every night; switch the option off and on to give it another go, or install it by hand.
A major release such as 2.0 is never installed automatically, because it can change things you should look at first. The Updates tab still shows it (and says why it was not installed), and you install it with the button.
Both automatic ways are replaced by the reason when your hosting cannot do them: the web server may not be allowed to change its own files, the public folder may be somewhere else, PHP’s zip extension may be off, there may be less than 200 MB free, or the app runs in a Docker container (changes inside a container are lost on the next rebuild; deploy the new version instead). Use the manual update then.

Good to know

  • Automatic installation needs the cron entry from the installer, because it runs in the nightly job. Without cron, use the button.
  • A new version appears only for a valid license that covers updates.
  • Add-on modules, such as Azvian Social Extended, are updated separately under System settings → Modules.
  • Files that a new version no longer includes are left in place. They are harmless.
  • Your copy keeps working whether or not you update.
  • A development copy (not the official zip) cannot check for updates.