{# Unattended updates (R13.4): NEXXVU's own update account on the device. Shared by Tools › Updates and the add-device wizard's "Logs and updates" step (Hani #1 2026-10-27); tool_return sends the forms back to the wizard. #} {% set uv = updates_view %}{% set rep = uv.report or {} %}{% set ua = uv.account %} {% set pve = uv.proxmox_api or (rep.os or {}).id == 'debian' %} {% set acct = 'Root or sudo account' if uv.kind == 'server' else "Router administrator account" %} {% if uv.account_possible %}

Unattended updates

{% if ua %}

{% if ua.ready %}On{% else %}Key missing on this Portal{% endif %} NEXXVU updates {{ inventory.asset.name }} with its own update account, {{ ua.user }}, set up {{ (ua.created_at or '')[:16]|replace('T', ' ') }} UTC.{% if not ua.ready %} Set it up again to use it.{% endif %}

{% if not ua.ready %}{% endif %}
{% else %}

Off Today every check and update of {{ inventory.asset.name }} asks for its administrator account. To let NEXXVU update it without anyone typing a password - from this tab, from the device list and from update plans on a schedule - set up NEXXVU's own update account once:

{% endif %}
{% if tool_return %}{% endif %}

Set up unattended updates on {{ inventory.asset.name }}

NEXXVU signs in once with the administrator account and creates its update account{% if uv.kind != 'routeros' %}, NEXXVU's update tool /usr/local/sbin/nexxvu-update and the sudo rule that allows only that tool{% endif %}. The administrator account is used for this step only and never stored.

{% if ua %}
{% if tool_return %}{% endif %}

Remove the update account from {{ inventory.asset.name }}

NEXXVU removes {{ ua.user }}{% if uv.kind != 'routeros' %}, its update tool and sudo rule{% endif %} from the device and forgets its key. Updates then ask for the administrator account again.

{% endif %} {% endif %}