Software Updates all reporting 0?

rlowry
New Contributor III

I've added "Number of Available updates" to my Computer Inventory display, and noticed every computer lists 0 for SWUS. This is very suspicious and in my experience pretty improbable with over 75 computers.

On my own laptop I can see in system preferences:
"Updates are available for your mac"
macOS 10.14.5 Update
iTunes Device Support Update

After running a sudo jamf recon and policy for good measure, I've confirmed my computer information is up to date in jamf, but still says SWUS = 0.

I'm not sure whats going on here, I've never had this problem with past organizations.

1 ACCEPTED SOLUTION

mm2270
Legendary Contributor III

Ok, it was worth checking on though.
So, it just occurred to me that you may not have Software Update collection enabled in your Jamf Pro instance.
Go to Settings > Computer Management > Inventory Collection. See if the option labeled "Collect available software updates" is checked. See screenshot below:

8f37460ffe0d4e6ca63179f30b1aa46e

It needs to be enabled in order to see any results in that Number of Available Updates field.

View solution in original post

6 REPLIES 6

mm2270
Legendary Contributor III

Can you check to see if a profile or other config went out to the Macs to point them to a non-existent SUS perhaps? If a device gets pointed to a SUS address that can't be reached, it will show 0 for the number of updates, even if there are potential updates needed.

rlowry
New Contributor III

Under Software Update Servers, nothing is listed.

I don't see any other policies or Configuration profiles that are related to software updates.

mm2270
Legendary Contributor III

Ok, it was worth checking on though.
So, it just occurred to me that you may not have Software Update collection enabled in your Jamf Pro instance.
Go to Settings > Computer Management > Inventory Collection. See if the option labeled "Collect available software updates" is checked. See screenshot below:

8f37460ffe0d4e6ca63179f30b1aa46e

It needs to be enabled in order to see any results in that Number of Available Updates field.

rlowry
New Contributor III

Wow. It helps to collect that information if you want to see it.
That was it! Thanks for your help and quick response.
I've never seen that not enabled before and thus didn't even know it was an optional thing.

That box was not checked.

Thank you!

mm2270
Legendary Contributor III

Sure, no problem. Glad that got it resolved!

mthakur
Contributor

@rlowry
Be aware that checkbox ("Collect available software updates") may have been disabled by a colleague or predecessor for a good reason: It can break recon from completing.

See https://www.jamf.com/jamf-nation/discussions/25648/high-sierra-supplemental-update-breaks-recon for a full explanation.

Note that the iTunes Device Support Update in particular triggers this issue.

However, this issue was fixed by JAMF at some point. If your JAMF Pro version is ≥ 9.101.4 or > 10.2 (from memory — could be wrong) you're probably in the clear.

If you want to be 100% sure:
1. Please login to your JAMF Pro server, and view the file /Library/JSS/Tomcat/webapps/ROOT/WEB-INF/xml/JAMFSoftwareServerDatabaseSchema.xml (modify path accordingly for Windows or Linux installations).
2. Find the available_software_updates table and verify that the version column has a size set to 255 (and not 31):

<table>
    <table_name>available_software_updates</table_name>
    [...]
    <column>
        <name>version</name>
        <type>varchar</type>
        <size>255</size>
    </column>

If the size is still 31, then you should either disable "Collect available software updates" or upgrade your JAMF Pro version.