Page 1 of 1

Packages that redeploy at each stop

Published: July 4, 2016 - 11:56 AM
by jojo57
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

Re: Packets that redeploy at every stop

Published: July 4, 2016 - 12:20 PM
by htouvet
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

...

Re: Packets that redeploy at every stop

Published: July 4, 2016 - 1:55 PM
by jojo57
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...

Re: Packets that redeploy at every stop

Published: July 5, 2016 - 11:08 AM
by jojo57
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