rConfig V8 Pro release notes
rConfig V8 Pro release notes
Section titled “rConfig V8 Pro release notes”These notes cover changes that affect how you install, upgrade or run rConfig V8 Pro. The full list for each version, including smaller fixes, is under Release Notes on the update page in rConfig (see How to update rConfig V8 Pro).
V8.4.1
Section titled “V8.4.1”V8.4.1 stops rConfig running anything as root. Horizon, the scheduler and the SNMP trap receiver now run as the web server user (apache on RHEL family systems, www-data on Ubuntu), Redis requires a password, and storage is no longer readable by other local users. Most of this happens during the deploy. The items below need an admin.
Action needed
Section titled “Action needed”Work through these once after upgrading. The After upgrading to V8.4.1 checklist has the commands in order.
-
The Vector agent install command has changed. Copy a new command from Vector Agents. The old
curl … /vector/install.sh?bootstrap_token=… | sudo bashcommand no longer installs anything; it prints where to find the new one and exits1. Agents already installed are not affected. Update any automation that runs the old command:install_commandfrom the API now usessudo. See Installer SHA256. -
Recreate the xFTP containers, then lock down the folder. Containers created before V8.4.1 need a folder every local user can write to, so the folder stays open until they are replaced. Run
sudo php artisan rconfig:xftp-toggle, stop each running service, then run it again and start it. Saved credentials are reused. Then runsudo php artisan rconfig:xftp-toggle --fix-permissions.rconfig:xftp-togglenow needssudo. See Upgrading from an earlier version. -
Check scripts used by script connections. Script connections now run as the web server user, not root. Scripts that need root-only files or commands must be given that access explicitly. See Which user runs your scripts?
-
Check Redis has a password, and match it on shared Redis. Redis now requires a password, set during the deploy, including on Vector servers. If the Redis Auth health check still fails, run
rconfig:redis-secureas described in Secure Redis. If several rConfig nodes or other apps share one Redis, every one of them needs the same password in its.env, or it is locked out. See Redis shared with other nodes. -
Lock down configs saved before the upgrade. New configs are saved
0440, but configs from earlier versions stay readable by every local user until you runsudo php artisan rconfig:set-config-permissions(try--dry-runfirst). See Storage permissions. -
Stop hand-editing the Horizon Supervisor config. The deploy now writes it on every run, as a root-owned file with
user=set to the web server user, and replaces any symlink or edited copy. Hand edits are lost on the next deploy. See Horizon Queue Manager. -
Turn on the SNMP trap receiver on Ubuntu, if you use it. On Ubuntu, a receiver set up with the old
.inifile never ran, so the upgrade installs the new service but leaves it off. Turn it on withsudo php artisan rconfig:snmp-trap-service install. See After upgrading. -
PRO Docker: follow the new update steps. Check your MariaDB version before you pull the new image, and pin the database image to that major version or later, never lower. The database port is no longer published; uncomment the
127.0.0.1:3360:3306line in the compose file if a host tool needs it. Migrations stay manual. See Updating.
What changed
Section titled “What changed”- Nothing runs as root. Horizon, the scheduler and the SNMP trap receiver run as the web server user. The scheduler stays in the web user’s crontab, and the deploy removes any
schedule:runline from root’s crontab. The deploy also stops Horizon before it changes any files and starts it again at the end. See Scheduler and worker processes. - Root-owned Supervisor config. The Horizon Supervisor config is a regular file owned by
root:rootwith mode0644, never a symlink into the rConfig folder, so the web user cannot change what root loads. - SNMP trap receiver under systemd. The receiver is now the systemd service
rconfig-snmptrap, run by the web server user. It binds UDP 162 throughCAP_NET_BIND_SERVICE, so it no longer needs root or a redirect to 1162. Check it withsystemctl status rconfig-snmptrapand read its log withjournalctl -u rconfig-snmptrap. It no longer appears insupervisorctl status, and the community string is no longer visible inps. The upgrade moves an existing Supervisor receiver across. See SNMP Trap Receiver Service. - Storage is private to the web user. New folders are
0750, files0640and saved device configs0440. The deploy no longer runschmod 755onstorage. See Storage permissions. - New worker check.
sudo php artisan rconfig:check-worker-userchecks Horizon, the Supervisor config, the scheduler, root’s crontab and the SNMP trap receiver, and the deploy runs it as its last step. The dashboard shows a Worker Privilege alert, and System Optimization has a Security & privileges card with the same results. See Worker Privilege and rconfig:check-worker-user. - Horizon log in
storage/logs. Horizon writesstorage/logs/horizon.logitself, as the web server user, and/etc/logrotate.d/rconfig-horizonrotates it at 50 MB, keeping 10 compressed copies. The old root-ownedstorage/horizon.logis no longer written. See Horizon log. - xFTP folder locked down. The xFTP folder belongs to
rootand the shared group with gid 2000, mode2770, and the containers write as uid and gid 2000. The web user reads uploads through the group, and the sweep skips symlinks. A root-owned Docker helper reads container status, so the web user no longer needs to be in thedockergroup. - Legacy host TFTP deprecated.
rconfig:tftp-server onno longer installs anything. Use the xFTP TFTP service instead. See Legacy host TFTP. - Verified Vector agent installs. The new install command downloads a fixed installer, checks its SHA256 and only then runs it with
sudo. The installer accepts only published agent releases, never downgrades an agent and keeps TLS certificate checks on. The bootstrap token is no longer part of a URL. The provisioning API addsinstaller_sha256andinstaller_docs_url. See Automated Agent Deployment. - Vector Hub install helper. rConfig manages Vector Hub through a root-owned helper, which the Vector deploy installs. To install it by hand, run
sudo php artisan rconfig:vector-hub-install-helper, then restart Horizon. The Skip TLS verification install option is removed. See Install helper. - PRO Docker hardened. Horizon, the scheduler and the web server’s workers run as
www-data, and Redis runs asrediswith a password generated on first start and saved asREDIS_PASSWORDindata/.env.data/storageanddata/.envhave no access for other users. Service output goes todocker compose logs app, anddocker compose psshows container health. The database port is not published by default, and MariaDB is pinned to a major version. The SNMP trap receiver is optional; xFTP and Vector Hub are not supported in Docker. See How the container runs.