ClearFoundation Tracker - ClearOS
View Issue Details
0002229ClearOSapp-software-updates - Software Updatespublic2015-02-27 05:122020-11-06 07:54
bchambers 
 
normalminorsometimes
closedsuspended 
6.6.0 
 
0002229: Software updates can upgrade subscription apps like content-filter updates, antimalware-updates etc.
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.
No tags attached.
Issue History
2015-02-27 05:12bchambersNew Issue
2015-02-27 05:24bchambersNote Added: 0001379
2015-03-05 17:30user2Statusnew => confirmed
2020-11-06 07:54NickHNote Added: 0014871
2020-11-06 07:54NickHStatusconfirmed => closed
2020-11-06 07:54NickHResolutionopen => suspended

Notes
(0001379)
bchambers   
2015-02-27 05:24   
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;

..
}
(0014871)
NickH   
2020-11-06 07:54   
Migrated to https://gitlab.com/clearos/clearfoundation/app-software-updates/-/issues/12 [^]