Seeing What Updates were Applied

dermotd

Member
Nov 26, 2019
13
0
1
Dublin
cPanel Access Level
Root Administrator
When I log into my clients WHM I see the yellow bar across the top, 'You must reboot the server to apply software updates'. How do I see what updates were applied, so I can decide whether to reboot the server? Does grep -i 'updated' /var/cpanel/updatelogs/<latest update log> give the full story, or only any updates applied on the date of that log?

I have read from other forum postings that a server should only be rebooted following kernel updates (if thats your preference of course). How do other people approach reboots?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
Hello,

You can check the yum log and the cPanel update log to determine what had been updated:

yum
/var/log/yum.log

update logs
/var/cpanel/updatelogs/

To determine what specifically is being updated and the source of the reqeuest for rebooting is you can run the following:

/usr/local/cpanel/bin/needs-restarting-cpanel