[GH-ISSUE #828] Blank disk list in Summary #2469

Closed
opened 2026-03-14 04:08:22 +03:00 by kerem · 13 comments
Owner

Originally created by @silversword411 on GitHub (Nov 26, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/828

Originally assigned to: @wh1te909 on GitHub.

Have a machine with 7 Disks, but the disk list is blank.

Buffer overflow?

2021-11-26_145226 - trmm disks

Originally created by @silversword411 on GitHub (Nov 26, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/828 Originally assigned to: @wh1te909 on GitHub. Have a machine with 7 Disks, but the disk list is blank. Buffer overflow? ![2021-11-26_145226 - trmm disks](https://user-images.githubusercontent.com/13395348/143625209-fc340b61-5bfb-4ba5-8a83-1e5791ff0f2e.png)
kerem 2026-03-14 04:08:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@wh1te909 commented on GitHub (Nov 27, 2021):

I just simulated 7 disks and it shows up properly. Most probably that agent is having issues getting the list of disks. please check in django admin, Agents > Agents and click on the agent hostname then look for the "Disks" field. it might be empty. if so then run the tacticalrpc service in debug mode on the agent, then from summary tab on web UI click the refresh button and send me the full output from the agent

<!-- gh-comment-id:980484879 --> @wh1te909 commented on GitHub (Nov 27, 2021): I just simulated 7 disks and it shows up properly. Most probably that agent is having issues getting the list of disks. please check in django admin, Agents > Agents and click on the agent hostname then look for the "Disks" field. it might be empty. if so then run the tacticalrpc service in debug mode on the agent, then from summary tab on web UI click the refresh button and send me the full output from the agent
Author
Owner

@silversword411 commented on GitHub (Nov 27, 2021):

Well...it started with

2021-11-26_224651 - brave_screamer__Change_agent__Django_site_admin_-_Brav

and then refreshing with debug made all the disks appear. Computers #ShakesHead

<!-- gh-comment-id:980496318 --> @silversword411 commented on GitHub (Nov 27, 2021): Well...it started with ![2021-11-26_224651 - brave_screamer__Change_agent__Django_site_admin_-_Brav](https://user-images.githubusercontent.com/13395348/143667114-1bb0795c-5409-449a-89dc-230d74024b22.png) and then refreshing with debug made all the disks appear. Computers #ShakesHead
Author
Owner

@silversword411 commented on GitHub (Nov 28, 2021):

So apparently it will work fine in debug mode, but not running from standard service.

Completely uninstall tactical agent and reinstalled. No difference.

Tried changing the service to log in debug mode when started from service interface (so running as local system with no service interact with desktop) that didn't work

2021-11-28_134459 - regedit_Registry_Editor

Any other ideas to try?

<!-- gh-comment-id:981132551 --> @silversword411 commented on GitHub (Nov 28, 2021): So apparently it will work fine in debug mode, but not running from standard service. Completely uninstall tactical agent and reinstalled. No difference. Tried changing the service to log in debug mode when started from service interface (so running as local system with no service interact with desktop) that didn't work ![2021-11-28_134459 - regedit_Registry_Editor](https://user-images.githubusercontent.com/13395348/143781618-25d79983-6d80-40b8-9fa8-9969ac0bf6bb.png) Any other ideas to try?
Author
Owner

@silversword411 commented on GitHub (Nov 28, 2021):

I started checking a little more, thought it was just my PC...but I've found 9 different machines with all different kinds of disk configurations/controllers etc.

Can't find anything consistent between any of them.
Running in debug mode with "C:\Program Files\TacticalAgent\tacticalrmm.exe" -m rpc -log debug -logto stdout it starts working. Stopping that, and just running the regular service and the disk config disappears.

Side effect from the coloring of the bar graphs? github.com/wh1te909/tacticalrmm@b6f8d9cb25

<!-- gh-comment-id:981150187 --> @silversword411 commented on GitHub (Nov 28, 2021): I started checking a little more, thought it was just my PC...but I've found 9 different machines with all different kinds of disk configurations/controllers etc. Can't find anything consistent between any of them. Running in debug mode with `"C:\Program Files\TacticalAgent\tacticalrmm.exe" -m rpc -log debug -logto stdout` it starts working. Stopping that, and just running the regular service and the disk config disappears. Side effect from the coloring of the bar graphs? https://github.com/wh1te909/tacticalrmm/commit/b6f8d9cb256588ec3a3f1e69d8bc15fe328d3bde
Author
Owner

@wh1te909 commented on GitHub (Nov 29, 2021):

please replace tacticalrmm.exe in prog files with the attached file (stop both services first)
then to edit the service parameters you have to use nssm, see screenshot below.
just add -log debug to the arguments field and the start the service
then refresh the summary tab and it should log everything to the agent.log file, please send me that

nssm1

tacticalrmm-debug.zip

<!-- gh-comment-id:981897905 --> @wh1te909 commented on GitHub (Nov 29, 2021): please replace `tacticalrmm.exe` in prog files with the attached file (stop both services first) then to edit the service parameters you have to use nssm, see screenshot below. just add `-log debug` to the arguments field and the start the service then refresh the summary tab and it should log everything to the `agent.log` file, please send me that ![nssm1](https://user-images.githubusercontent.com/7434746/143921914-ad8b2e32-9087-439c-bae2-da5c00139a8f.png) [tacticalrmm-debug.zip](https://github.com/wh1te909/tacticalrmm/files/7620319/tacticalrmm-debug.zip)
Author
Owner

@silversword411 commented on GitHub (Dec 7, 2021):

We found the problem...it was Google Drive fake g: being mounted from user context.

<!-- gh-comment-id:988092482 --> @silversword411 commented on GitHub (Dec 7, 2021): We found the problem...it was Google Drive fake g: being mounted from user context.
Author
Owner

@silversword411 commented on GitHub (May 10, 2022):

Note to self: This also has the side-effect of not being able to create checks for low disk space as well, test that when fixed

https://discord.com/channels/736478043522072608/921073571344830494

<!-- gh-comment-id:1122593497 --> @silversword411 commented on GitHub (May 10, 2022): Note to self: This also has the side-effect of not being able to create checks for low disk space as well, test that when fixed https://discord.com/channels/736478043522072608/921073571344830494
Author
Owner

@silversword411 commented on GitHub (Aug 28, 2023):

@wh1te909 Reminder: Switching between python and go to detect drive letters was how we worked around it back in 2021 :)

<!-- gh-comment-id:1695506477 --> @silversword411 commented on GitHub (Aug 28, 2023): @wh1te909 Reminder: Switching between python and go to detect drive letters was how we worked around it back in 2021 :)
Author
Owner

@silversword411 commented on GitHub (Jan 9, 2024):

I wonder if we can filter the Disk list to only physical/USB and then return that data as a workaround.

<!-- gh-comment-id:1882798166 --> @silversword411 commented on GitHub (Jan 9, 2024): I wonder if we can filter the Disk list to only physical/USB and then return that data as a workaround.
Author
Owner

@cloud303-cdedrick commented on GitHub (Nov 19, 2024):

@wh1te909 Is there any update on this? We are trying to role to our company but many of the users have Google Drive installed.

<!-- gh-comment-id:2486658407 --> @cloud303-cdedrick commented on GitHub (Nov 19, 2024): @wh1te909 Is there any update on this? We are trying to role to our company but many of the users have Google Drive installed.
Author
Owner

@volkswagner commented on GitHub (Dec 7, 2024):

I'm seeing the same symptom when client PC has Google Drive mounted. Sometimes the C: drive will show up under disks, typically immediately after reboot or forcing disk check in RMM. (but not always).
RMM server .20.0
Client version 2.8.0

<!-- gh-comment-id:2525198291 --> @volkswagner commented on GitHub (Dec 7, 2024): I'm seeing the same symptom when client PC has Google Drive mounted. Sometimes the C: drive will show up under disks, typically immediately after reboot or forcing disk check in RMM. (but not always). RMM server .20.0 Client version 2.8.0
Author
Owner

@AdelantiaDev commented on GitHub (Jan 27, 2025):

@wh1te909 Is there any update on this? Or planned to fix?

<!-- gh-comment-id:2617003484 --> @AdelantiaDev commented on GitHub (Jan 27, 2025): @wh1te909 Is there any update on this? Or planned to fix?
Author
Owner

@wh1te909 commented on GitHub (Apr 21, 2025):

fix will be in the next release

<!-- gh-comment-id:2819453239 --> @wh1te909 commented on GitHub (Apr 21, 2025): fix will be in the next release
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#2469
No description provided.