Hello,
I've set up a WAPT (Debian) server on about fifty workstations in a company, and it generally works well.
However, on some PCs, packages don't install when the machine shuts down, while on others, it works without any problem. All the workstations are running Windows 7 Pro, the firewall is disabled, and the antivirus software is the same for everyone.
The package is downloaded correctly to the machine.
If I force the installation from the console, the package installs (but that's not ideal because it disrupts the users).
Can you give me any suggestions? Are other users experiencing the same problem?
Packages that fail to install when the computer is shut down
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Hello,
the shutdown installation is launched using the computer's shutdown script (local GPO).
The shutdown script runs: c:\wapt\waptexit.exe. You can check if it's working.
To verify that the shutdown script is installed correctly, you can open a command prompt and run:
gpedit.msc
Computer Configuration --> Windows Settings --> Scripts --> System Shutdown.
Normally, waptexit.exe should be listed here.
If it's not, you can run the following commands in a command prompt:
wapt-get add-upgrade-shutdown to add the shutdown script or
wapt-get remove-upgrade-shutdown to remove the shutdown script.
Simon
the shutdown installation is launched using the computer's shutdown script (local GPO).
The shutdown script runs: c:\wapt\waptexit.exe. You can check if it's working.
To verify that the shutdown script is installed correctly, you can open a command prompt and run:
gpedit.msc
Computer Configuration --> Windows Settings --> Scripts --> System Shutdown.
Normally, waptexit.exe should be listed here.
If it's not, you can run the following commands in a command prompt:
wapt-get add-upgrade-shutdown to add the shutdown script or
wapt-get remove-upgrade-shutdown to remove the shutdown script.
Simon
Hello
, thank you for the quick reply. I did check with gpedit.msc and there's nothing in the shutdown script.
If I type the command on the PC (even in administrator mode):
`wapt-get add-upgrade-shutdown`,
I get the following FATAL ERROR: IndexError: list index out of range.
Even using `--force` in waptdeploy to reinstall Wapt on the PC doesn't change anything.
Is there a bug I should report? Is there a PC configuration that could be causing this error?
Is there anything else I could do (remotely?) to fix this?
(A GPO to install that forces `waptexit` in the script? But that would be a workaround.)
On some PCs, there's no problem, on others I have this issue, and they are all PCs configured the same way in a domain-based enterprise environment...
Thank you.
, thank you for the quick reply. I did check with gpedit.msc and there's nothing in the shutdown script.
If I type the command on the PC (even in administrator mode):
`wapt-get add-upgrade-shutdown`,
I get the following FATAL ERROR: IndexError: list index out of range.
Even using `--force` in waptdeploy to reinstall Wapt on the PC doesn't change anything.
Is there a bug I should report? Is there a PC configuration that could be causing this error?
Is there anything else I could do (remotely?) to fix this?
(A GPO to install that forces `waptexit` in the script? But that would be a workaround.)
On some PCs, there's no problem, on others I have this issue, and they are all PCs configured the same way in a domain-based enterprise environment...
Thank you.
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
I don't have an explanation for your "FATAL ERROR: IndexError: list index out of range" error; we'd need to look into it in more detail.
The quickest solution, if these are domain-joined PCs, is to add waptexit.exe to the system shutdown scripts in a GPO on your Active Directory. Go to
Computer Configuration --> Windows Settings --> Scripts --> System Shutdown and add waptexit.exe.
On machines that are already working, this will run waptexit twice, which isn't really a problem.
Simon
The quickest solution, if these are domain-joined PCs, is to add waptexit.exe to the system shutdown scripts in a GPO on your Active Directory. Go to
Computer Configuration --> Windows Settings --> Scripts --> System Shutdown and add waptexit.exe.
On machines that are already working, this will run waptexit twice, which isn't really a problem.
Simon
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
This might not be a bug.
I've installed around 800 WAPT clients across several sites and haven't encountered this problem.
WAPT is now installed on over 109,000 workstations and there have been few reports of this kind.
We would therefore need to determine the exact cause of the problem to consider it a bug.
I would also need other information:
OS:
Architecture: x86/x64;
WAPT version?
We need to be able to reproduce the bug on our end.
Simon
I've installed around 800 WAPT clients across several sites and haven't encountered this problem.
WAPT is now installed on over 109,000 workstations and there have been few reports of this kind.
We would therefore need to determine the exact cause of the problem to consider it a bug.
I would also need other information:
OS:
Architecture: x86/x64;
WAPT version?
We need to be able to reproduce the bug on our end.
Simon
Hello,
thank you for the reply.
I also have a few PCs that won't install. They do install if we force the update from the WAPT console, but even if waptexit is correctly executed during the PC shutdown, it still doesn't work. Could it be a DNS problem? I've seen that WAPT has issues if the DNS is misconfigured. Any suggestions on how to check this?
My
PC configuration: x64 (all) on a Windows Server 2008 R2 domain,
WAPT Server running Debian.
WAPT Server version: 1.3.5,
WAPT Agent version: 1.3.5,
WAPT Setup version: 1.3.5,
WAPT Deploy version: 1.3.5.0.
Thank you.
thank you for the reply.
I also have a few PCs that won't install. They do install if we force the update from the WAPT console, but even if waptexit is correctly executed during the PC shutdown, it still doesn't work. Could it be a DNS problem? I've seen that WAPT has issues if the DNS is misconfigured. Any suggestions on how to check this?
My
PC configuration: x64 (all) on a Windows Server 2008 R2 domain,
WAPT Server running Debian.
WAPT Server version: 1.3.5,
WAPT Agent version: 1.3.5,
WAPT Setup version: 1.3.5,
WAPT Deploy version: 1.3.5.0.
Thank you.
