Releases: sprockteam/ubi-tools
Releases · sprockteam/ubi-tools
v0.6.6 - 2019-08-10
Release Notes
v0.6.6 - 2019-08-10
Added
- Regex for hostname check
- Check to make sure certbot system timer is enabled
Removed
- Automatic update of apt-file
- UniFi Network SSL options in certbot hook script
Fixed
- Download URL check for older releases
Changed
- SSH setup to only set port if different from current
Improved
- Startup error reporting and logging
v0.6.5 - 2019-05-22
Release Notes
v0.6.5 - 2019-05-22
Added
- Command-line option to skip system checks, common fixes and updates (
-z
)- NOTE: This was
-q skip
in 0.6.4 but was reverted and-z
was added instead
- NOTE: This was
Changed
- Startup check order
Fixed
- Install net-tools if needed
- Firewall command-line option to work with 'on' (
-f on
) - SSH command-line option to set port if specified
v0.6.4 - 2019-05-21
Release Notes
v0.6.4 - 2019-05-21
Added
- Command line option to archive alerts (
-c archive-alerts
) - Command line options to skip UFW (
-f skip
) and OpenSSH (-s skip
) setup - Function option to skip latest version checks when initializing UniFi Network variables
- Checks for migration and error messages in the server log for UniFi Network
Changed
- Script execution to better handle failed data migration during UniFi Network installation
- System status page to only proceed automatically in quick mode
- System status execution order, check DNS first
Improved
- UniFi Network installer to better handle installation after failed data migration
- Unset variable checks throughout
- Verbiage throughout
- Logging and verbose output
- UFW setup
- Command line options and help output (
-h
)
Fixed
- Java SSL CA cert issues
- Log file and SSH config backup cleanup on script exit
- Unset variable during certbot setup (thanks S0lutionS)
- Input for adding hosts to firewall rules (thanks S0lutionS)
- Bug in SSH port change check
- Install jq if needed
- Bugs in UBNT version finder
v0.6.3 - 2019-05-06
Release Notes
v0.6.3 - 2019-05-06
Added
- Option to setup official UniFi Network Controller source list in apt-get
- Checks for current stable release that hasn't been published to the UBNT repo
Changed
- Changed "LTS" to "5.6" for UniFi Network Controller
- Improved Java8 install process
- Script debug and error handling display
- Improved UniFi Network Controller variable detection
Fixed
- Error handling issues
- MongoDB package install issues
- Command line options on help screen output
v0.6.2 - 2019-04-25
Release Notes
v0.6.2 - 2019-04-25
Added
- More helpful script variables
- Test script command line option
- Checks for Cloud Key
- Better logging in command functions
- Legacy security repo for OpenJDK
- Helper for SSH config changes on script exit
- Dump of global variables to log file
Changed
- Command line firewall option, it is now -f "on" or -f "off"
- Location of symlink creation for latest log file
- Tweaks to display output functions
- Improved flow of OpenSSH, Certbot and UFW setup
- Always echo UBNT product info in __eubnt_ubnt_get_product
- Improved detection of variables in __eubnt_initialize_unifi_controller_variables
- Improved logic in __eubnt_is_unifi_controller_running
- Tweaked menu and input handling in __eubnt_install_unifi_controller
- Recommended DNS is Google
Fixed
- Error handling in command functions
- Error handling in package functions
- Duplicate TCP port checking in UFW setup
- Typos throughout
- Certbot bypass when in quick mode with no domain name specified
Removed
- WebUpd8 Oracle Java
- Java and MongoDB holds in package updates
v0.6.1 - 2019-03-21
Release Notes
v0.6.1 - 2019-03-21
Added
- Option to skip UFW setup with -u command-line switch [Thanks adrianmiller]
- Command-line alias for ”unifi-network“ to set “unifi-controller” in __ubnt_selected_product
Changed
- Startup execution order, check for Debian-based before sudo/root
- Remove __force_fetch option
- Wording in __eubnt_show_help
- Force the use of Google DNS to resolve domain in __eubnt_setup_certbot [Thanks florisvdk]
- Return warnings instead of errors when can't find or install a command in __eubnt_run_command
- Display a short version of the command in __eubnt_run_command if too long [Thanks florisvdk]
- Show help even if not run as root
- Replaced “UniFi SDN Controller” with “UniFi Network Controller”
- Split off the STUN port into its own “UniFi-Network-STUN” profile
- Disable exit on error if debug tracing
Fixed
- Don't exit if return code is greater than 0 on apt-get dist-upgrade
- Unset IFS variable during cleanup to revet to default
- Using escape character text formatting instead of tput since tput doesn't work in some environments
v0.6.0 - 2019-03-18
Release Notes
This is the first set of release notes for this project, some details are summarized. Future releases will include more detailed notes.
v0.6.0 - 2019-03-18
Added
- New functions (20+) including helpers for firewall port checking, package version comparison, automatically finding new UBNT packages and more robust functions to gather UniFi Controller information
- Several new command-line options including -h to show a help screen
- Support to display prompts using whiptail
- Option to limit port access to certain source IP addresses in UFW
Changed
- Re-factored code into easy-ubnt.sh
- Streamlined OS checks to allow for broader support on Debian-based systems [Thanks bigverm23]
- Streamlined installations of Java and MongoDB
- Latest log is now at
/var/log/easy-ubnt/latest.log
- More verbose UFW status output [Thanks Mattgphoto on Discord]
Deprecated
- The unifi-installer.sh script is deprecated and won't work past the 5.9 branch of the UniFi Controller
Fixed
- Issues with firewall probing of OpenSSH port [Thanks SatisfyIT]