Skip to content

v5.3

Latest

Choose a tag to compare

@mmtaee mmtaee released this 19 Nov 21:00
6fe2d2e

Ocserv Dashboard v5.3

Highlights

  • Added dashboard-managed upgrades for superadmins. The admin UI now announces a newer release, starts the upgrade, reports progress and failures, reconnects while the panel restarts, and reloads after a successful update.
  • Added authenticated update API endpoints and persistent update state. Concurrent upgrades are rejected, update progress survives backend restarts, and status messages avoid returning log lines containing passwords, secrets, or tokens.
  • Added Docker and systemd update runners. Docker upgrades build the replacement image before stopping the active container and restore the previous container if startup or health checks fail. Systemd upgrades preserve the previous backend binary and restore it when installation fails.
  • Standardized installation files under /opt/ocserv-dashboard, with the Git checkout in /opt/ocserv-dashboard/source and the installed release marker at /opt/ocserv-dashboard/.release.

Docker images

The stable v5.3 tag triggers multi-architecture image builds for linux/amd64 and linux/arm64 at:

docker.io/mmtaee/ocserv-dashboard:v5.3
docker.io/mmtaee/ocserv-dashboard:latest

ghcr.io/mmtaee/ocserv-dashboard:v5.3
ghcr.io/mmtaee/ocserv-dashboard:latest

The publishing workflow was still in progress when this note was prepared. Verify the completed v5.3 GitHub Actions run before announcing the images as available.

Security and compatibility

  • Update actions require an authenticated superadmin. Other dashboard users cannot start or inspect an update.
  • Update locks and state files prevent concurrent upgrades and preserve progress across backend restarts.
  • Update-mode installers no longer print dashboard credentials.
  • Docker updater support uses the existing Docker socket integration and adds the Docker CLI to the production image. Systemd updates run through a transient systemd-run unit.
  • No database migration is required for this release.

Documentation

  • Updated installation instructions for the /opt/ocserv-dashboard source layout and the supported curl | bash bootstrap command.
  • Documented the installed release marker and the direct upgrade command.
  • Added the project contributor avatar section to the README.

Fixed issues

  • #140 — Display VPN Version Information & Update Notification in Dashboard. The dashboard now reports release availability and provides a superadmin upgrade action with progress and recovery status.
  • PR #191 — Added the upgrade panel and merged the release, installer, and rollback work included in v5.3.

Validation

  • Backend tests: go test ./...
  • Backend static analysis: go vet ./...
  • Admin UI type-check: corepack yarn type-check
  • Admin UI production build: corepack yarn build
  • Installer syntax: bash -n install.sh setup.sh deploy/systemd/install-common.sh deploy/systemd/master/install.sh deploy/systemd/agent/install.sh
  • Docker image publication must be confirmed from the completed v5.3 GitHub Actions workflow.