{% extends "base.html" %} {% block title %}System Updates - Enterprise VPN Hub{% endblock %} {% block content %}

System Updates & Versioning

Perform in-place application updates, manage versioning, and create rollback backups

💾 Backup Settings & Users Current Version: v{{ app_version }}
đŸ›Ąī¸ Pre-Update Data Protection: Before applying any update package, it is recommended to create a snapshot backup of your user accounts, passwords, and cryptographic keys.
🔒 Create Encrypted Backup

đŸ“Ļ Active Installation

Operational
Appliance Version: v{{ app_version }}
Last Updated: {{ last_update_time or 'Initial Release' }}
Package Name: {{ last_update_pkg or 'Base Virtual Machine Image' }}
Changelog / Notes: {{ last_update_desc or 'Initial installation with multi-protocol VPN, hostname & SSL configuration.' }}
💡 In-place updates apply only the modified code, templates, and migrations without requiring redeployment or reconfiguration of the underlying OS image.

đŸˇī¸ Versioning Scheme (0.x.y)

This appliance adheres to strict semantic versioning tailored for virtual appliances:

0.x.0
Major Changes & New Functions (x)
Incremented when introducing new major capabilities, new VPN protocols, or significant administrative subsystem overhauls.
0.x.y
Minor Changes & Bug Fixes (y)
Incremented for routine maintenance, bug fixes, UI improvements, and non-breaking security patches.
Package builds automatically enforce 0.x.y compliance and verify SHA-256 integrity checksums prior to installation.

âŦ†ī¸ Install In-Place Update Package

Supports single-file .tar.gz update packages
đŸ“Ļ
Drag & Drop your update package here, or click to browse
Supports verified single-file archives (.tar.gz, .pkg)
Uploaded packages are verified for tamper-proofing (SHA-256) and validated against system version compatibility.

đŸ›Ąī¸ Available Application Backups & Rollback Points

💾 Create Manual Application Snapshot
{% if backups %} {% for b in backups %} {% endfor %}
Backup Archive Created Timestamp File Size Action
{{ b.filename }} {{ b.created_at }} {{ b.size_kb }} KB â†Šī¸ Rollback
{% else %}

No rollback backups available yet. An automatic backup will be created whenever an update package is installed.

{% endif %}

đŸ› ī¸ Administrator Package Builder Reference

Administrators and developers can produce single-file update packages using the bundled CLI utility:

# Build a Minor Bug Fix Update (increments y):
python3 /opt/vpn-portal/scripts/build_update_package.py \
  --version 0.2.1 \
  --description "Fix DNS configuration bug and optimize WireGuard handshake" \
  --output /root/vpn-update-0.2.1.tar.gz

# Build a Major Feature Update (increments x):
python3 /opt/vpn-portal/scripts/build_update_package.py \
  --version 0.3.0 \
  --description "Add multi-factor authentication support" \
  --output /root/vpn-update-0.3.0.tar.gz
{% endblock %}