Posted on 08-22-2017 12:01 AM
Dear All,
I try to install the following:
All the files are required in order to install the agent. We first created a .pkg through composer which extracts the content to a folder.
Next we try to install the package with the following .sh script:
sh /Library/folder/batch-install.sh -P /Library/folder/agent-macosx.pkg -T / -s 'server-url' -c 'company name' -i 'id'
However JSS cannot install it due to a error. When I check the error it says the following:
Script result: sudo /Library/folder/agent-macosx.pkg/Contents/Plugins/ActDlg.bundle/Contents/Resources/InitialValidate -s server-url -n 443 -p https -f /tmp/nagent.conf -i id -c company name -l /tmp/nagent_install_log<br/>sudo: /Library/folder/agent-macosx.pkg/Contents/Plugins/ActDlg.bundle/Contents/Resources/InitialValidate: command not found<br/>Could not successfully self-register agent<br/>
When I copy the content of the package as a logged in user and I execute the same script there is no issue at all. The agent installs as it should be. Below you can find the permissions:
The upper permissions are the one when JSS extracts the content to the desired folder. After the extraction it tries to install it (as mentioned above) and gives the error:
Script result: sudo /Library/folder/agent-macosx.pkg/Contents/Plugins/ActDlg.bundle/Contents/Resources/InitialValidate -s server-url -n 443 -p https -f /tmp/nagent.conf -i id -c company name -l /tmp/nagent_install_log<br/>sudo: /Library/folder/agent-macosx.pkg/Contents/Plugins/ActDlg.bundle/Contents/Resources/InitialValidate: command not found<br/>Could not successfully self-register agent<br/>
The below permissions are the one when I manually extract the content to the same desired folder. I am logged in as the user and I am able to install the agent.
What can I do to make sure this agent is installed automatically through a profile or 'Self Service'?
Posted on 08-22-2017 05:52 AM
Nobody?
Posted on 12-27-2018 11:49 AM
Picking up on this old thread.. were you able to get this install sorted? Can't figure it out myself!
Thanks
Michael
Posted on 09-04-2020 06:35 AM
I would like to know this as well please!
Facing the same issue with finding a way to package Apple Nable agent. Anyone have any suggestions?
Posted on 09-12-2020 09:55 AM
I am trying to deploy the N-able Agent the package deployed okay, but the registration token missing the activation token while to register the the agent, when i check the hidden files under N-able agent in Applications folder the .installationData.xml is there not pulling the activation token. any thoughts or tricks?