Releases: Heavybullets8/heavy_script
v2.9.5
Final Release Note for HeavyScript
Last Release of HeavyScript
This is the final release of HeavyScript. Due to the upcoming update for TrueNAS SCALE, where k3s will be removed and replaced with Docker Compose, I have decided to archive this repository. As a result, there will be no further updates or support for HeavyScript.
Backup/Restore Solution for TrueNAS SCALE Dragonfish
I was working on a new release to fix the backup/restore solution, as TrueNAS SCALE Dragonfish no longer supports PVs. If you are on TrueNAS SCALE Dragonfish and want to use the unreleased backup/restore solution, you can switch to the new branch with the following command:
heavyscript git --branch
and selecting the DF-backup-restore option.
### Full Archive Notice
https://github.com/Heavybullets8/heavy_script?tab=readme-ov-file#archived-repository-notice
v2.9.4
Bugfix:
- Sudo Path Management
- Renamed
ensure_symlink
toensure_sudoers
and modified its functionality to append$HOME/bin
to the sudoer'sPATH
. This change aligns with Dragonfish's new policy restrictions, ensuring users invoking sudo have the correct path visibility.
- Renamed
v2.9.3
Bugfix:
-
PVC
-
- Use kubectl commands to find paths rather that searching zfs
-
Database Dumps
-
- Fix Failed messages
-
- Fix "Resource not found"
-
Lifecycle
-
- Include deploying applications in stop menu
v2.9.2
[Bugfix]
- Silence error when no CNPG apps are found
- Wait for primary Postgres pod to come up prior to attempting dump
- Do not return from the database dump function after a single app failure
[Improvements]
- Add better error messages for failed database dumps (still needs some work)
v2.9.1
[Bugfix]
- Correct command for pulling CNPG apps for database checks during backups
- Follow redirects for repo
v2.9.0
[Features]
- Update-Only Flag: Introduced
-u, --update-only
flag that allows updating only specified applications. Users can provide a comma-separated list of apps or use the flag multiple times. Example usage: -
heavyscript update -u sonarr,radarr,nextcloud
- Enhanced DNS Function: The DNS function now accepts app names, returning results only for those specified apps. Example usage:
-
heavyscript dns sonarr radarr nextcloud
.
[Improvements]
- Enhanced Ignore Flag: The
-i, --ignore
flag now accepts comma-separated lists. -
- Example:
heavyscript update --ignore sonarr,radarr,nextcloud
. The previous method of using individual-i
flags per app remains functional.
- Example:
[Removed]
- DNS Function Changes: Removed the
-a
or--all
flag, which is now the default for the DNS function.
v2.8.1
[Bugfix]
- v2.8.0 broke self update, this PR reverts the change.
[Instructions]
Users already on v2.8.0 will have to do the following:
- Open a shell
- Enter the Heavyscript menu:
-
- heavyscript
or
- heavyscript
-
- Go to where heavyscript is installed and run:
-
- bash heavy_script/heavy_script.sh
- Choose option 4: Heavyscript Options
- Choose option 1: Self Update
v2.8.0
[Features]
- Add logs to update failures
-
- Full logs for --verbose
-
- Logs limited to 500 characters for non-verbose
[Improvements]
-
Attempt fix towards updates reporting they failed, when they have not
-
- Specifically handle middlewared timeouts, which is usually the cause of these false reports
-
Print better error messages for updating, such as:
-
- If the command itself times out, say so, and recommend a higher --timeout
-
- If middlewared consistently times out, recommend a lower number of concurrent updates
-
- If snapshots preventing updates are not being deleted, state that
-
- Otherwise print out an error for the user
-
If the update command returns that there is no update available, report that as a successful update
[Other]
- Remove restart container logic after updating container images
- Do not self update if -h or --help is called, in any context.
- Change "Removed Docker Images" to just "Removed Images".
[Notes]
- If you set a ridiculous timeout, such as 99999, then you may have to wait that long if middlewared does not have internal timeouts for its update functions. Do NOT report these as errors to me.
v2.7.8
[Improvements]
- Improve documentation, add a note for -x stating that it is NOT a recommended flag when updating
- Improve Velero error message when namespace cannot be set
v2.7.7
[Bugfixes]
- Set velero config settings when calling velero function
- Add additional checks for operators, do not attempt to stop them