Auto-Installer not working

Support and questions for using and managing Chocolatey NuGet inside of Labtech
Post Reply
aaroncampbell72
Posts: 33
Joined: Tue Mar 24, 2020 6:59 pm
4

Auto-Installer not working

Post by aaroncampbell72 »

When we initially set up this plug-in, it would auto-install non-excluded apps to PCs but it suddenly stopped. Here's the script output and Log results:

"The Script(6379) failed in the Then section at step 9. The reason: Kill command was issued.

Script: S6379 - Starting at Server Time: Wednesday, December 2, 2020 2:07:04 PM
IF F5 ValueOne (P1): APPCMD Comparer (P2): 3 ValueTwo (P3): T: 0.0155849
L1 F20 SetType(P1):1 Parameter(P2):0 VariableName(P3):TICKETING T: 0.0155849
L2 F172 SqlStatement (P1): 'Select count(ClientID) FROM plugin_sw_chocolateyii_client_config where ClientID = '55' and...' T: 0.0155849
L3 F20 SetType(P1):1 Parameter(P2):0 VariableName(P3):TICKETING T: 0.0311844
L4 F70 Value (P1): TICKETING Comparer (P2): 2 To (P3): 1 Jump (P4): :STARTTICKET T: 0.0321816
L5 F139 Note (P1): :CONTINUE T: 0.0321816
L6 F114 File (P1): 'C:\ProgramData\chocolatey\choc...' Check (P2): 0 Jump (P3): :PROGRAMDATA T: 0.0321816"
Attachments
Capture.JPG
Capture.JPG (169.74 KiB) Viewed 2617 times

User avatar
Cubert
Posts: 2447
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Auto-Installer not working

Post by Cubert »

Looks like its not finding Chocolatey framework installed so if doing the file check on line 6 of the script but since it does not find file it goes to line 8 which is to quit.


Validate that the Chocolatey framework exists on that agent. If not use plugin to push Chocolatey down to agent and see if that starts the ball rolling..

aaroncampbell72
Posts: 33
Joined: Tue Mar 24, 2020 6:59 pm
4

Re: Auto-Installer not working

Post by aaroncampbell72 »

Thank you for the reply.
I verified the .exe does exist and the plug-in manager shows this particular PC has Chocately and chocolatey-core extensions installed. That's why I'm confused as to why the auto-installations are failing.

aaroncampbell72
Posts: 33
Joined: Tue Mar 24, 2020 6:59 pm
4

Re: Auto-Installer not working

Post by aaroncampbell72 »

Most recent log showing failure to login as user:

The Script(6379) was successful in the Then section.

Script: S6379 - Starting at Server Time: Wednesday, December 9, 2020 6:04:43 AM
IF F5 ValueOne (P1): APPCMD Comparer (P2): 3 ValueTwo (P3): T: 1.1160297
L1 F20 SetType(P1):1 Parameter(P2):0 VariableName(P3):TICKETING T: 1.1315884
L2 F172 SqlStatement (P1): 'Select count(ClientID) FROM plugin_sw_chocolateyii_client_config where ClientID = '55' and...' T: 1.1315884
L3 F20 SetType(P1):1 Parameter(P2):0 VariableName(P3):TICKETING T: 1.1803817
L4 F70 Value (P1): TICKETING Comparer (P2): 2 To (P3): 1 Jump (P4): :STARTTICKET T: 1.1803817
L5 F139 Note (P1): :CONTINUE T: 1.1803817
L6 F114 File (P1): 'C:\ProgramData\chocolatey\choc...' Check (P2): 0 Jump (P3): :PROGRAMDATA T: 1.1959877
L9 F139 Note (P1): :PROGRAMDATA T: 9.2681137
L10 F126 T: 9.2681137
L11 F29 Message (P1): Failed to Login as User T: 19.3788809
L12 F54 T: 19.3944712
L13 F129 Jump (P1): T: 21.4363017

Post Reply

Return to “Chocolatey For Labtech”