mirror of
https://github.com/Installomator/Installomator.git
synced 2026-02-23 22:39:27 +00:00
not downloading current version VLC #332
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sdkemm on GitHub.
I've updated installomator to current version. When checking the Jamf computer policy logs, I noticed in the logs Installomater reports 'No newer version (line 50) but when I go out to the venders site there is a new version. What am I missing?
Details
Executing Policy Enterprise wide - VLC - update
Running script Installomator v10.5...
Script exit code: 0
Script result: 2023-10-19 09:18:22 : REQ : : shifting arguments for Jamf2023-10-19 09:18:22 : REQ : vlc : ################## Start Installomator v. 10.5, date 2023-10-15 2023-10-19 09:18:22 : INFO : vlc : ################## Version: 10.5 2023-10-19 09:18:22 : INFO : vlc : ################## Date: 2023-10-15 2023-10-19 09:18:22 : INFO : vlc : ################## vlc 2023-10-19 09:18:22 : DEBUG : vlc : DEBUG mode 1 enabled. 2023-10-19 09:18:22 : INFO : vlc : SwiftDialog is not installed, clear cmd file var 2023-10-19 09:18:22 : INFO : vlc : setting variable from argument DEBUG=0 2023-10-19 09:18:22 : DEBUG : vlc : name=VLC 2023-10-19 09:18:23 : DEBUG : vlc : appName= 2023-10-19 09:18:23 : DEBUG : vlc : type=dmg 2023-10-19 09:18:23 : DEBUG : vlc : archiveName= 2023-10-19 09:18:23 : DEBUG : vlc : downloadURL=http://get.videolan.org/vlc/3.0.18/macosx/vlc-3.0.18-arm64.dmg 2023-10-19 09:18:23 : DEBUG : vlc : curlOptions= 2023-10-19 09:18:23 : DEBUG : vlc : appNewVersion=3.0.18 2023-10-19 09:18:23 : DEBUG : vlc : appCustomVersion function: Not defined 2023-10-19 09:18:23 : DEBUG : vlc : versionKey=CFBundleShortVersionString 2023-10-19 09:18:23 : DEBUG : vlc : packageID= 2023-10-19 09:18:23 : DEBUG : vlc : pkgName= 2023-10-19 09:18:23 : DEBUG : vlc : choiceChangesXML= 2023-10-19 09:18:23 : DEBUG : vlc : expectedTeamID=75GAHG3SZQ 2023-10-19 09:18:23 : DEBUG : vlc : blockingProcesses= 2023-10-19 09:18:23 : DEBUG : vlc : installerTool= 2023-10-19 09:18:23 : DEBUG : vlc : CLIInstaller= 2023-10-19 09:18:23 : DEBUG : vlc : CLIArguments= 2023-10-19 09:18:23 : DEBUG : vlc : updateTool= 2023-10-19 09:18:23 : DEBUG : vlc : updateToolArguments= 2023-10-19 09:18:23 : DEBUG : vlc : updateToolRunAsCurrentUser= 2023-10-19 09:18:23 : INFO : vlc : BLOCKING_PROCESS_ACTION=tell_user 2023-10-19 09:18:23 : INFO : vlc : NOTIFY=success 2023-10-19 09:18:23 : INFO : vlc : LOGGING=DEBUG 2023-10-19 09:18:23 : INFO : vlc : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2023-10-19 09:18:23 : INFO : vlc : Label type: dmg 2023-10-19 09:18:23 : INFO : vlc : archiveName: VLC.dmg 2023-10-19 09:18:23 : INFO : vlc : no blocking processes defined, using VLC as default 2023-10-19 09:18:23 : DEBUG : vlc : Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.EQ5PB0GK 2023-10-19 09:18:23 : INFO : vlc : App(s) found: /Applications/VLC.app 2023-10-19 09:18:23 : INFO : vlc : found app at /Applications/VLC.app, version 3.0.18, on versionKey CFBundleShortVersionString 2023-10-19 09:18:23 : INFO : vlc : appversion: 3.0.18 2023-10-19 09:18:23 : INFO : vlc : Latest version of VLC is 3.0.18 2023-10-19 09:18:23 : INFO : vlc : There is no newer version available. 2023-10-19 09:18:23 : DEBUG : vlc : Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.EQ5PB0GK 2023-10-19 09:18:23 : DEBUG : vlc : Debugging enabled, Deleting tmpDir output was: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.EQ5PB0GK 2023-10-19 09:18:23 : INFO : vlc : Installomator did not close any apps, so no need to reopen any apps. 2023-10-19 09:18:23 : REQ : vlc : No newer version. 2023-10-19 09:18:23 : REQ : vlc : ################## End Installomator, exit code 0
Running Recon...
Retrieving inventory preferences from https://ewscripps.jamfcloud.com/...
Locating accounts...
Searching path: /System/Applications
Locating package receipts...
Locating software updates...
Locating plugins...
Locating printers...
Searching path: /Applications
Locating hardware information (macOS 13.6.0)...
@alex02th commented on GitHub:
Hello,
I actually fix this in my pull request : https://github.com/Installomator/Installomator/pull/1287
@greatkemo commented on GitHub:
New fix in PR #1347
@sjurlohne commented on GitHub:
It's not working for 3.0.21. The $latestVersionURL points to "https://get.videolan.org/vlc/last/macosx/", but the "last" folder does not point to the latest version, rather to 3.0.20. Changing the URL to "https://get.videolan.org/vlc/3.0.21/macosx/" will work, but is no solution.
If we can't trust the "last" folder, perhaps it's possible to list all folders under "https://get.videolan.org/vlc/", sort the list so the highest nubmer is at the top/bottom, and pull the latest version form that? I don't know....
@uurazzle commented on GitHub:
Hi:
Here is a working updated label that fixes the issue and downloads the universal binary vs Intel & Apple Silicon binaries.
@timnottom commented on GitHub:
Thanks @uurazzle, that works like a charm here. Could you create a pull request for this?
@uurazzle commented on GitHub:
HI @timnottom:
Ok, created an alternative method pull request for VLC that is less forgettable by the VLC maintainers.
https://github.com/Installomator/Installomator/pull/1719