{% extends "base.html" %} {% block title %}Updates · NEXXVU{% endblock %} {# Only without JavaScript (Hani #1 2026-10-19): a timed refresh during the restart showed the gateway's empty error page, a white page that never came back. With JavaScript the page reloads only after the Portal answers again. #} {% block head %}{% if progress and progress.state == 'running' %}{% endif %}{% endblock %} {% block content %} {% set tx = state.transaction %}

Settings · Portal software

Updates {{ fresh_tag("updates:readiness") }} {{ fresh_tag("updates:tabs") }} {{ fresh_tag("portal:job-watch") }} {{ fresh_tag("portal:hung-jobs") }} {{ fresh_tag("ui:header-fit") }}

The installed release and the next step; how this Portal updates under Policy, and past updates under History.

Refresh status
{% set settings_section = "updates" %}{% include "_settings_navigation.html" %}
{% if error %}{% endif %} {% set tab = update_tab or 'overview' %} {% if tab == 'overview' %}

Installed

{{ state.health.release.semver or 'Development / unknown' }}{% if state.health.release.semver %} View changes{% endif %}

{% set ir = installed_readiness or {'state': 'pending', 'text': 'Readiness not yet confirmed by the server'} %}

{{ ir.text }}{% if ir.reason %} {{ ir.reason }}{% endif %}

{% if not ir.updating %}{% for reason in state.health.errors %}

{{ reason|replace('_',' ') }}

{% endfor %}{% endif %}

{{ ('Installed or last updated: ' ~ state.health.release.last_successful_update_utc) if state.health.release.last_successful_update_utc else 'Installation time not recorded' }}

Technical details
Schema
{{ state.health.schema_level or 'unknown' }}
Commit
{{ state.health.release.git_sha or 'No deployed release identity' }}
{# alpha.372 (Hani 2026-11-17: "combine the update1 and update2 servers and their status" into this card) #} {% if view.servers %}{% set servers = view.servers %}

Update servers {{ fresh_tag("updates:servers") }}

{% if not servers.legacy %}
    {% for row in servers.rows %}
  • {{ row.host }} {{ row.status }}{% if row.time %} · {{ row.time }}{% endif %}
  • {% endfor %}
{% endif %} {% if servers.no_channel_list %}
Both servers answered, but neither publishes releases on the {{ servers.channel or 'configured' }} channel (404). During the beta every release is published on alpha: on the Portal server, set the channel to alpha and check again - how.
{% endif %}
Server details {% if servers.legacy %}

Answered at the last check: {{ servers.served_by|join(', ') or 'none' }}. Response times appear after the next check.

{% else %} {% for row in servers.rows %}{% endfor %}
ServerStatusProtocol and portResponseCertificateRelease list
{{ row.host }} {{ row.status }}{{ row.protocol }} {{ row.port }}{{ row.time }}{{ row.certificate }}{{ ('#' ~ row.sequence) if row.sequence else '-' }}
{% endif %} {% if servers.origin %}
    {% for o in servers.origin %}
  • {{ o.version }} was downloaded from {{ o.server }}{% if o.at %} ({{ o.at }}){% endif %}.
  • {% endfor %}
{% endif %}
{% endif %}

Next action

{{ view.action.title }}

{{ view.action.text }}

{# alpha.294 (Hani #1 2026-11-03): the same rows on every Portal; the state changes their words, never the layout. #} {% set db = view.database %}{% set pv = view.prep %}{% set ps = pv.state if pv else {} %}{% set pp = pv.plan if pv else {} %} {% if db %}{% set prep_state = 'running' if pv and pv.running else ('failed' if ps.state == 'failed' else ('offer' if pp.needed else ('blocked' if pp.reason and pp.bytes >= pp.limit else 'none'))) %}
Database
{{ fresh_tag("updates:same-view") }}{{ (db.database_bytes / 1e9)|round(1) }} GB · every update copies it, so an update takes about {{ db.update_minutes }} minutes
Before the update
{% if prep_state == 'running' %} Preparing the database{% if ps.version %} for {{ ps.version }}{% endif %}: {{ ps.detail }}. Monitoring continues; this page refreshes by itself{% if ps.version %} and the update starts when the database is ready{% endif %}. {% set pg = pv.progress %}{% if pg %}
{% if pg.percent is not none %}{{ pg.percent }} %{% else %}{% endif %}
{% if pg.can_skip %}
{{ fresh_tag("updates:skip-prep") }}
{% endif %}{% endif %} {% elif prep_state == 'failed' %}Stopped Preparing the database stopped: {{ ps.error }}{% if ps.version %} The update to {{ ps.version }} was not started.{% endif %} {% elif prep_state == 'offer' %}Prepared first Above the suggested 1 GB: {% if 'move' in pp.steps %}the history moves to the data server (Monitoring history), {% endif %}this Portal keeps only the last hours and gives the space back. Update does this by itself first.
{% elif prep_state == 'blocked' %}{% if pp.prepared %}Prepared{% else %}Cannot prepare{% endif %} {{ pp.reason }}{% set no_prep = pp.reason %} {% else %}Nothing to prepare {{ ps.detail if ps.state == 'done' else 'Below the suggested 1 GB.' }}{% set no_prep = 'Not needed: the database is below the suggested 1 GB.' %}{% endif %} {#- alpha.307 (browser review 2026-11-05: monitor showed Prepare only, wirelessnetware did not): the same button in every state, disabled with the reason when there is nothing to prepare. -#} {% if prep_state in ('blocked', 'none') %}
{{ fresh_tag("updates:prepare-always") }}
{% endif %}
{% endif %} {% if view.action.kind == 'capacity' %}

Open Capacity

{% endif %} {% if view.action.kind == 'install' %}{% set offer = view.action.offer %}
Installed
{{ state.health.release.semver }}
Available
{{ offer.version }}
Expected interruption
{{ view.action.interruption or 'The Portal restarts once; usually about a minute.' }}

Full changelog

{% set prep_busy = pv and pv.running %}{# alpha.295 (Hani #1 2026-11-03): no Update while the database is prepared #} {% if prep_busy %}

{{ fresh_tag("updates:wait-prep") }}Waiting for the database to be prepared; {% if ps.version %}the update to {{ ps.version }} starts by itself.{% else %}Update is available again when it is done.{% endif %}

{% endif %}

Update to {{ offer.version }}?

{% if pp.needed %}First the database is prepared ({{ (pp.bytes / 1e9)|round(1) }} GB, above the suggested 1 GB); the update starts by itself when it is ready.{% else %}Nothing to prepare: the database is below the suggested 1 GB.{% endif %}

{{ view.action.interruption or 'The Portal restarts once; usually about a minute.' }} A backup is taken first. If the update fails, the Portal tries to restore the installed version automatically; if that is not possible it stops safely and an operator must finish the recovery.

Schedule instead

The update starts by itself at the chosen time (your timezone: {{ appearance.timezone_name }}). Everyone signed in is told during the hour before. If it cannot start then, it is skipped and you get a notice.

When
{% endif %} {% if view.schedule %}{% set plan = view.schedule %}
{% if plan.status == 'scheduled' %}

Scheduled: update to {{ plan.version }} at {{ plan.when }}, set by {{ plan.created_by }}.

{% else %}

The scheduled update to {{ plan.version }} ({{ plan.when }}) was skipped: {{ plan.detail }}

{% endif %}
{% endif %} {% if view.action.kind == 'current' %}
{% endif %}
{% if tx %}

Current transaction

{{ tx.prior_release }} → {{ tx.requested_release }}

{% if progress %}
{{ progress.percent }} %

{% if progress.state == 'running' %} {% endif %}{{ progress.label }} · step {{ progress.step }} of {{ progress.total }}

{% endif %}

Progress: {{ tx.current_stage|replace('_',' ') }} · Outcome: {{ tx.final_result|replace('_',' ') if tx.final_result else 'Not completed' }}

{{ tx.safe_diagnostic or '' }}

{{ fresh_tag("updates:refused-address") }}{{ fresh_tag("updates:long-update") }}{{ fresh_tag("updates:still-running") }}

{% if tx.current_stage == 'completed' and tx.final_result == 'succeeded' %}{% set r = readiness or {'state': 'finishing'} %}{% if r.state == 'ready' %}
Updated from {{ tx.prior_release }} to {{ tx.requested_release }}. The post-update refresh finished and the server confirmed the Portal is ready ({{ r.checked_at }}). Identity, configuration and data were kept.
{% elif r.state == 'failed' %}{% else %}
{{ tx.requested_release }} is installed. The server is finishing its post-update refresh and checks; this page updates when it confirms the Portal is ready.{% if r.reason %} Current state: {{ r.reason }}.{% endif %}
{% endif %}{% elif tx.final_result == 'rolled_back' %}
The update failed and the prior release was restored. Review the failure before requesting another release.
{% elif tx.current_stage == 'operator_required_stop' %}
Operator intervention required. Do not retry or reset this transaction.
{% elif tx.current_stage == 'failed' and tx.safe_diagnostic == 'StateConflict' and tx.events|length == 2 %}
This request was withdrawn before it started: the installation was reinstalled on another release. Nothing was changed. You can request a current release.
{% endif %}
View details
Transaction
{{ tx.id }}
Confirmed by
{{ tx.authorization_reference|replace("one-click:","") }}
    {% for event in tx.events %}
  1. {{ event.stage|replace('_',' ') }} — {{ event.created_at }}{% if event.safe_diagnostic %} · {{ event.safe_diagnostic }}{% endif %}
  2. {% endfor %}
{% endif %}
{% set auto_part = 'go-back' %}{% include "_auto_update.html" %} {% if not connected and view.enrolled == false %}

Connect this Portal to the update centers

Once, on the server, as a user that can use sudo. It asks for this Portal's name and the invitation code from your NEXXVU operator (typed at a hidden prompt, never on the command line), takes this Portal's address from its HTTPS front, and switches on reporting and updates.

  1. Connect (expect PORTAL_CONNECTED):{{ fresh_tag('updates:one-connect') }}
    {{ view.enrollment.command }}
  2. Reload this page: new releases then appear here with one Update button.
{% elif not connected and view.action.kind != 'busy' %}
Update control is unavailable. Ask the host administrator to configure the signed release catalog and update control socket. No execution is available.
{% endif %} {# alpha.372: update servers live in the Installed card #}

Available releases

{% macro available_row(row) %}

{{ row.version }}

{% if row.test %} TEST{% endif %}{% for badge in row.badges %} {{ badge }}{% endfor %} {{ row.date }}

{{ row.summary }}

{% if row.eligible %}

Ready to install

{% else %}{% for reason in row.reasons %}

{{ reason }}

{% endfor %}{% endif %}
View changes
{% endmacro %} {% for row in view.available[:3] %}{{ available_row(row) }}{% endfor %} {% if view.available|length > 3 %}
Show {{ view.available|length - 3 }} more available release{{ '' if view.available|length == 4 else 's' }}{% for row in view.available[3:] %}{{ available_row(row) }}{% endfor %}
{% endif %} {% if not view.available %}

No newer verified release is offered for this Portal. A release offer is not execution authorization.

{% endif %}
{% elif tab == 'policy' %} {% set auto_part = 'policy' %}{% include "_auto_update.html" %} {% include "_update_access.html" %} {% else %}

Release history

{% for group in view.groups %}
{{ group.label }} {{ group.summary }}
    {% for row in group.rows %}
  • {{ row.version }}{% if row.test %} TEST{% endif %}{% for badge in row.badges %} {{ badge }}{% endfor %} {{ row.date }}

    {{ row.summary }}

    View changes
  • {% endfor %}
{% if group.hidden %}

Load older releases ({{ group.hidden }} more)

{% endif %}
{% else %}

{{ 'No release matches “' ~ view.query ~ '”.' if view.query else 'No earlier releases are recorded in the local catalog.' }}

{% endfor %}

Update history

{% if view.history %} {% for row in view.history %}{% endfor %}
UpdateDate (UTC)OutcomeDetails
{{ row.transition }}{{ row.date }}{{ row.outcome }}View details
{% if view.history_total > view.history|length %}

Load older ({{ view.history_total - view.history|length }} more)

{% endif %} {% else %}

No update has been requested on this Portal.

{% endif %}
{% endif %}
{% endblock %} {% block scripts %}{% endblock %}