[GH-ISSUE #682] find_software error #436

Closed
opened 2026-03-02 02:16:20 +03:00 by kerem · 2 comments
Owner

Originally created by @cmiscloni on GitHub (Sep 1, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/682

Server Info

  • OS: Debian 10.9
  • RMM Version : 0.8.2

Installation Method:
Standard

  • Agent version 1.6.1
  • Agent OS: W10

Describe the bug
Error when I try to get a list of agents with a specific software installed

To Reproduce

python manage.py find_software "beats"
Found Beats winlogbeat 7.8.0 (x86_64) installed on xx
Found Beats winlogbeat 7.8.0 (x86_64) installed on xxx
Found Beats winlogbeat 7.6.1 (x86_64) installed on xxx
Found Beats winlogbeat 7.7.1 (x86_64) installed on xxx
Found Beats winlogbeat 7.8.0 (x86_64) installed on xxx
Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx
Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx
Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx
Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx
Traceback (most recent call last):
  File "/rmm/api/tacticalrmm/manage.py", line 21, in <module>
    main()
  File "/rmm/api/tacticalrmm/manage.py", line 17, in main
    execute_from_command_line(sys.argv)
  File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/rmm/api/tacticalrmm/software/management/commands/find_software.py", line 17, in handle
    sw = agent.installedsoftware_set.first().software
AttributeError: 'NoneType' object has no attribute 'software'
Originally created by @cmiscloni on GitHub (Sep 1, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/682 Server Info - OS: Debian 10.9 - RMM Version : 0.8.2 Installation Method: Standard - Agent version 1.6.1 - Agent OS: W10 Describe the bug Error when I try to get a list of agents with a specific software installed To Reproduce ``` python manage.py find_software "beats" Found Beats winlogbeat 7.8.0 (x86_64) installed on xx Found Beats winlogbeat 7.8.0 (x86_64) installed on xxx Found Beats winlogbeat 7.6.1 (x86_64) installed on xxx Found Beats winlogbeat 7.7.1 (x86_64) installed on xxx Found Beats winlogbeat 7.8.0 (x86_64) installed on xxx Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx Found Beats winlogbeat 7.8.0 (x86_64) installed on xxxx Traceback (most recent call last): File "/rmm/api/tacticalrmm/manage.py", line 21, in <module> main() File "/rmm/api/tacticalrmm/manage.py", line 17, in main execute_from_command_line(sys.argv) File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line utility.execute() File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, **cmd_options) File "/rmm/api/env/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, **options) File "/rmm/api/tacticalrmm/software/management/commands/find_software.py", line 17, in handle sw = agent.installedsoftware_set.first().software AttributeError: 'NoneType' object has no attribute 'software' ```
kerem 2026-03-02 02:16:20 +03:00
  • closed this issue
  • added the
    bug
    fixed
    labels
Author
Owner

@wh1te909 commented on GitHub (Sep 4, 2021):

fixed, will be in next release (or you can manually edit the file and apply changes then re-run the management command, see github.com/wh1te909/tacticalrmm@e44453877c)

<!-- gh-comment-id:913048595 --> @wh1te909 commented on GitHub (Sep 4, 2021): fixed, will be in next release (or you can manually edit the file and apply changes then re-run the management command, see https://github.com/wh1te909/tacticalrmm/commit/e44453877c66a428cbd174f0935fb2e7fc332e6b)
Author
Owner

@wh1te909 commented on GitHub (Sep 6, 2021):

added in release 0.8.3

<!-- gh-comment-id:913502600 --> @wh1te909 commented on GitHub (Sep 6, 2021): added in release 0.8.3
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#436
No description provided.