ClamAV update error

Afox

Renowned Member
Dec 18, 2014
257
12
83
Hello,

I upgraded to PMG 6.4 and when I try to update the virus detector it throws some errors:
ClamAV update process started at Tue Mar 30 16:09:21 2021
daily database available for update (local version: 26124, remote version: 26125)
WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
daily database available for update (local version: 26124, remote version: 26125)
WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
daily database available for update (local version: 26124, remote version: 26125)
WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
daily database available for update (local version: 26124, remote version: 26125)
WARNING: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
daily database available for update (local version: 26124, remote version: 26125)
ERROR: downloadFile: Unexpected response (429) from https://database.clamav.net/daily.cvd
ERROR: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Giving up on https://database.clamav.net...
ERROR: Update failed for database: daily
WARNING: fc_update_databases: fc_update_database failed: HTTP GET failed (11)
ERROR: Database update process failed: HTTP GET failed (11)
ERROR: Update failed.
TASK ERROR: command '/usr/bin/freshclam --stdout' failed: exit code 11
Best regards,

Afox
 
I ran into this myself - seems that the CDN where the clamAV updates are hosted, are currently ratelimiting the requests a bit more than they used to:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
https://www.linode.com/community/questions/21157/clamav-update-receives-429-error-to-many-requests
https://www.mail-archive.com/clamav-users@lists.clamav.net/msg49810.html

one thing you could try (came to me after reading the mailinglist-post ) - is to enable 'Incremental Download' at GUI->Configuration->Virus Detector->ClamAV

In any case - trying a bit later usually also takes care of that problem :)
 
  • Like
Reactions: Afox
Switching to incremental was working for me, thanks
Thanks for reporting back! - we introduced the checkbox with PMG 6.2 (because at that point incremental downloads were broken, but full ones worked) - so guess this is something to try if freshclam is not working.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!