Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Releases: Heavybullets8/heavy_script

v2.9.5

06 Jun 22:09
c3d3552
Compare
Choose a tag to compare

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

29 Apr 08:28
0729d3d
Compare
Choose a tag to compare

Bugfix:

  • Sudo Path Management
    • Renamed ensure_symlink to ensure_sudoers and modified its functionality to append $HOME/bin to the sudoer's PATH. This change aligns with Dragonfish's new policy restrictions, ensuring users invoking sudo have the correct path visibility.

v2.9.3

18 Apr 08:35
Compare
Choose a tag to compare

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

04 Apr 18:38
7a8a0c5
Compare
Choose a tag to compare

[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

13 Mar 20:37
Compare
Choose a tag to compare

[Bugfix]

  • Correct command for pulling CNPG apps for database checks during backups
  • Follow redirects for repo

v2.9.0

10 Jan 18:32
6034d23
Compare
Choose a tag to compare

[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.

[Removed]

  • DNS Function Changes: Removed the -a or --all flag, which is now the default for the DNS function.

v2.8.1

08 Jan 20:39
f29e979
Compare
Choose a tag to compare

[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:

  1. Open a shell
  2. Enter the Heavyscript menu:
    • heavyscript
      or
    • Go to where heavyscript is installed and run:
    • bash heavy_script/heavy_script.sh
  1. Choose option 4: Heavyscript Options
  2. Choose option 1: Self Update

v2.8.0

07 Jan 21:27
fa4e00e
Compare
Choose a tag to compare

[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

01 Jan 02:44
Compare
Choose a tag to compare

[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

26 Dec 22:54
Compare
Choose a tag to compare

[Bugfixes]

  • Set velero config settings when calling velero function
  • Add additional checks for operators, do not attempt to stop them