Made that change

- script.png (114.33 KiB) Viewed 5993 times
Reloaded system cache... unset and reset cache manager (not sure if that was necessary)... sent cmd to update UNC Cache on that machine... and still getting this (entire log)...
INFORMATION:
The agents location does not have a configured PASSWORD credentials to access drive, exiting script without agent changes. Launch location console and add a location drive and credentials.
RESULTS:
P4A Chocolatey Cache Management Results
The Script(6272) was successful in the Then section.
Script: S6272 - Starting at Server Time: Thursday, January 2, 2025 1:44:31 PM
IF F1 T: 1.097073
L2 F20 SetType(P1):11 Parameter(P2):'Select count(*) from plugin_p4...' VariableName(P3):SUSPENDED T: 1.097073
L3 F70 Value (P1): SUSPENDED Comparer (P2): 2 To (P3): 1 Jump (P4): 0 T: 1.097073
L4 F139 Note (P1): :RUNCACHEUPDATE T: 1.097073
L5 F70 Value (P1): LocationDrive Comparer (P2): 2 To (P3): Jump (P4): :MISSINGCACHEINFO T: 1.097073
L6 F70 Value (P1): LocationUser Comparer (P2): 2 To (P3): Jump (P4): :MISSINGCACHEUSER T: 1.097073
L7 F20 SetType(P1):1 Parameter(P2): VariableName(P3):mycachepass T: 1.097073
L8 F70 Value (P1): mycachepass Comparer (P2): 2 To (P3): Jump (P4): :MISSINGCACHEPASS T: 1.097073
L47 F139 Note (P1): :MISSINGCACHEPASS T: 1.097073
L48 F29 Message (P1): 'The agents location does not have a configured PASSWORD credentials to access drive, exiti...' T: 1.097073
L49 F67 Sql (P1): 'INSERT IGNORE INTO `plugin_p4a_chocolatey_logs`
(`ComputerID`,
`LogDate`,
`Log`)
VALUES ('...' T: 1.097073
L50 F129 Jump (P1): T: 1.097073
And even though this machine is marked as the cache manager, it is only loading the package files into the C:\ProgramData\chocolatey\lib folder, it is not copying them to the location share. I guess the script is exiting due to the "missing credentials" before it performs any of those functions.