[SOLVED] WaptExit Windows 7 Bug

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
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

June 18, 2019 - 4:04 PM

Hello,

Since upgrading to version 1.7.4.6077 of WAPT Community, I've been having a problem with WaptExit.

It crashes when shutting down Windows 7 PCs.

I don't have any software updates to install, but WaptExit remains stuck and I can't click the button to close the window.

I have to shut down the PC manually using the power button.

This problem occurs randomly. A PC that crashes today will certainly shut down tomorrow!

I didn't have this issue with version 1.7.3.5.

Do you have any idea what the problem might be?
Thank you,
Last edited by Christophe on June 19, 2019 - 09:33, edited 1 time.
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

June 19, 2019 - 2:07 PM

there anyone who can help me?
Can I leave the server at version 1.7.4.6077 and revert the Wapt agent to version 1.7.3.5?
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

June 19, 2019 - 2:57 PM

Hello,
Yes, you can revert to version 1.7.3.5.
However, if you have reproducible cases, it would be very helpful if you could test the latest version of Wapt on those cases.
https://wapt.tranquil.it/wapt/nightly/w ... -a494a10b/

Install only waptsetup.exe on one of the machines experiencing the problem...
Tranquil IT
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

June 19, 2019 - 3:12 PM

I'm testing your version on a PC.
However, how do I reinstall version 1.7.3.5 on PCs? By changing the version number in the "control" file?
But because of that, I'm forced to put a number higher than 1.7.4.6077 in "control" even though I'm installing 1.7.3.5!
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

June 19, 2019 - 3:25 PM

To do it properly, you must follow these steps in order:
- remove the waptupgrade packages from the wapt server (except for version 1.7.3.5)
- run an update on all machines
- uninstall the waptupgrade package from all machines (select all machines and in the package list, right-click on xxx-waptupgrade / uninstall the package)
- run an update on all machines
- run a "forced" installation of the xxx-waptupgrade 1.7.3.5 package on all machines (select all machines and in the package status list on the right, right-click on xxx-waptupgrade / force installation).

Alternatively, you can also force a higher version number in xxx-waptupgrade and force the installation.
Tranquil IT
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

June 19, 2019 - 4:07 PM

I just tried version 1.7.4.6119.
The problem persists; I'm still experiencing a crash during shutdown.
The PC seemed to be working fine (four shutdowns without issue) until I tried installing new software.
WAPT successfully installed the software, and the PC shut down correctly.
After restarting the PC, it crashed again during the shutdown process
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

June 20, 2019 - 11:32

I can confirm that version 1.7.4.6119 does not fix my problem.
It seems that WaptExit is failing to close, which prevents Windows from shutting down.
Am I the only one experiencing this issue?
Do you have another version I could try?
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

June 20, 2019 - 11:43

I tried repeatedly rebooting packages while they were waiting to be installed.
I encountered a deadlock (a task processing thread for the service crashed) if I simultaneously launched a global uninstallation of packages from the console, including one whose uninstallation was stuck (a buggy installer).

I unfroze it remotely via the console using the command "Start Wapt Service Restart" (this creates a scheduled task that restarts the service 2 minutes later). This means that in my case, waptexit was waiting but not crashed, and that the waptservice thread handling console actions was also running.

What state is waptexit in in your case? Is it frozen? Or are you able to unfroze it like I did?
Tranquil IT
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

June 20, 2019 - 12:29

I tried your solution from the console.
But it doesn't work because WaptExit is indeed frozen.
I can only move the window. I can't click the "Not Now" button or the close button.
Windows remains stuck on "Shutting Down.
Just to clarify, my PC is still marked as available in the server console.
User avatar
CasseThor
Messages: 22
Registration: December 1, 2017 - 9:25 PM

June 20, 2019 - 4:02 PM

I just encountered this issue on a Windows 7 machine; the shutdown doesn't complete, and clicking "not now" doesn't respond
bug.png
bug.png (142.35 KB) Viewed 10090 times
Locked