Ok, the first machine in my list is XXX2PZSJ - this site uses a caching agent.
Globally enabled applications in Chocolatey for Automate:
7zip.install
jre8
chocolatey-compatibility.extension
windirstat
dropbox
dekstopinfo
vlc
putty.install
chocolatey-core.extension
notepadplusplus.install
palemoon
adobereader
chocolatey
firefox
googlechrome
In the Automate client, the machine has these apps listed in 'Managed Applications'
googlechrome
chocolatey
chocolatey-compatibility.extension
chocolatey-core.extension
In your instructions, you said to run 'choco list -r' but I think that gets a list of all apps available in the choco repo (it listed 217 packages)...
instead, I ran 'choco list --localonly' and got this:
C:\WINDOWS\system32>choco list --local-only
Chocolatey v1.1.0
chocolatey 1.1.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
3 packages installed.
Looking at the site I am working with now, there are no files in some of the directories on the caching server... the empty directories are as follows:
7zip.install.23.1.0
chocolatey.2.2.2
Firefox.117.0.0
notepadplusplus.install.8.5.6
putty.install.0.79.0
windirstat.1.1.2.20161210
The other directories have files in them, but the empty directories still don't correspond to all of the missing apps on machines.
I deleted the "packages" folders in both c:\windows\ltsvc\chocolatey -AND- in the shared folder defined in the location "script and template variables" and ran the "update repo cache" again
I do see .nupkg files in the root of the packages folder... just looks like all the packages aren't downloading.
I do see 1 failed command: "Remove Directory" Parameters "%ltsvcdir%\Chocolatey\packages" output "Error deleting directories - check local log file"
I looked at LTErrors.txt and see this...
30.347 - 8/29/2023 4:06:20 PM - Error Deleting File: C:\Windows\LTSvc\Chocolatey\packages\dropbox.181.4.5678.nupkg, The process cannot access the file 'C:\Windows\LTSvc\Chocolatey\packages\dropbox.181.4.5678.nupkg' because it is being used by another process.:::
LTService v230.347 - 8/29/2023 4:06:20 PM - Error Deleting File: C:\Windows\LTSvc\Chocolatey\packages\dropbox.181.4.5678\Dropbox 181.4.5678 Offline Installer.x64.exe, The process cannot access the file 'C:\Windows\LTSvc\Chocolatey\packages\dropbox.181.4.5678\Dropbox 181.4.5678 Offline Installer.x64.exe' because it is being used by another process.:::
LTService v230.347 - 8/29/2023 4:06:20 PM - Error Deleting Folder: C:\Windows\LTSvc\Chocolatey\packages\dropbox.181.4.5678, The directory is not empty.
:::
Another error in the machine log:
Parameters: cmd.exe!!! /c "%ltsvcdir%\Chocolatey\ChocoCacher.exe %ltsvcdir%\Chocolatey\packages
http://chocolatey.org/api/v2/package/firefox/"
Output: Downloading: Firefox.117.0.0.nupkg
Download Failed:
https://download.mozilla.org/?product=f ... g=${locale}
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at ChocoCacher.PackageCacher.DownloadFile(String url, String destination)
Download Failed:
https://download.mozilla.org/?product=f ... g=${locale}
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at ChocoCacher.PackageCacher.DownloadFile(String url, String destination)
If you need to look at more log files, a call with a screenshare of the machine would be a lot easier and quicker!
Update: It got the .nupkg files for each app (I see them in c:\windows\ltsvc\chocolatey\packages), but it didn't again install anything into the folders below (same ones as the other apps listed above)...
7zip.install.23.1.0
chocolatey.2.2.2
Firefox.117.0.0
notepadplusplus.install.8.5.6
putty.install.0.79.0
windirstat.1.1.2.20161210
Also, the files/folders have not copied back over to the caching share at location "script and template variables" and ran the "update repo cache" -- it remains empty... where is the script supposed to check/copy/sync the packages folders?