Framework and app deployment failing

Support and questions for using and managing Chocolatey NuGet inside of Labtech
Post Reply
cbacon
Posts: 7
Joined: Thu Feb 16, 2023 7:15 pm
1

Framework and app deployment failing

Post by cbacon »

We have been unable to get Choco for Labtech to deploy our updated framework and apps. We can run the cmds manually on systems and they work fine. Once we update choco on a system manually it reflects in the tool (the new version 2.2.2) but it still will not deploy packaged apps. System is also not showing our updated choco license info.

Examples of what we see in the logs for Choco for Labtech below-
Failed getting path
No path found

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

Re: Framework and app deployment failing

Post by Cubert »

Chris, I can believe this. We retired Chocolatey for LabTech in 2020 back when Chocolatey was pre 1.0, Chocolatey is now 2.2.2 and has removed some of the SHIMs and locations it once used. This has most likely caused your issues with this plugin starting to fail.

Chocolatey For Automate 3.6 is now the current full Chocolatey Plugin for ConnectWise Automate. Huge changes in how automation with Automate takes place, much easier controls with less "noise" and made for Chocolatey 2+ versions.

Blog post about Chocolatey For Automate 3.6


Chocolatey for Automate is also unlimited agents, use it across your entire RMM environment.

Chocolatey For Automate

Your primary automation for Chocolatey For Automate is now managed with groups, The plugin creates a set of groups and searches that allow agents in different phases of deployment to move through each group until the agent has completed all tasks and is current and up to date with client configurations. This process makes it very easy to see where in the stack the agent currently is and when to expect the agents next move. You are able to control the groups, speeding up, slowing down or spreading out the processes to fit your environment.

Lots of improvements in the plugin and processes with Chocolatey for Automate 3.6, well worth the upgrade.

---Otherwise---

I can suggest that you look at the Chocolatey 2 scripts and go through them looking for execute commands that target chocolatey and fix them all to be "c:\programdata\chocolatey\bin\choco.exe"

Commands you may see are: "choco", choco.exe, cinstl, cunistl, etc. Each may have a path or not.

I would change all references to the full path given above. That will fix some of your issues. Anywhere the plugin directly commands agent to install would require a plugin update (unlikely).

cbacon
Posts: 7
Joined: Thu Feb 16, 2023 7:15 pm
1

Re: Framework and app deployment failing

Post by cbacon »

What is the correct method to uninstall this plugin (before I setup the newer plugin)?

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

Re: Framework and app deployment failing

Post by Cubert »

Us the plugin manager to remove the plugin from Automate, Restart the DB agent after deletion. Under scripts/maintenance/ find the following scripts and delete,

Chocolatey For LabTech Maintenance Service

Chocolatey For LabTech Installer


If you have access to Automate host and can execute SQL as root on the Automate SQL server you can drop any tables with a prefix of "plugin_sw_chocolateyii_" to remove data tables for old plugin.

If you do not have access to SQL on Automate then the tables will not harm anything so they can remain without concern. Removing them may save you a couple of kilo bytes in SQL backups. With hosted Automate you may not have this access so they can be ignored.

Post Reply

Return to “Chocolatey For Labtech”