-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant communicate after update agent to 2.9.1.0 #241
Comments
Same error here... We had to manually reinstall the agents that received the update directly via software distribution with PSEXEC, very messy. OS: Windows 10 64 Bit and Windows 11 64 Bit |
Same problem here, I just tried upgrade by deployment in 3 machines, when I see that doens't work I abort the update. In my case a always used the follow parameters: |
/SSL=0 and then /server=https:// ??? |
Sure, /SSL=0, according to documentation is for validation server, and using /SSL=1 you must indicate the certca.pem, not necessary in my case. |
but then you can forget about SSL (https) directly. Since "anyone" can pretend to be the OCS server. Works, but should be reconsidered for security reasons, just as a tip. ;) |
HI @LMS235, the https are used for no plain text communications, my server use a valid buyed SSL certificate, anyone can have the CA.crt of it. If somebody atack between client and server pretending be the OCS server, the data from OCS is not so sensitive... |
@fgendorf The problem is not the OCS data. It is more about the fact that someone can simply deploy a software package (e.g. with a virus) if deploy is active. |
Hi @ajavor , Since the 2.9 server version, we recommend to update the windows agent using the deployment engine. See documentation : Windows deployment templates Best regards, |
Hi @charleneauger, this mean OCS Server deployment doesn't works to update Windows Ocs Agent anymore? |
@charleneauger Here, however, there is a need for adaptation in the docu - https://wiki.ocsinventory-ng.org/07.OCS-Tools/OCS-Windows-Packager/ and then here - http://wiki.ocsinventory-ng.org/05.Deployment/Windows/Summary/#update-windows-agent |
Hi @fgendorf, no, it just means the /UPGRADE option is no longer used. Hi @LMS235, indeed our documentation on OcsPackager is not up to date. We will update it as soon as possible to match the agent's update documentation. Hi @ajavor, in the packager you can use your usual command lines except /UPGRADE as it is deprecated. Regards, |
Thank you @charleneauger. |
It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.
General information
Operating system : Win10 Pro
OCS Inventory information
Windows agent version : 2.9.1.0 64bit
Server: OCS 2.9.2
Problem's description
After silently upgrading the agent to version 2.9.1.0 (from version 2.9.0.0) using the deployment package, the agents stopped communicating with the server.
There are errors in the windows logs at the station:
Service encounter error <Can't get OCS Inventory Agent exit code>.
If I run the OCSInventory.exe agent manually, I get the error:
Update:
If I install manually from .exe or from OCS Inventory NG Agent Deployment Tool - then it works fine.
If I use the command on deployment package (identical to what worked so far):
OCS-Windows-Agent-Setup-x64.exe /S /UPGRADE /NOSPLASH /NO_SYSTRAY /NOW /SSL=1 /SERVER=https://xxxxxxx/ocsinventory
Has the update command from the command line changed since the last agent version?
The text was updated successfully, but these errors were encountered: