Install Software from Repo Cache is empty

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.
Uniwan-Etienne
Posts: 1
Joined: Fri Apr 15, 2022 10:13 am
1

Install Software from Repo Cache is empty

Post by Uniwan-Etienne »

Hi,

We are new to this plugin but so far, we've been able to
- Enable packages globally
- Scan agents for packages, the "managed applications" list is filled with what's installed on the device
- Set the cache location
- Update the cache from a caching agent : the cache folder is filled with all the enabled package

But when we want to use the "Install Software from Repo Cache", on right-click menu on an agent, the list of "Enabled Software" is empty thus we can't select any software to install from cache.
Even when we execute it on the caching agent, the list is empty.
2022-04-15_12-19-20.png
2022-04-15_12-19-20.png (14.01 KiB) Viewed 2441 times
What are we missing and what could cause this list to be empty ?

Thanks

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

Re: Install Software from Repo Cache is empty

Post by Cubert »

As I was writing this post, I was reviewing our code base to provide a query example to assist in troubleshooting and I stumbled across the issue your seeing now.

So good new is, yeap your are right there is a problem and the fix is being posted now for tonight's auto updates.

If you want the fix sooner it will be available via our web portal in about 1/2 hour. You can download and update the plugin manually is desired.

Thanks for bring this to our attention.

Uniwan-RDE
Posts: 8
Joined: Fri Apr 22, 2022 11:59 am
1

Re: Install Software from Repo Cache is empty

Post by Uniwan-RDE »

Hello,

Thank you for the fix.
Unfortunately we were not able to test it yet.
The plugin is up-to-date to version 3.5.0.4 on the server side but stays on the 3.5.0.3 when we launch the Automate client.

We tried to delete de .dll from the local cache but it keeps re-download the 3.5.0.3 version.

We wanted to try to override the local .dll on the client side but we didn't receive any confirmation link with download links and we can't find those links on the website neither.

Can you help ?

Thank you.


Regards,
Attachments
2022-04-22_14h13_04.png
2022-04-22_14h13_04.png (602.28 KiB) Viewed 2415 times

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

Re: Install Software from Repo Cache is empty

Post by Cubert »

What is the version number of your ActiveDriectory plugin in the plugin manager? Is it also 3.5.0.3? You might have a duplicate plugin over written if you are seeing 2 or more Bitlocker tabs in any one client.

Next if server shows 3.5.0.4 but control center shows 3.5.0.3 do the following.


Close the control center, Navigate to C:\ProgramData\Labtech Plugins\ and delete all folders listed under this directory. No worries they will be replaced on next login of Control Center.


Now log back into control center and let it rebuild the DLL files here.

Retest the versions and see if you are now seeing the correct build number.

Uniwan-RDE
Posts: 8
Joined: Fri Apr 22, 2022 11:59 am
1

Re: Install Software from Repo Cache is empty

Post by Uniwan-RDE »

Hello Cubert,

The version of the ActiveDirectory plugin is 1.9.2009.1.
We don't have any other plugin in version 3.5.0.3 or 3.5.0.4.

Version shown in the plugin manager is 3.5.0.4.
Version shown in the Chocolatey For Automate Plugin is 3.5.0.3

We already tried to close the Client, empty the directory C:\ProgramData\Labtech Plugins\ and relaunch the client.
The .dll plugin files are indeed downloaded again at launch but the file "ChocolateyforAutomate.dll" stills stays in the version 3.5.0.3.

I attached all the screenshots to reflects the situation.
Do you need more informations ?

Thank you.
Attachments
3.png
3.png (14.69 KiB) Viewed 2398 times
2.png
2.png (59.8 KiB) Viewed 2398 times
1.png
1.png (6.36 KiB) Viewed 2398 times

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

Re: Install Software from Repo Cache is empty

Post by Cubert »

See if this fixes that.

https://delivery.shopifyapps.com/-/17e7 ... 95501c5558


Download, unzip, unblock dll, upgrade plugin, restart DBagent, logout and back into Control Center. You know the drill...

Uniwan-RDE
Posts: 8
Joined: Fri Apr 22, 2022 11:59 am
1

Re: Install Software from Repo Cache is empty

Post by Uniwan-RDE »

Hllo Cubert,

Thank you for the new version.
I am happy to see that 3.5.0.5 version is showing up correctly everywhere (control center, plugin, dll).
That is a great news.
Unfortunately, we still have an empty package list in the window that show up when we select "Install Software From Repo Cache" option.
Cache is correctly updated though.

Any idea where could be the issue ?
Let me know if you need any info/data.

Thank you.
Attachments
2022-04-28_15h53_11.png
2022-04-28_15h53_11.png (133.2 KiB) Viewed 2388 times

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

Re: Install Software from Repo Cache is empty

Post by Cubert »

Oh jees!

Called the older version of the table, brain fart!

Here is the fixed version..

https://delivery.shopifyapps.com/-/9fee ... ab4e6f8689

Uniwan-RDE
Posts: 8
Joined: Fri Apr 22, 2022 11:59 am
1

Re: Install Software from Repo Cache is empty

Post by Uniwan-RDE »

Hello Cubert,

Version 3.5.0.6 seems to work like a charm :).
I'll do more tests but so far so good.

Thank you very much for your assistance.
Attachments
2022-04-29_15h19_43.png
2022-04-29_15h19_43.png (31.21 KiB) Viewed 2372 times

Uniwan-RDE
Posts: 8
Joined: Fri Apr 22, 2022 11:59 am
1

Re: Install Software from Repo Cache is empty

Post by Uniwan-RDE »

Hello Cubert,

I did further tests and so far everything seems to work correctly.

I still have a problem I don't know how to solve :
Am I able with this plugin to install a new software on all the agents of one client only ?
I noticed in the Global Application Manager, the per-software option "Install Application Globally" which allows to install the software on every agent.
I also noticed in the Client Application Manager, the "Install software from(Repo Cache | Community Repo)" options which allow to install the software on only one agent.
But I don't see how can I deploy a new software on all the agents (or even several) of one client only.
I guess could send the "choco install -y XXX" command through Automate directly (not the choco plugin) and once the software will be installed, the plugin should be able to manage it as this software is present in the list of managed application.

Could you confirm this is the way to go ?

Thank you.


Regards,

Post Reply

Return to “Chocolatey For Automate”