mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[PR #1216] Develop installer update #1840
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#1840
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amidaware/tacticalrmm/pull/1216
Author: @ninjamonkey198206
Created: 7/19/2022
Status: 🔄 Open
Base:
develop← Head:develop-installer-update📝 Commits (10+)
3ff4242Update meshcentral.conffbd0164Update rmm.conf1f30e57Update config.json84e941bUpdate local_settings.py9a97faeMerge branch 'amidaware:develop' into develop757104aMerge branch 'amidaware:develop' into develop9a9789dUpdate app.ini31e0aadMerge branch 'amidaware:develop' into developebc5fc2Merge branch 'amidaware:develop' into develop9b99d9bUpdate frontend.conf📊 Changes
31 files changed (+3795 additions, -2 deletions)
View changed files
📝
.vscode/settings.json(+3 -0)📝
api/tacticalrmm/core/management/commands/pre_update_tasks.py(+1 -1)📝
api/tacticalrmm/tacticalrmm/utils.py(+1 -1)➕
default-configs/celery/celery.conf(+16 -0)➕
default-configs/mesh/config.json(+34 -0)➕
default-configs/nginx/frontend.conf(+41 -0)➕
default-configs/nginx/meshcentral.conf(+47 -0)➕
default-configs/nginx/nginx.conf(+25 -0)➕
default-configs/nginx/rmm.conf(+88 -0)➕
default-configs/python/local_settings.py(+25 -0)➕
default-configs/uwsgi/app.ini(+24 -0)➕
installer-util.sh(+448 -0)➕
script-cfg/01-InputAndError.cfg(+47 -0)➕
script-cfg/02-MiscFunctions.cfg(+391 -0)➕
script-cfg/03-SystemInfoFunctions.cfg(+114 -0)➕
script-cfg/04-UserInput.cfg(+266 -0)➕
script-cfg/05-NetworkFunctions.cfg(+70 -0)➕
script-cfg/06-InstallFunctions.cfg(+363 -0)➕
script-cfg/07-DatabaseFunctions.cfg(+21 -0)➕
script-cfg/08-CertificateFunctions.cfg(+235 -0)...and 11 more files
📄 Description
Merged all scripts into a single cfg file, then split into further function type specific cfg files with their own update checks.
Added menu with options for previous individual script functions.
Added commenting in many locations.
Combined previous scripts into reusable functions where possible.
Added default config and service files, reducing the required output for those functions to a simple copy and sed command for each.
Added menu options for dev installs per Dinger and Silver.
Added option to select dev repo during dev install.
Added DH generation and config to nginx config files.
Added STS setting to nginx configs per https://syslink.pl/cipherlist/
Added check for localhost per https://github.com/amidaware/tacticalrmm/issues/779
Updated gpg key import for repos to modern method, as previous method is now deprecated.
Added option to import existing cert, key, and ca chain cert using vim editor. Muahahahahahahaha!
Imported certs are created in the same location if letsencrypt certs are not generated.
Added input verification where appropriate to prevent user error during entry.
Added option for manual input of usernames and passwords.
Added option for Fail2ban install.
Added LetsEncrypt cert renewal function.
Added check to verify if user running script is tactical user.
Added check to verify tactical user has sudo privileges.
Added tactical user creation if it does not exist.
Added command-line argument usage for automated installs.
Included checks to ensure all args necessary are included, are valid, and in the correct format, or script will fail with an error message.
Removed need for prompts in troubleshooting function if nginx conf files exist, if not, prompt for input.
Added repo url verification.
Added DNS tests to hopefully ensure install won't occur if DNS not properly configured.
Reworked hostname and root domain input verification to allow for domains ending in .co.uk and similar.
Added troubleshooting, backup, and restore via cli args.
Added webroot letsencrypt certificate option with automatic post renewal service restart.
Added generation of log files for each major function/section.
Added sudo password cli arg for fully automated runs, with automated removal of script run command and passed password from history.
Added backup of existing nginx conf files (including default nginx.conf) during install, update, and restore.
Added default nginx.conf file to replace version shipped with OS, as it often has insecure options enabled by default.
Ran through shellscript checker to "clean up" potential issues with formatting and syntax.
Reworked postgres db import command to avoid occasional failure during restore operation.
Added removal of old nginx enabled-mods from prior to 0.14.3
Added pre-start command in daphne service definition to remove old stinky socks in case of system crash/power loss per https://github.com/amidaware/tacticalrmm/issues/1210
Modified mesh variable case structure to match mesh documentation.
Added DNS txt check during cert generation to prevent timeouts and over limit attempts per https://github.com/amidaware/tacticalrmm/issues/1227
Added support for Ubuntu 22.04 via manual installation of libssl1.1.1l
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.