mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #478] update.sh won't run after update #294
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#294
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?
Originally created by @davidrudduck on GitHub (May 5, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/478
Updating from 0.6.6 to 0.6.8 the following occurred:
tactical@it-tacticalrmm01:/rmm$ bash ./update.sh
Old update script detected, downloading and replacing with the latest version...
./update.sh: line 19: /rmm/update.sh: Permission denied
./update.sh: line 19: exec: /rmm/update.sh: cannot execute: Permission denied
By default the update script does not chmod +x update.sh, so when it goes to re-run the script, it fails.
Either needs to chmod +x or execute via bash.
ie:
tactical@it-tacticalrmm01:/rmm$ chmod +x update.sh
tactical@it-tacticalrmm01:/rmm$ bash ./update.sh
Hit:1 http://au.archive.ubuntu.com/ubuntu focal InRelease
Installed on Ubuntu 20.04 in non-docker install.
@wh1te909 commented on GitHub (May 5, 2021):
don't call it with
bashin the front just do./update.shand it will work. first line in the script already tells it to use bashyou need to
chmod +x update.shfirst, just follow instructions in the docs https://wh1te909.github.io/tacticalrmm/update_server/#updating-to-the-latest-rmm-version