Software updates can upgrade subscription apps like content-filter updates, antimalware-updates etc.
Migrated from: https://tracker.clearos.com/view.php?id=2229
Reported by: Ben Chambers
Both software updates cron and the scripts called from ClearSDN services updates use an ever changing schedule that get randomly created after each script is run. This is done for load balancing.
One consequence, however, is that if the software updates script is run before a service update script and an update is available, the service update returns that there is nothing to update.
That's fine...the server has the necessary update.
However, the service update script does one thing the general software updates script does not, which is create a log entry in the ClearSDN database which is then used to display reports in both the portal and (via WS) to the Webconfig page.
Comment 1:
A hack, but one work around in Software_Updates.php library is to exclude apps that have their own update mechanism from being returned.
get_available_updates($type = 'all')
{
..
if (... clearsdn-antimalware)
continue;
..
}