mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[PR #2046] Make update.sh work with RHEL-based distros #3847
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#3847
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/2046
Author: @egg82
Created: 10/25/2024
Status: 🔄 Open
Base:
develop← Head:add-rhel📝 Commits (5)
d6ba1d3Make update.sh work with RHEL-based distros1b40277rpm, not deb49779e0Fix permissions for dirs above /rmm/api/tacticalrmm/tacticalrmm.sock3788693No need to have Python env for every servicead4ef7bMake update match install - pango📊 Changes
1 file changed (+220 additions, -73 deletions)
View changed files
📝
update.sh(+220 -73)📄 Description
The following changes are made:
/etc/os-releaseto determine OS typecommand -v dnfto determine ifdnfis available, and falls back toyumif notyum/dnfin place ofaptandapt-getwhere applicablewww-datafornginxuser/group where applicablepangoandpango-develfrom proper sources when in a RHEL environmentpyenvto install proper python version when in RHEL environmentdnf/yuminstall when in a RHEL environmentpython manage.pytopython3.11 manage.pyto be consistent/etc/nginx/sites-availableto/etc/nginx/conf.dwhen in a RHEL environment/rmm/api/tacticalrmm/tacticalrmm.sock(nginx can't access socket)The biggest change is the use of
pyenvwhich required editing the service files, but it works well. This change could easily be added to the Debian section if desired, which would be less work than manually compiling the version each time.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.