I am installing Octopus tentacle 3.16.3 using Chocolatey for the first time and registering it to Octopus Deploy Server using the script on the support site:
Everything works fine but one thing, I noticed that some of my script are failing with the new setup and after a short investigation I found out that the tentacle is not running as a system user.
Is there a way to grant the tentacle service with the required permissions to run as a system user/admin using the script or any other way?
Thanks, but I don’t run it under a domain, I am running the service under local account but if I am trying to assign it to a different user(Administrator or NT SYSTEM/Authority), the service fails.
I am running into this error:
aspnet_regiis.exe : The term ‘aspnet_regiis.exe’ is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try
again.
and it is definitely a permissions issue since I have the path configured in the environment variables. If I run the script locally as admin on the machine it runs with no problems. How can elevate the octopus tentacle service’s permissions?
Thanks for getting back. The permissions of the Tentacle are handled by the account the Tentacle is set to run as. The account does not need to be a domain account, it does need to be able to perform any action you may do during a deployment.
Could I ask where you are seeing the aspnet_regiss.exe error? Is is during a deployment?