- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-06-2023 12:35 PM
Hi team
I am trying to update an agent but it shows me "the installer has timed out" on the logs, I checked upgrades logs and I see the next message "Distribution ID is missing from installation package" I thought that it could be an issue related to agent installer but they exists on the console.
Has anyone had a similar problem?
Thank you!
09-14-2023 05:03 PM - edited 09-14-2023 05:13 PM
Hi team,
The reason for the problem is MSI thinks this is a clean installation instead of an upgrade, hence our installer expects to have a distribution ID embedded in it.
This issue happens mostly when a previous installation gets interrupted in the middle due to some BSOD/hard system reboot, causing MSI to fail to write the product info to its database. This is a corrupted MSI DB issue.
The MSI installer doesn’t recognize the previously installed version and it is doing a fresh installation which will require a Distribution ID. The upgrade package from the XDR server doesn’t have a distribution ID by design. For the upgrade, the old agent needs to be uninstalled before installing the new version.
09-07-2023 01:16 AM
Hello Marco,
Please confirm whether both the packages are in place and you can see both the distribution id?
09-07-2023 04:11 AM - edited 09-07-2023 05:09 AM
Hi @MarcoMJ
Since you are encountering "Distribution ID is missing from installation package" error, could you try /opt/traps/bin/cytool reconnect force <distribution id>. This should let cortex xdr agent connect to tenant.
Hope this helps!
Please mark the response as "Accept as Solution" if it answers your query.
Thanks
09-08-2023 09:04 AM
Thank you for your help!
The agent is already connected to the tenant, it doesn't disconnect. However, I followed your advice , I used reconnect force command and then I tried to upgrade but it didn´t work, the error I mencioned above shown on the logs.
09-08-2023 09:06 AM
Hi!
Yes, both are in the console and I can see their distribution id.
09-14-2023 05:03 PM - edited 09-14-2023 05:13 PM
Hi team,
The reason for the problem is MSI thinks this is a clean installation instead of an upgrade, hence our installer expects to have a distribution ID embedded in it.
This issue happens mostly when a previous installation gets interrupted in the middle due to some BSOD/hard system reboot, causing MSI to fail to write the product info to its database. This is a corrupted MSI DB issue.
The MSI installer doesn’t recognize the previously installed version and it is doing a fresh installation which will require a Distribution ID. The upgrade package from the XDR server doesn’t have a distribution ID by design. For the upgrade, the old agent needs to be uninstalled before installing the new version.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!