[SOLVED] PMG 6.2.5 sa-update doesn't run automatically

czechsys

Renowned Member
Nov 18, 2015
419
43
93
Hi

based on timers:

Code:
Thu 2020-08-27 04:21:58 CEST  17h left      Wed 2020-08-26 03:57:57 CEST  6h ago       pmg-daily.timer              pmg-daily.service

I will expect to sa-update automatically ran. But:

Code:
root@pmg-01:/var/log/pve/tasks/C# cat UPID:pmg-01:00002D86:1529A276:5F461F1C:saupdate::root@pam:
Update available for channel updates.spamassassin.org: 1881126 -> 1881177
http: (curl) GET http://sa-update.verein-clean.net/1881177.tar.gz, FAILED, status: exit 7
http: (curl) GET http://sa-update.spamassassin.org/1881177.tar.gz, success
http: (curl) GET http://sa-update.spamassassin.org/1881177.tar.gz.sha512, success
http: (curl) GET http://sa-update.spamassassin.org/1881177.tar.gz.asc, success
Update was available, and was downloaded and installed successfully
TASK OK

I needed to run it today manually. Any hint why it doesn't work automatically?
 
Because this task was manually initated from pmg webui. I can't find any log showing sa-update was ran succesfully via pmg-daily.
 
Because this task was manually initated from pmg webui. I can't find any log showing sa-update was ran succesfully via pmg-daily.
the pmg-daily task should log if warnings are present
you can try to run /usr/lib/pmg/bin/pmg-daily manually and see if something relevant shows up in the log / on stdout

Else you should see that the pmg-daily timer was activated and pmg-daily.service got started in the journal
 
I will hold half eye on it but currently can confirm that automatic update works.
 

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!