warning message following a WaptUpgrade

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
michel.merle
Messages: 10
Registration: December 13, 2022 - 2:01 PM

January 19, 2023 - 4:10 PM

Hello,

Following an update of my server to version 2.2.3.12481 (previously 2.2.1...), I started installing my agents on the same version. I'm getting a persistent warning message that I can't seem to clear: "

Auditing prod-waptupgrade.
The installed version of the WAPT agent and the version of the package are not corresponding. The installation may have just finished. If this warning persists one day after installation, please take this into consideration."

prod-waptupgrade is the name of the package I used to upgrade the agent. I've checked on the affected machines, and the version is indeed 2.2.3.12481. Not only can I not clear this warning in the console under audit status, but I'm also experiencing errors with installation packages, particularly the wapt conf package, which refuses to update.

Windows Server 2016 /
Wapt Enterprise Server 2.2.3.12481 /
Windows 10 client workstation (minimum 21hH2) / agent 2.2.3.12481 /
Windows 10 workstation in console/package creation

. Thank you in advance.
Sincerely,

Michel Merle
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 19, 2023 - 5:33 PM

Hello Michel,

right after installing the package, the waptagent isn't updated yet. The waptupgrade package installs a scheduled agent update task that runs a few minutes after the package installation, because the update needs to stop and then restart the agent, so it can't be done like a standard package installation. Therefore, it's normal for the audit warning to appear immediately after the agent installation.

However, it should disappear during the next audit. If you force an audit on the machine, does the audit warning disappear?

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
michel.merle
Messages: 10
Registration: December 13, 2022 - 2:01 PM

January 23, 2023 - 09:25

Hello,

I tried forcing an audit on all the affected machines.
The warning is still present, but without success.

In the package status summary, I even see packages that I've uninstalled but are still showing up in the audit.

Regards
x-davidl
Messages: 38
Registration: Apr 25, 2022 - 5:07 p.m.

January 24, 2023 - 10:49

Hello,

I confirm what you're both saying.

It is indeed a bit strange to see this warning on all the workstations. But in the next audit cycle (without forcing it), the warnings disappear.

Regards
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 24, 2023 - 2:36 PM

Hello David,
x-davidl wrote: Jan 24, 2023 - 10:49 AM I confirm what you're both saying.

It is indeed a bit strange to see this warning on all the workstations. But in the next audit cycle (without forcing it), the warnings disappear.
It's a chicken-and-egg problem. Waptsetup.exe cannot be launched directly by the WAPT agent because of exclusive locks on the files opened by the service that need updating. Therefore, a scheduled task is created to update it a few minutes after the package is installed. Since the audit is launched immediately after installation, it shows a "not OK" status because the package version doesn't match the installed version. After the scheduled task has run and the agent has been updated, the audit should show an "OK" status.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 24, 2023 - 2:38 PM

Hello Michel,
michel.merle wrote: Jan 23, 2023 - 9:25 AM I tried forcing an audit on all the affected machines.
The warning is still there, but without success.

In the package status summary, I even see packages that I've supposedly uninstalled but that are still showing up in the audit.
Can you check the status locally on the machine (see online documentation) and force an inventory update (see online documentation)? If the status doesn't update, there might be a problem with the inventory reported by the machine.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked