Get your free beta license ↗
CMDCommand · run as root on the server · update family

urbestack-update-run

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-update-run [--dry-run]

Description

From the command's --help output
Checks for and installs UrbeStack updates. urbestack-update.service runs this command when
urbestack-update.timer fires each hour, at a minute specific to this server, or when an
administrator selects Update now or runs urbestack-update-now. From a shell, use systemctl start
urbestack-update.service so the update continues after the shell session ends.

Each run asks the release endpoint for the latest release, verifies the manifest signature using
the keys shipped with UrbeStack and compares the release with the installed version. It installs
a newer release immediately on request. It also installs an urgent release immediately if
updates.urgent_automatic is enabled and the server runs the release that the urgent update is
built on. With updates.automatic enabled, the updater installs a pending release when the run
falls within the one-hour window starting at updates.hour, in server local time. Both settings
are enabled by default, and the default window starts at 03:00. A release that must wait is
shown on the dashboard with the reason, and administrators are emailed once.

Before installing, the updater waits up to one hour for a running job to finish. During
installation, every web interface page and API call returns HTTP 503. Sites, mail, FTP,
databases and webmail continue to operate. The updater backs up UrbeStack's database and
/etc/urbestack, installs the release's packages and runs install/setup.sh separately from the
package post-install scripts. It then checks that the installer completed, the UrbeStack systemd
units are running, and the API and sign-in page respond.

If the installation or a check fails, the updater automatically attempts to restore the previous
packages, the database and /etc/urbestack, then runs the previous release's installer. UrbeStack
shows a red notice on every page of the administrator's panel and emails administrators an
excerpt from the update log. With --dry-run, the command stops after checking for a release and
deciding whether it would install it.

Options

Find other commands that accept these options

More in update

7 commandsView all commands in this family →
Generated from release 0.2.35 (current) · urbestack-update-run --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-update-run/