# urbestack-software-update-run

First published 5 Dec 2026 (release 0.2.39) · Unchanged since publication

UrbeStack release 0.2.39 command, run as root in the server shell.

## Usage

```
urbestack-software-update-run [--no-install] [--dry-run]
```

## Description

urbestack-update.service runs this command every hour after checking for UrbeStack and plugin updates. The command does nothing unless an administrator requested an update with Update now or urbestack-software-update-now, or the run falls within the one-hour window that starts at updates.hour.

During that window, if software.automatic is on, the command updates every installed piece of software selected for the nightly run, once per night. It handles one piece of software at a time, as urbestack-software-update --unattended does. On request, it updates the named pieces of software whether software.automatic is on or off.

If a service does not come back after an update, the command stops. UrbeStack shows a red notice on every page of the administrator's panel and emails administrators the versions and the commands that restore the previous version. UrbeStack also emails administrators once when a piece of software cannot be updated and sends an email when a running job has kept the nightly run from updating software for three nights in a row.

Every hour, the updater also asks the license server for the flags UrbeStack has raised and verifies their signature using the keys in keys/flags. While a flag is up and software.security is on, this command will update the flagged piece of software even if it is outside the nightly run. If the flag has a target, the command will update the piece of software and try again every hour while the installed version is below the target. If the flag has no target, the command will update the piece of software once. If a held package stops the security update, UrbeStack will show a red notice on every page of the administrator's panel and email administrators once per flag.

On Ubuntu, while software.automatic is on, the command keeps /etc/apt/apt.conf.d/52urbestack- software, which tells Ubuntu's unattended-upgrades to skip the packages UrbeStack updates. With --no-install or --dry-run, the command updates nothing.

## Command family: software

- [urbestack-software-dismiss](https://urbestack.com/docs/commands/urbestack-software-dismiss.md): The command clears the red notice for the piece of software named with --name after its service did not come back following an update.
- [urbestack-software-keep](https://urbestack.com/docs/commands/urbestack-software-keep.md): For each piece of software UrbeStack installs on this server, the command fetches the package files for the currently installed versions from the server's repositories and keeps them under UrbeStack's data directory.
- [urbestack-software-list](https://urbestack.com/docs/commands/urbestack-software-list.md): The command lists the pieces of software UrbeStack installs and keeps updated on this server, such as httpd, php84, and mariadb.
- [urbestack-software-set](https://urbestack.com/docs/commands/urbestack-software-set.md): The command sets whether the piece of software named with --name is selected for the nightly run.
- [urbestack-software-update](https://urbestack.com/docs/commands/urbestack-software-update.md): The command uses the server's existing repositories to update the pieces of software UrbeStack installs on this server.
- [urbestack-software-update-now](https://urbestack.com/docs/commands/urbestack-software-update-now.md): The command records a request for the updater and starts urbestack-update.service, which updates the pieces of software named with --name.
