Page 1 of 1

[RESOLVED] The agent is not updating after update 2.5

Published: July 31, 2024 - 10:58 AM
by psgca85
Hello,
Following the update to version 2.5 of our server, the agents on version 2.4 are not updating. The machines appear as Disconnected on the console.
Running `wapt-get install waptupgrade` on the machine resolves the issue. However, running `wapt-get update` fails to detect the package. The following entry appears
in waptservice.log: 2024-07-31 10:39:22,863 [waptws SocketIOClient 2280] WARNING Exception HTTPError('404 Client Error: Not Found for url: https://waptets.payssaintgilles.fr/get_ ... auth_token'), waiting 60s before retrying.
Thank you in advance for your help

Re: The agent is not updating after update 2.5

Published: August 14, 2024 - 1:21 PM
by sfonteneau
Based on your description of the problem, it seems the waptupgrade package hasn't been set as a dependency on the machine.

Therefore, the machine accepts the installation if you run `wapt-get install tis-waptupgrade`, but nothing happens if you run a simple `wapt-get upgrade`.

Re: The agent is not updating after update 2.5

Published: August 14, 2024 - 4:16 PM
by psgca85
Thank you for your reply. Indeed, we hadn't set the upgrade as a dependency because it's not mentioned in the update procedure.
The agents are now showing as connected again.
Thank you very much.