You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the repair option of AutomateAPI on Mac computers it duplicates the computer in LT, but when I run the repair option using this code, they are quickly fixed and not duplicated:
#maxlength=100000
#timeout=900000
sudo /usr/local/ltechagent/uninstaller.sh
cd /tmp
curl -L -o 'LT_Install.zip' TOKENURL
unzip -o LT_Install.zip
chmod 755 LTSvc.mpkg
chmod 755 config.sh
sudo installer -pkg LTSvc.mpkg -target /
Do you think we can test/change the AutomateAPI code to use this one?
Thanks!
The text was updated successfully, but these errors were encountered:
Quick update. I did more testing again today and found the above was still causing duplicate agents. HOWEVER, I found the following to properly upgrade the agent and get it back online without causing a duplicate. The key seems to be the "--preserve-agent-files" parameter you pass to the uninstaller.sh file.
When I run the repair option of AutomateAPI on Mac computers it duplicates the computer in LT, but when I run the repair option using this code, they are quickly fixed and not duplicated:
#maxlength=100000
#timeout=900000
sudo /usr/local/ltechagent/uninstaller.sh
cd /tmp
curl -L -o 'LT_Install.zip' TOKENURL
unzip -o LT_Install.zip
chmod 755 LTSvc.mpkg
chmod 755 config.sh
sudo installer -pkg LTSvc.mpkg -target /
Do you think we can test/change the AutomateAPI code to use this one?
Thanks!
The text was updated successfully, but these errors were encountered: