Page 1 of 1

Secondary repositories and synchronization

Published: November 7, 2022 - 2:48 PM
by haxo_914
WAPT Server Version: 2.2.1 Enterprise - CentOS 7 Console: 2.2.1.11899
PC Windows 11 Agent 2.2.1.11899

Hello,

I have 4 PCs with the same version, Windows 11 Agent 2.2.1.11899, on 4 different sites.
These 4 PCs serve as secondary repositories.

On 3 of these PCs, there is no problem; synchronization with the server works perfectly at the requested times.

On the 4th, there has been no synchronization for over a month.

I forced a synchronization from the console, but the synchronization remains stuck at 0.00% and nothing happens.
I restarted the PC and the server, but nothing changes.

What can I check to resolve this problem, and how do I uninstall the Nginx component (installed from a WAPT package) on this PC?

Thank you

. Best regards.

Re: Secondary repositories and synchronization

Published: November 16, 2022 - 11:00 AM
by dcardon
Hello haxo_914,

Do you have any entries in the waptservice.log file? Is there sufficient disk space?

Could you restart the service in debug mode and see if anything stands out? To do this, run:

Code: Select all

c:\program files (x86)\wapt\runwaptservice.bat -l debug
Sincerely,

Denis

Re: Secondary repositories and synchronization

Published: November 28, 2022 - 3:46 PM
by haxo_914
Hello,
I ran the command and didn't see anything that caught my attention except in the waptservice.log file where I have these last lines

: 2022-11-28 15:34:48,691 [wapttasks Thread-12 31336] INFO Add task Synchronizing server packages and WUA to queue
2022-11-28 15:34:48,691 [wapttasks WaptTaskManager 33436] INFO Running task Synchronizing server packages and WUA created by SERVER
2022-11-28 15:34:50,106 [wapttasks WaptTaskManager 33436] INFO update_server_status successful (data size 50803)
'C:\\Program Files (x86)\\wapt\\repository\\wads\\pxe'
2022-11-28 15:35:05,874 [wapttasks WaptTaskManager 33436] CRITICAL Task error Synchronizing server packages and WUA: KeyError: 'C:\\Program Files (x86)\\wapt\\repository\\wads\\pxe'
2022-11-28 15:35:30,168 [wapttasks SocketIOClient 35392] INFO WS read loop for 120s
2022-11-28 15:37:31,185 [wapttasks SocketIOClient 35392] INFO WS read loop for 120s

I don't understand why it wants to synchronize wads because it is not used, not checked in my repository rules.

I regenerated a UUID for the machine to see if that would change anything, but now in the console, on the right side, under the secondary repositories tab, I have it listed twice!
And if I force a sync, I still get the same result: 0.00% stuck and nothing happens for either machine.
I'm not sure what to do anymore.

Is there a procedure to:
- Cleanly uninstall NGINX
- Completely remove the machine from WAPT?

Thanks