Page 1 of 1

[RESOLVED] Waptupgrade_all package not found after upgrade 1.7

Published: September 4, 2019 - 3:48 PM
by Didier
- WAPT version installed: 1.7
- Server OS (Linux / Windows): Stretch 9
- Administration/package creation machine OS: Windows 10



Good morning,
I just upgraded our server from 1.6.2 to 1.7.4. The upgrade went smoothly on the Linux side. I then updated the console and finally created the client package; so far, no problems.
I usually update my clients using the waptupgrade package. That's where I'm encountering a problem:
The client can see the new version of the package (1.6 => 1.7) but gets stuck during the download. The logs indicate that the package cannot be found. Indeed, the package being searched for ( ntic-waptupgrade_1.7.4.6165-25_all.wapt) does not exist.
I checked on the server, only the package ntic-waptupgrade_1.7.4.6165-25.wapt It exists. So I made a copy (directly under Linux) and renamed this package to ntic-_all.waptwaptupgrade_1.7.4.6165-25
The package was then installed on the client machines.

So no blocking problem, but a question: have I missed something?

Thanks in advance.

Code: Select all

raceback (most recent call last):
  File "c:\wapt\waptservice\service.py", line 1374, in run
    self.running_task.run()
  File "c:\wapt\waptservice\waptservice_common.py", line 515, in run
    self._run()
  File "c:\wapt\waptservice\waptservice_common.py", line 960, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'ntic-waptupgrade']: erreurs dans les paquets [[(u'https://wapt.lepuy.local/wapt/ntic-waptupgrade_1.7.4.6165-25_all.wapt', '404 Client Error: Not Found for url: https://wapt.lepuy.local/wapt/ntic-waptupgrade_1.7.4.6165-25_all.wapt'), None], [u'ntic-waptupgrade', PackageEntry(u'ntic-waptupgrade',u'1.7.4.6165-25') , u'Traceback (most recent call last):\n  File "c:\\wapt\\common.py", line 4367, in install\n    raise EWaptDownloadError(\'Package file %s not downloaded properly.\' % p.filename)\nEWaptDownloadError: Package file ntic-waptupgrade_1.7.4.6165-25_all.wapt not downloaded properly.\n']]

Exception: Erreur lors de l'installation de [u'ntic-waptupgrade']: erreurs dans les paquets [[(u'https://wapt.lepuy.local/wapt/ntic-waptupgrade_1.7.4.6165-25_all.wapt', '404 Client Error: Not Found for url: https://wapt.lepuy.local/wapt/ntic-waptupgrade_1.7.4.6165-25_all.wapt'), None], [u'ntic-waptupgrade', PackageEntry(u'ntic-waptupgrade',u'1.7.4.6165-25') , u'Traceback (most recent call last):\n  File "c:\\wapt\\common.py", line 4367, in install\n    raise EWaptDownloadError(\'Package file %s not downloaded properly.\' % p.filename)\nEWaptDownloadError: Package file ntic-waptupgrade_1.7.4.6165-25_all.wapt not downloaded properly.\n']]
Traceback (most recent call last):
  File "c:\wapt\waptservice\service.py", line 1374, in run
    self.running_task.run()
  File "c:\wapt\waptservice\waptservice_common.py", line 515, in run
    self._run()
  File "c:\wapt\waptservice\waptservice_common.py", line 960, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'ntic-waptupgrade']: erreurs dans les paquets [[(u'https://wapt.lepuy.local/wapt/ntic-waptupgrade_1.7.4.6165-25_all.wapt', '404 Client Error: Not Found for url: https://wapt.lepuy.local/wapt/ntic-waptupgrade_1.7.4.6165-25_all.wapt'), None], [u'ntic-waptupgrade', PackageEntry(u'ntic-waptupgrade',u'1.7.4.6165-25') , u'Traceback (most recent call last):\n  File "c:\\wapt\\common.py", line 4367, in install\n    raise EWaptDownloadError(\'Package file %s not downloaded properly.\' % p.filename)\nEWaptDownloadError: Package file ntic-waptupgrade_1.7.4.6165-25_all.wapt not downloaded properly.\n']]

Re: Waptupgrade_all package not found after upgrade 1.7

Published: September 5, 2019 - 11:14 AM
by Yoann
Hello,

This issue has been addressed in this thread.

During the update and execution of the postconf.sh, the packages in the repository are renamed.
In version 1.6, the packages are in the form xxx-xxxxx_xxxx_all.wapt, while in version 1.7, they are in the form xxx-xxxxx_xxxx.wapt.

WAPT agents in version 1.6 cannot find and download the new package generated in version 1.7 (xxx-waptupgrade_xxxx.wapt). A symbolic link or a copy of the package resolves this issue (or deploying the agent via GPO).

Regards.

Re: Waptupgrade_all package not found after upgrade 1.7

Published: September 5, 2019 - 11:18 AM
by Didier
Ah, I didn't see this post, sorry.
Thank you for taking the time to reply.