Cron daily package status email error

MatthiasF

New Member
Oct 8, 2013
5
0
1
Good morning,

We upgraded two of our virtual hosts with enterprise subscriptions yesterday to 3.1.133 after some troubles that seemed to be resolved by pressing subscription check before updates, noted here:

http://forum.proxmox.com/threads/15...-update-on-enterprise-proxmox-com-(error-401)

But this morning we received an email from both hosts stating the following:

Code:
Subject: Cron <root@host> test -x /usr/sbin/anacron || ( cd / &&  run-parts --report /etc/cron.daily )
Body:
[SIZE=2]/etc/cron.daily/pve:
error reading cached package status in  /var/lib/pve-manager/pkgupdates
[/SIZE]

I believe it is the same issue, that the enterprise https server is rejecting our connection with a 401 and the daily cron is reporting this error, but I do not know enough to check.

Is there a way to run the Subscription Check routine from bash that I can add to the script and fix this issue?
 
Simply try to remove that file:

# rm /var/lib/pve-manager/pkgupdates

To manually run the check use

# pvesubscription update --force
 

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!