opsi-client-agent-installer.exe returns 'list index out of range' when no default gateway is present.
Verfasst: 21 Mai 2025, 09:25
Hey folks,
parameters:
OPSI 4.3.31.27
Windows 11 24H2
The installation routine did copy all the files into the temporary folder and then did start the oca-installation-helper.exe.
It then did return 'list index out of range'. The standard log file did throw an python error in __main__.py. (Unfortunately i can't drop it here, cs. it's impossible to reproduce it).
I did try it multiple times with different versions: same result. After this did run oca-installation-helper.exe with --log-level=debug. The detailed log told me, that the python script was derailed when not finding a standard gateway (we hove no such gateway on our machines for security reasons.) Added a default gw: The error did disappear, all works fine.
As mentioned above, it was impossible to reproduce the error by removing the default gateway and reinstall it again.
To the OPSI guys: Thank you for your product, have a nice day.
Axel
parameters:
OPSI 4.3.31.27
Windows 11 24H2
The installation routine did copy all the files into the temporary folder and then did start the oca-installation-helper.exe.
It then did return 'list index out of range'. The standard log file did throw an python error in __main__.py. (Unfortunately i can't drop it here, cs. it's impossible to reproduce it).
I did try it multiple times with different versions: same result. After this did run oca-installation-helper.exe with --log-level=debug. The detailed log told me, that the python script was derailed when not finding a standard gateway (we hove no such gateway on our machines for security reasons.) Added a default gw: The error did disappear, all works fine.
As mentioned above, it was impossible to reproduce the error by removing the default gateway and reinstall it again.
To the OPSI guys: Thank you for your product, have a nice day.
Axel