Skip to content

Releases: amidaware/tacticalrmm

Release v0.14.0

07 Jul 21:45
Compare
Choose a tag to compare
  • Switched to NATS websocket for agent<->server communication. This removes the need to publicly expose port 4222 TCP and now the only open port needed is 443 TCP. You must leave port 4222 open though until all your agents are updated to v2.1.0 at which point you may close port 4222 in your firewall.
  • If you have more than a few hundred agents, you should increase nginx's open file limit as now each agent uses an additional nginx connection. You can do so by adding the following line to the top of /etc/nginx/nginx.conf
worker_rlimit_nofile 1000000;
  • Note for those running UNSUPPORTED setups or proxies (HAProxy, NPM, Traefik, Kubernetes etc. Ignore this section if you are on a traditional or docker install): NATS still listens on 4222 (for internal communication between various trmm services) but now also listens internally on localhost:9235 (websocket protocol). Agent NATS traffic now connects to nginx public port 443 which is proxy passed to localhost:9235 so you will need to implement this manually in your proxy settings. You may refer to this commit to see how a supported nginx setup implements it (make sure to only proxy pass traffic that matches the pattern https://api.example.com/natsws). You must implement this in your custom proxy before upgrading to this release.

  • If for whatever reason you can't use NATS websocket or just want to keep things the way they were before this release, check out these docs on how to fall back to NATS standard.

  • Note for docker users: the docker-compose.yml file has changed this release so make sure to delete the old one and re-download the latest one (just copy paste from the docker update docs).

  • Added an API endpoint which can be called to monitor your TRMM instance's health, check docs for instructions.

  • Changed the uWSGI config to automatically scale workers based on load. Previously, the number of workers and threads was calculated based on number of cpu cores but required manual load testing to tune to optimal values. Now the workers will dynamically increase/decrease based on server load, which will solve issues with no workers being available during long running http requests and/or high number of requests per second caused by agents slamming the server.

  • Agent binaries now follow a consistent naming format tacticalagent-vX.X.X-os-arch to prepare for mac agent and any future agent OS that we will support.

  • Fixed a bug where orphaned tasks were not being removed.

  • Frontend code has been moved to its own repo and build tool has been switched to Vite instead of Webpack.

  • The frontend build is now compiled using github actions on every release and uploaded as a tarball to github releases. This removes the need to compile it during a trmm update which lately was using a ton of RAM and causing OOM errors and updates to fail. The update script now downloads this pre-compiled tarball.

  • Added a new find service management command.

  • Added a new method to bulk recover agents (Tools > Recover All Agents) which will restart both the tacticalagent and meshagent services across all machines, which helps when restoring.

  • Fixed an integer out of range error that would cause scripts or command results to not be saved in the database when return code value was greater than 2147483647.

  • Fixed #10 linux agent update doesn't work when /tmp is mounted on different filesystem.

  • Agent is now built with golang 1.18.3

  • Code refactoring and optimizations

  • Update MeshCentral to 1.0.43

Release v0.13.4

15 May 07:20
Compare
Choose a tag to compare

Changelog

  • More DB/API optimizations
  • Fixed #1020 Disable auto quoting when using variable substitution on batch scripts
  • Fixed #1097 Task Run does not show name in Script/Command column under History tab
  • Fixed #1110 Quirks with clicking links in notifications
  • Fixed #1118 Sites not sorting alphabetically
  • Fixed #8 reboot required logic on RHEL based systems
  • Fixed file extension when downloading shell scripts from Script Editor UI
  • Fixed install script on Linux Mint
  • Fixed check policy copy issue where copied checks are all of type diskspace
  • Update to Python 3.10.4
  • Update to MeshCentral 1.0.22

PR's

Full Changelog: v0.13.3...v0.13.4

Release v0.13.3

25 Apr 01:35
Compare
Choose a tag to compare

More fixes for bugs introduced in v0.13.0

  • Fixed variable substitution in policy script checks not working
  • Fixed #1093 PERSISTENT_MESH_CONFIG=1 not working in Docker

Full Changelog: v0.13.2...v0.13.3

Release v0.13.2

25 Apr 00:37
Compare
Choose a tag to compare

More fixes for bugs introduced in v0.13.0

  • Fixed variable substitution in automated policy tasks not working
  • Fixed #1092 Default tabs not loading correctly
  • More slow query optimization

Full Changelog: v0.13.1...v0.13.2

Release v0.13.1

23 Apr 23:02
Compare
Choose a tag to compare

This release fixes a few bugs introduced in v0.13.0

  • Fixed clients tree not sorting alphabetically
  • Fixed agent always showing a pending agent update action, even after it had already successfully updated
  • Fixed sorting by last response column in agent table
  • Fixed 'Save and test email' always reporting as success even when it failed
  • Fixed issue with custom field names being truncated when upgrading from Django 3 to 4
  • Fixed Docker redis container

Full Changelog: v0.13.0...v0.13.1

Release v0.13.0

22 Apr 20:23
Compare
Choose a tag to compare

- NOTE: For those upgrading from a previous version, this update might take a while to complete especially during the "running migrations" and "post update tasks" part of the upgrade script, so just be patient and let it finish.

  • Policy and Alerts major rework to rely less on celery and resolve extremely high cpu usage

  • Added redis based caching of expensive queries and also optimized sql queries to significantly speed up UI loading times

  • Fixed countless bugs related to alerts not sending and policies/alert severity levels not displaying/applying correctly. Note: if you still experience issues after updating, please delete and recreate your automation policies and alert templates and you must be able to reproduce the issue with a fresh policy before opening up a bug report.

  • Django major version upgrade from 3 to 4

  • Added #1007 Ability to specify date/time format in UI. This can be set with the new "Default date format" field in Settings > Global Settings > General. This will also fix time zone display issues since the time zone is now determined by the browser's time zone (fixes #756)

  • Added #958 Allow canceling other pending actions

  • Added #1068 Make the site dropdown filterable in the Agent Deployment modal

  • Added #1070 Add --no-progress to choco to suppress unnecessary output

  • Added #1066 Sort by category

  • Added #827 Add Client and Site columns to the Audit Log

  • Added a "Run Checks Now" button to the Checks tab (same functionality as right clicking an agent > Run Checks)

  • Fixed #1028 Make agent count take permissions into account

  • Fixed #1000 Automated script task name not showing in the History tab

  • Fixed #969 Tasks set in the past should run at first opportunity

  • Added an option in global settings to disable MeshCentral iframe auto login

  • Added #1009 Set mesh alias port to fix chat when running behind something like HAProxy

Full Changelog: v0.12.4...v0.13.0

Release v0.12.4

12 Apr 16:50
Compare
Choose a tag to compare
  • Fix mesh login token that broke in 0.12.3

Full Changelog: v0.12.3...v0.12.4

Release v0.12.3

11 Apr 23:17
Compare
Choose a tag to compare
  • Fixed an issue with MeshCentral integration when using a mesh username that is not all lowercase
  • Added #1049 make postgres ssl mode configurable by the user

Known issues (only affects docker installs): #1062. If you are running a docker install, do NOT upgrade to this version. Stay on 0.12.2 until this is resolved in a future release. Standard installs are not affected and can be safely upgraded.

Full Changelog: v0.12.2...v0.12.3

Release v0.12.2

05 Apr 03:45
Compare
Choose a tag to compare
  • Fixed #1 Linux agent goes offline
  • Added NATS permissions
  • Updated an agent endpoint's payload in preparation for a future release
  • Updated uwsgi config
  • Updated MeshCentral to v1.0.2

Release v0.12.1

25 Mar 01:44
Compare
Choose a tag to compare
  • Fixed #1015 and #1017 linux agent fails to install when /tmp is locked down (like cpanel)
  • Fixed #1013 Double-click remote background action not setting correct tabs for windows agents
  • Remove DOS carriage returns when running scripts on linux agent (was preventing the shebang from being properly read)
  • Set locale during linux mesh agent install to fix mesh install errors
  • Added --debug flag to linux agent install script

Added a troubleshooting script for meshcentral integration errors:

Standard Install:

/rmm/api/env/bin/python /rmm/api/tacticalrmm/manage.py check_mesh

Docker Install:

sudo docker-compose exec tactical-backend python manage.py check_mesh

Full Changelog: v0.12.0...v0.12.1