ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002229ClearOSapp-software-updates - Software Updatespublic2015-02-27 05:122020-11-06 07:54
Reporterbchambers 
Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version6.6.0 
Target VersionFixed in Version 
Summary0002229: Software updates can upgrade subscription apps like content-filter updates, antimalware-updates etc.
DescriptionBoth 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001379)
bchambers (administrator)
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 (developer)
2020-11-06 07:54

Migrated to https://gitlab.com/clearos/clearfoundation/app-software-updates/-/issues/12 [^]

- Issue History
Date Modified Username Field Change
2015-02-27 05:12 bchambers New Issue
2015-02-27 05:24 bchambers Note Added: 0001379
2015-03-05 17:30 user2 Status new => confirmed
2020-11-06 07:54 NickH Note Added: 0014871
2020-11-06 07:54 NickH Status confirmed => closed
2020-11-06 07:54 NickH Resolution open => suspended