[GH-ISSUE #1509] Chocolatey Installations stopped working? #2885

Closed
opened 2026-03-14 05:49:45 +03:00 by kerem · 9 comments
Owner

Originally created by @BananamanCoolDude on GitHub (May 11, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1509

Server Info (please complete the following information):

  • OS: [e.g. Ubuntu 20.04, Debian 10] : Ubuntu 20.04.6
  • Browser: [e.g. Chrome, safari]: Chrome, firefox
  • RMM Version (as shown in the top left of web UI): v0.15.11

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI):
  • Agent OS: [e.g. Win 10 v2004, Server 2012 R2]

Describe the bug
Recently noticed that Chocolatey installations don't work anymore, maybe someone has a fix? Tried to deploy multiple targets Winrar and Notepad++, and Python Message appears but nothing is being installed. Ideas?

To Reproduce
Steps to reproduce the behavior:

  1. Go to Software
  2. Click on + Install software
  3. Search for Winrar
  4. yes to install

Expected behavior
Installation to happen. But nothing happens at all...

Screenshots
image

Originally created by @BananamanCoolDude on GitHub (May 11, 2023). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1509 **Server Info (please complete the following information):** - OS: [e.g. Ubuntu 20.04, Debian 10] : Ubuntu 20.04.6 - Browser: [e.g. Chrome, safari]: Chrome, firefox - RMM Version (as shown in the top left of web UI): v0.15.11 **Installation Method:** - [ ] Standard - [x] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): - Agent OS: [e.g. Win 10 v2004, Server 2012 R2] **Describe the bug** Recently noticed that Chocolatey installations don't work anymore, maybe someone has a fix? Tried to deploy multiple targets Winrar and Notepad++, and Python Message appears but nothing is being installed. Ideas? **To Reproduce** Steps to reproduce the behavior: 1. Go to Software 2. Click on + Install software 3. Search for Winrar 4. yes to install **Expected behavior** Installation to happen. But nothing happens at all... **Screenshots** ![image](https://github.com/amidaware/tacticalrmm/assets/102809616/db5b3aa3-06f7-43cd-951a-309c9569fb04)
kerem closed this issue 2026-03-14 05:49:50 +03:00
Author
Owner

@silversword411 commented on GitHub (May 12, 2023):

Works here with latest. Your agent has to be online at the time of install. You can see the status of the task in right click pending agent actions

2023-05-11_201453 - brave_Tactical_RMM_-_Brave

2023-05-11_201440 - brave_Tactical_RMM_-_Brave

Are you seeing something different, please provide screenshots

<!-- gh-comment-id:1544922686 --> @silversword411 commented on GitHub (May 12, 2023): Works here with latest. Your agent has to be online at the time of install. You can see the status of the task in right click pending agent actions ![2023-05-11_201453 - brave_Tactical_RMM_-_Brave](https://github.com/amidaware/tacticalrmm/assets/13395348/d29b2bbb-f9eb-4e3e-a1ae-ae34eed21fba) ![2023-05-11_201440 - brave_Tactical_RMM_-_Brave](https://github.com/amidaware/tacticalrmm/assets/13395348/b45c0746-cb90-4092-88a9-15757b22a966) Are you seeing something different, please provide screenshots
Author
Owner

@BananamanCoolDude commented on GitHub (May 12, 2023):

image

All Actions are update related automations. :(

<!-- gh-comment-id:1545321367 --> @BananamanCoolDude commented on GitHub (May 12, 2023): ![image](https://github.com/amidaware/tacticalrmm/assets/102809616/d37a6cfc-c169-4baf-9384-239730c6c541) All Actions are update related automations. :(
Author
Owner

@silversword411 commented on GitHub (May 12, 2023):

Ok....you'll need to provide better context than that.

<!-- gh-comment-id:1545347867 --> @silversword411 commented on GitHub (May 12, 2023): Ok....you'll need to provide better context than that.
Author
Owner

@BananamanCoolDude commented on GitHub (May 12, 2023):

All of the agents are online at the point of running installation. Pending actions does not display anything related to installations only Automated updates happening.

<!-- gh-comment-id:1545372259 --> @BananamanCoolDude commented on GitHub (May 12, 2023): All of the agents are online at the point of running installation. Pending actions does not display anything related to installations only Automated updates happening.
Author
Owner

@BananamanCoolDude commented on GitHub (May 12, 2023):

image

<!-- gh-comment-id:1545373475 --> @BananamanCoolDude commented on GitHub (May 12, 2023): ![image](https://github.com/amidaware/tacticalrmm/assets/102809616/359f2ad2-418b-463b-905f-890d13bfe917)
Author
Owner

@silversword411 commented on GitHub (May 12, 2023):

You're a stock install?

Follow the pictures.
Right-click agent
Pending agent actions
Choose show completed if it wasn't already showing

<!-- gh-comment-id:1546094702 --> @silversword411 commented on GitHub (May 12, 2023): You're a stock install? Follow the pictures. Right-click agent Pending agent actions Choose show completed if it wasn't already showing
Author
Owner

@BananamanCoolDude commented on GitHub (May 15, 2023):

That's interesting..

image

<!-- gh-comment-id:1547349041 --> @BananamanCoolDude commented on GitHub (May 15, 2023): That's interesting.. ![image](https://github.com/amidaware/tacticalrmm/assets/102809616/f0f5ac46-65a3-4ee8-aa4b-1903e477a958)
Author
Owner

@BananamanCoolDude commented on GitHub (May 15, 2023):

No idea why it cannot find Chocolateley on some devices, any idea how to deploy installation via the cmd line?

<!-- gh-comment-id:1547543552 --> @BananamanCoolDude commented on GitHub (May 15, 2023): No idea why it cannot find Chocolateley on some devices, any idea how to deploy installation via the cmd line?
Author
Owner

@silversword411 commented on GitHub (May 16, 2023):

Installing using chocolatey install docs with something like

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
pause

Might do it. But you might actually be having problems with buggy windows environment variables

https://docs.tacticalrmm.com/troubleshooting/#executable-file-not-found-in-path

<!-- gh-comment-id:1549902020 --> @silversword411 commented on GitHub (May 16, 2023): Installing using chocolatey install docs with something like ```bat @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" pause ``` Might do it. But you might actually be having problems with buggy windows environment variables https://docs.tacticalrmm.com/troubleshooting/#executable-file-not-found-in-path
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2885
No description provided.