A easy tool for frequently used TrueNAS SCALE CLI utilities. Previously known as "trueupdate"
run pip install truetool
Please be aware you will need to reinstall after every SCALE update
run pip install --upgrade truetool
running truetool
should be a good start.
Additional options are available:
truetool -h
for the CLI help page
-
truetool -u
ortruetool --update
updates TrueNAS SCALE Apps -
truetool --catalog CATALOGNAME
where CATALOGNAME is the name of the catalog you want to process in caps -
truetool --versioning SCHEME
where SCHEME is the highest semver version you want to process. options:patch
,minor
andmajor
-
truetool -a
ortruetool --all
updates both active (running) and non-active (stuck or stopped) Apps
truetool -b
ortruetool --backup
backup the complete Apps system prior to updates. Deletes old backups prior, number of old backups can be set, 14 by defaulttruetool -r
ortruetool --restore
restores a specific backup by nametruetool -d
ortruetool --delete
deletes a specific backup by name
truetool -s
ortruetool --sync
to sync the catalogs before running updatestruetool -p
ortruetool --prune
to prune (remove) old docker images after running auto-update
Please use the above arguments seperatly, combining them might not work as you would expect.
So use: truetool -u -b -p -s -a
not: truetool -ubpsa