Skip to content
0x1917Public

About

Unraid Update Utility (3U): scheduled update checks for Unraid plugins and Docker containers with release notes, policy rules, and optional auto-update.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

3U - Unraid Update Utility

Version Build Downloads Platform License

An Unraid plugin that keeps your plugins and Docker containers up to date. It checks on a schedule, shows the release notes, and applies updates automatically.

  • One page for every plugin and container: installed version, available version, and how long the update has been out.
  • Release notes before you update, including releases you skipped.
  • Update one item, a selection, or everything.
  • Automatic updates, per type, with an optional minimum release age.
  • Unraid notifications for new updates, automatic updates, and failures.
  • Unraid's own tools: updates run through plugin update and update_container, like the webGUI.

Install

Requires Unraid 7.0.0 or later. Nothing else to install. The plugin is available on ca.unraid.net, but can also be installed manually:

  1. In the webGUI, go to Plugins > Install Plugin.

  2. Install from:

    https://github.com/0x1917/3u/releases/latest/download/3u.plg
    
  3. Open Settings > User Utilities > 3U, or /ThreeU.

The first install sends a notice listing other update tools you can turn off (Unraid's own update checks, CA Auto Update, Appdata Backup's update option, and Fix Common Problems' plugin warnings), since 3U covers them. 3u advise shows it again.

Uninstall from Plugins. Settings stay on flash for a reinstall.

Using 3U

3U has three tabs: Containers, Plugins, and Settings.

  • Checks run on the schedule (daily at 03:00 by default) or from a refresh button. The console under the summary shows each run.
  • Rows show Current, Upstream, Age, and a status pill. Changelog opens the release notes. A build with no version name shows its tag and short digest (latest:899f6c).
  • Update on a row, or tick rows and use Update selected. Each run opens a dialog with its log; closing it doesn't stop the run.
  • Filter shows every item with an update by default (except ignored ones), or every item, or one status.
  • Ignore removes an item from the update list, notifications, and automatic updates. You can still update it by hand.

What gets updated

An item is offered when upstream is newer and it isn't ignored. Automatic updates also wait for the minimum release age, if set.

Containers must be managed by an Unraid template (anything from the Docker page or Community Applications). Compose containers with an update are listed, but you update them from their stack.

If CA Auto Update would also update items 3U updates automatically, 3U warns you; pick one tool for them.

Settings

Setting Default What it does
Schedule Daily, 03:00 When to check and auto-update: hourly, daily, weekly, monthly, or cron
Automatic updates On Apply updates on the schedule, for plugins and/or containers
Minimum release age 0 days Hold automatic updates until a release is this old (separate for plugins and images)
Notifications Off Unraid notifications by browser, email, or agents
GitHub API token None Raises GitHub's release-note limit from 60 to 5,000 requests an hour

Details in docs/configuration.md.

Command line

/usr/local/emhttp/plugins/3u/scripts/3u check [--auto]
/usr/local/emhttp/plugins/3u/scripts/3u update plugin <name>.plg
/usr/local/emhttp/plugins/3u/scripts/3u update container <name>
/usr/local/emhttp/plugins/3u/scripts/3u update-all plugins|containers [--force | --only <ids>]
/usr/local/emhttp/plugins/3u/scripts/3u selftest
/usr/local/emhttp/plugins/3u/scripts/3u advise [--notify]
/usr/local/emhttp/plugins/3u/scripts/3u version

Exit codes:

  • 0 success
  • 1 usage error
  • 2 busy
  • 3 partial failure
  • 4 Docker or network down.

Full reference: docs/api.md.

Help

See docs/troubleshooting.md, run 3u selftest, or open a GitHub issue.

Development

make test        # PHP tests
make test-js     # JavaScript tests (needs node)
make lint        # lint and static checks
make build       # package into dist/
make deploy      # install on your test server over SSH
Document Content
docs/development.md Building, testing, releasing
docs/deployment.md Deploying to a test server
docs/architecture.md Components, data flow, storage
docs/api.md Web endpoint, CLI, output format
docs/configuration.md Every setting
docs/troubleshooting.md Problems and fixes
CONTRIBUTING.md How to contribute
SECURITY.md Reporting vulnerabilities

About

Unraid Update Utility (3U): scheduled update checks for Unraid plugins and Docker containers with release notes, policy rules, and optional auto-update.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages