[SOLVED] Error Downloading WsusScan

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
Locked
MPI
Messages: 1
Registration: Nov 14, 2024 - 08:47

November 14, 2024 - 09:47

Good morning,

I am installing Windows updates on my WAPT server.

Features :

- Server version 2.5.5.15640
- server running Rocky 8
- machines running w11 23h2
- formerly a wsus
- Wuauserv service is down
- wsusscan status: ok, already up to date

But I encounter an "error downloading wsusscan" error when I launch the search for Windows updates to apply.

You will find the task logs below.

Code: Select all

Ensure wuauserv Auto Update option is disabled
Scanning with windows updates rules:
{
 "direct_download":false,
 "default_allow":true,
 "include_potentially_superseded_updates":false,
 "filter":"Type='Software' or Type='Driver'",
 "download_scheduling":"1d",
 "install_scheduling":null,
 "install_delay":"2d",
 "postboot_delay":"10m",
 "user_locale":1033
}
Downloading wsusscn2.cab file from https://wapt.domain/waptwua/wsusscn2.cab
re-enabling wuauserv previous state: 0
404 Client Error: Not Found for url: https://wapt.domain/waptwua/wsusscn2.cab.sha1
Traceback (most recent call last):
  File "<string>", line 1939, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\enterprise.py", line 288, in _run
    self.result = wua.install_updates(self.force, uuids=self.uuids)
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1660, in install_updates
    self.scan_updates_status()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1212, in scan_updates_status
    self.update_wsusscan_cab()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1076, in update_wsusscan_cab
    return self.download_wsusscan_cab()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1072, in download_wsusscan_cab
    raise e
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1060, in download_wsusscan_cab
    sumwsusscn2 = wgets('%s.sha1' % cab_location, requests_session=session).decode('utf8').strip()
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1188, in wgets
    r.raise_for_status()
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://wapt.domain/waptwua/wsusscn2.cab.sha1

None : None
Traceback (most recent call last):
  File "<string>", line 1939, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\enterprise.py", line 288, in _run
    self.result = wua.install_updates(self.force, uuids=self.uuids)
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1660, in install_updates
    self.scan_updates_status()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1212, in scan_updates_status
    self.update_wsusscan_cab()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1076, in update_wsusscan_cab
    return self.download_wsusscan_cab()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1072, in download_wsusscan_cab
    raise e
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1060, in download_wsusscan_cab
    sumwsusscn2 = wgets('%s.sha1' % cab_location, requests_session=session).decode('utf8').strip()
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1188, in wgets
    r.raise_for_status()
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://wapt.domain/waptwua/wsusscn2.cab.sha1
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

December 16, 2024 - 10:00

Hello,
it seems WUA isn't enabled on the server side. You'll need to rerun /opt/wapt/waptserver/scripts/postconf.sh and enable WUA.
Have a good day,
Bertrand
Locked