Packages that redeploy at each stop

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
jojo57
Messages: 16
Registration: June 28, 2016 - 10:46

July 4, 2016 - 11:56

Hello,

I'm deploying packages (in this case, LibreOffice) to PCs, all on a domain, and some won't install, or are reinstalled every time the PC shuts down, with the PC always showing "TO-UPGRADE" in the console.
On some PCs, there are no problems, but on others (identical ones) it doesn't work.
Here's the waptservice log from a PC that won't install. It seems to be a package signature issue? But in that case, why does the same package install without any problems on another PC?

Are there other logs that we can view (remotely if possible, the PCs are not all local)

Thank you


2016-07-04 07:03:07,635 WARNING Unable to get version of cached package C:\wapt\cache\ddpp57-libreoffice_5.0.6.3-1_all.wapt: BadZipfile: File is not a zip file
2016-07-04 11:15:11,089 CRITICAL KeyError: "There is no item named u'WAPT/signature' in the archive"
2016-07-04 11:15:13,982 CRITICAL Cached file MD5 doesn't match MD5 found in packages index. Discarding cached file
2016-07-04 11:25:22,779 ERROR Traceback (most recent call last):
File "C:\wapt\lib\site-packages\rocket\main.py", line 143, in start
time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

July 4, 2016 - 12:20

The pre-downloaded WAPT package may not be complete.
Possible reasons include:
- the machine shut down while the package was downloading
- insufficient disk space on the machine
- antivirus software blocking the package because it contains an executable file
- proxy server blocking it because it contains an executable file

...
Tranquil IT
jojo57
Messages: 16
Registration: June 28, 2016 - 10:46

July 4, 2016 - 1:55 PM

Thanks for the reply, I'll check it out.
The strange thing is that the Greenshot package, which is normally a few megabytes, is now over 300 megabytes, like the LibreOffice package... Package mix-ups? That's odd.

I'm going to completely reinstall WAPT remotely and see what happens...
jojo57
Messages: 16
Registration: June 28, 2016 - 10:46

July 5, 2016 - 11:08

So I checked, and strangely (since I haven't created any packages recently), the Greenshot package had taken on the same size as the LibreOffice package, and this was on my private repository. Odd. I might have made a mistake, but I can't see what, since the package in my WaptDev directory on my PC is correct.

But I'm still having problems with packages that won't install on some PCs. I thought it might be a timeout (more than 10 minutes of installation or the PC shutting down before the end), but I don't think so.

I'm getting this error on one machine, even though the LibreOffice package downloaded to that machine is complete. If I rename the extension to .wapt and .zip, I can open it, so the .zip file is clearly okay.

I really don't understand, everything works fine except for a few stubborn machines with the same errors and it's impossible to install the packages...

Thank you

2016-07-04 11:30:18,102 WARNING Unable to get version of cached package C:\wapt\cache\ddpp57-libreoffice_5.0.6.3-1_all.wapt: BadZipfile: File is not a zip file
2016-07-04 16:59:06,670 CRITICAL Cached file MD5 doesn't match MD5 found in packages index. Discarding cached file
2016-07-04 17:09:00,658 ERROR Traceback (most recent call last):
File "C:\wapt\lib\site-packages\rocket\main.py", line 143, in start
time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call
Locked