Hello, I'm testing with the Automic v24.3HF2 engine with the V24.3 agent on Windows using the CAU JRE. I have the default Agent settings.
It seems like the V24 agent does not pick up the login users local environment settings, but instead uses those of the administrator.
running echo %APPDATA% on V21 returns (where my-myserviceaccount is the login used)
C:\Users\my-serviceaccount\AppData\Roaming
and v24 returns
C:\WINDOWS\system32\config\systemprofile\AppData\Roaming
This causes problems running Python, as the libraries will be installed into the users home location. So running pip install oracledb --user works on V21 but not v24 erroring with
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Roaming\\Python\\Python312\\site-packages\\pycparser\\__init__.py'
Python should be installing the package into the defined by %APPDATA% which is writeable and private to the user. Keychains defined in V21 aren't available to the login in V24.
Is there a setting I'm missing to inherit the user environment variables rather than administrator?