C4A groups no populating

This forum is for the discussions and support for the Chocolatey For Automate plugin. Inside you will find the Documentation Project forum that describes the operation of the plugin.
PL-MSTech
Posts: 70
Joined: Mon Jul 31, 2023 10:07 pm
1

Re: C4A groups no populating

Post by PL-MSTech »

Its the next day... the machines are showing that they are up to date... some have a few or one approved app (chocolatey), but several are approved... what's going on here? Am I going to have to set the EDF manually?
Approved apps not installing
Approved apps not installing
approved apps.png (67.61 KiB) Viewed 6477 times

PL-MSTech
Posts: 70
Joined: Mon Jul 31, 2023 10:07 pm
1

Re: C4A groups no populating

Post by PL-MSTech »

And how do we fix the multiple apps?
Multiple apps on all clients
Multiple apps on all clients
massupdate.png (25.47 KiB) Viewed 6476 times

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: C4A groups no populating

Post by Cubert »

PL-MSTech wrote: Sat Dec 21, 2024 5:57 pm And how do we fix the multiple apps?

massupdate.png
I have found and resolved this issue in 3.7.0.5. The clientID was not being passed to the query accuratly, The field would fill up with each clients approved packages instead of just the client being managed.

This has been corrected.

You system should update tonight.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: C4A groups no populating

Post by Cubert »

I've added a plethera of agent logging to our processes which will write out under the agent log viewer. As agents move through the system, they will report their steps in the logs.


I've also updated the approved application process.

When you use the global installer or removal tool, it will add or substract the active status of the approved application under each "Enabled" client. If the agents under these clients are online, they will receive a command to install or remove the package. If agents are offline when command is given, They will have their EDFs modified so upon their return to online status, the Auto Install applications functions will kick in and install the missing "approved" apps.

If you make adjustments to the client approved apps area, especially when approving new apps after the auto install apps functions have completed and the EDF "Approved Applications Installed" has been checked. You will need to toggle the "Auto Install Approved Applications" check box under the client console to off, allow it to complete the off process and then , back to on again. This will cause all agent to reset for both Auto Install Applications and Approved Applications Installed EDFs.

This will reset the client and cause Auto Install Approved Applications function to retest all agents for the currently approved application under client. If any are missing, it will install them. Afterwards it will reset the "Approved Applications Installed" EDF.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: C4A groups no populating

Post by Cubert »

I've updated the Chocolatey Deployment function. Now when testing for Chocolatey and Chocolatey is found, we force an update at that time instead of waiting for the update functions to take care of it. It should also log more data to agent logs letting you know what it found and what i's doing during Chocolatey Deployements.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: C4A groups no populating

Post by Cubert »

PL-MSTech wrote: Sat Dec 21, 2024 1:08 am Ok, I am gaining ground... remoted to a machine and tried "choco upgrade chocolatey -y" as well as force, etc.
I got:
"ERROR: The requested operation cannot be performed on a file with a user-mapped section open."
Checked all processes and Bitdefender logs as well as all dashboards, alerts, blocks, etc. in the Gravityzone console.... zero errors... I did however, make an exception in the Bitdefener policy for the programdata\chocolatey folder. and voila -- it installed.
I made a global exclusion in Bitdefender and applied it to all client machines for the chocolatey folder.
Manually issued a command in Screenconnect to all client machines to upgrade chocolatey and it seemed to work except for max connections to repository on sites w/o a cache server.
NOW... machines seem to be updating... I will check them tomorrow.

Apparently Bitdefender had some files (dlls?? or script ability) blocked or locked in the chocolatey folder, but there was not "action" to see anywhere where it was actively blocking the upgrade, etc.
I suspected that it had to be something in my environment... but didn't know where to look... this is where perhaps a detailed support log would indicated to you what to have me try or look at....?
Antivirus will do it!

PL-MSTech
Posts: 70
Joined: Mon Jul 31, 2023 10:07 pm
1

Re: C4A groups no populating

Post by PL-MSTech »

Can you make the EDF for "Approved Applications Installed" automatically toggle off-on any time the script notices that adjustments have been made to the client approved apps? It seems that this may be commonly overlooked, especially if adding apps globally.
Plus, with several plugins and many clients, it takes some time to open each and every one to toggle that setting off then on again.

I was hoping that the Bitdefender exception would be the golden ticket to make everything work, but no such luck... maybe the manual toggle of the above mentioned field, along with your update will help.

PL-MSTech
Posts: 70
Joined: Mon Jul 31, 2023 10:07 pm
1

Re: C4A groups no populating

Post by PL-MSTech »

Updated, reloaded remote agent plugins, restarted IIS, restarted Automate as admin... still an issue...
Mass Install Applications still duplicated in 3.7.0.4
Mass Install Applications still duplicated in 3.7.0.4
23.12.2024_13.54.34_REC.png (123.01 KiB) Viewed 6434 times

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: C4A groups no populating

Post by Cubert »

Yes, Its not til 3.7.0.5,

https://delivery.shopifyapps.com/-/4c9a ... 0f71398b76

ReadMe.txt ->
---3.7.0.4---
Added a lot of logging to agent actions that will show up in agent logs.
Update the Global installer function to approve the package provide in the client approve list.
Improved the Update function to speed up processing and added logging to agent logs.


---3.7.0.5---
Fixed issue with Client installer pulling packages from all clients to populate the apps list instead of just for the client under management.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: C4A groups no populating

Post by Cubert »

PL-MSTech wrote: Mon Dec 23, 2024 7:33 pm Can you make the EDF for "Approved Applications Installed" automatically toggle off-on any time the script notices that adjustments have been made to the client approved apps? It seems that this may be commonly overlooked, especially if adding apps globally.
Plus, with several plugins and many clients, it takes some time to open each and every one to toggle that setting off then on again.

I was hoping that the Bitdefender exception would be the golden ticket to make everything work, but no such luck... maybe the manual toggle of the above mentioned field, along with your update will help.

Sure can, I will add that in on build 3.7.0.6 > Any time a positive change takes place with the client Approved Apps list, If, Auto Install Applications is checked for the client, I will reset all agents Approved Applications Installed EDF to zero. This will casue all agents under client to rejoin the Auto Install group and will redeploy any missing approved application.

Post Reply

Return to “Chocolatey For Automate”