Page 2 of 2

Re: WUA error KB5050021

Published: March 24, 2025 - 4:47 PM
by sfonteneau
Hello,
contact our support team and we'll take a look.

Re: WUA error KB5050021

Published: March 24, 2025 - 5:49 PM
by gavit
Thank you, I'll call you tomorrow around 2pm

Re: WUA error KB5050021

Published: March 27, 2025 - 10:28
by gavit
Hello Simon,

Thanks for your help, it fixed 95% of the park.
We just have this one mistake left that I need to correct.

Code: Select all

0x80246fff "There was a download manager error not covered by another WU_E_DM_* error code." 
I'm really looking forward to the addition of a shortcut to clean up the Software Distribution folder ;)

Re: WUA error KB5050021

Published: March 27, 2025 - 4:05 PM
by gavit
We executed the following commands on the server:

Disable the wapttasks service

Code: Select all

sudo systemctl stop wapttasks
Connecting to the Wapt psql database

Code: Select all

sudo -u wapt  psql

psql (15.12 (Debian 15.12-0+deb12u2))
Type "help" for help.
wapt=> delete from  wsusupdates  WHERE download_urls::TEXT LIKE '%filestreamingservice%';
	DELETE 38
wapt=> delete from wsusdownloadtasks;
	DELETE 3272
wapt=> \q
Deleting .sqlite files without /opt/wapt/db/

Code: Select all

sudo rm -f /opt/wapt/db/*.sqlite
Service restart

Code: Select all

sudo systemctl restart wapttasks

Re: WUA error KB5050021

Published: March 28, 2025 - 11:34
by dcardon
Hi Gaëtan,

thanks for the feedback. :-)

We'll soon be releasing a new version of wapt that should prevent the wapttasks database from becoming overloaded with "filestreamingservice" URLs. We're also looking into adding a task to clean up the softwaredistribution directory directly in the console. In this new version, we've added some things to improve 24h2 update support (I don't know if even Microsoft engineers still understand how it works...).

I'm marking this topic as resolved.

See you soon,

Denis