Can't remove module rustdesk

Hi,

This only happens with rustdesk.
I can’t remove it from the Gui and when I try removing from CLI:

cluster/remove-module

Traceback (most recent call last):
  File "/var/lib/nethserver/cluster/actions/remove-module/50update", line 72, in <module>
    raise ex
  File "/var/lib/nethserver/cluster/actions/remove-module/50update", line 67, in <module>
    raise Exception(f"non-zero exit-code from subtask")
Exception: non-zero exit-code from subtask

cluster/destroy-module
Task ID: Copy to clipboard
8f17406b-09f9-4ad3-91c0-9a260a6e0559
Traceback (most recent call last):
  File "/home/rustdesk2/.config/actions/destroy-module/20destroy", line 30, in <module>
    'instance': os.environ['MODULE_ID'+'-id']
                ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "<frozen os>", line 679, in __getitem__
KeyError: 'MODULE_ID-id'

Any hints?

Thanks,

2 Likes

I had some issues with the currently available rustdesk app, inlcuding getting it removed as a module and the backup and the http route.

remove-module --no-preserve --force rustdesk1 

Seem to have helped, then manually removing the http route and delete old backups.

2 Likes

Thanks for pointing out the bug @jfranco . Release 1.0.2 should be available from Software Center with a fixed uninstall procedure.

4 Likes

Thanks @LayLow
I saw your post but didn’t add --force

This actually did it!
Many thanks!!

3 Likes