Page 1 of 1

Rustdesk Problem - Agent Configuration Deployment

Published: March 27, 2025 - 3:16 PM
by pbodin
Hello everyone,

New to software deployment via Wapt; I would like to be able to deploy rustdesk with the configuration of the server ID, relay server, key and possibly the whitelist.

I tried to set up the Wapt template configuration for Rustdesk, following the topic viewtopic.php?t=4191.

However, when I get to the JSON configuration stage, I get an error status (see screenshot)

Full message:

Code: Select all

CRITICAL:waptcore:Fatal error in update_package  NameError: name 'ID_YES' is not defined:
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 8927, in call_python_code
    hookdata = hook_func()
  File "C:\Users\pbodin\AppData\Local\Temp\wapt\JObYSk9_\tav-rustdesk-config-template_14_PROD-wapt\setup.py", line 69, in update_package
    if is_json_config == ID_YES:
NameError: name 'ID_YES' is not defined

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 8931, in call_python_code
    raise e
  File "C:\Program Files (x86)\wapt\common.py", line 8927, in call_python_code
    hookdata = hook_func()
  File "C:\Users\pbodin\AppData\Local\Temp\wapt\JObYSk9_\tav-rustdesk-config-template_14_PROD-wapt\setup.py", line 69, in update_package
    if is_json_config == ID_YES:
NameError: name 'ID_YES' is not defined 
Thank you in advance for your help.


My version of Wapt: WAPTConsole Enterprise version 2.6.0.16937

Re: Rustdesk Problem - Agent Configuration Deployment

Published: March 27, 2025 - 3:55 PM
by sfonteneau
Hello

, you are currently using version 14. A new version (version 25) is now available: https://wapt.tranquil.it/store/fr/tis-r ... g-template . It should fix this problem.

Simon

Re: Rustdesk Problem - Agent Configuration Deployment

Published: March 27, 2025 - 5:21 PM
by pbodin
My bad :-) ... I updated the package and I was indeed able to add my custom information. I'll do a live test tomorrow.
Thanks for your quick reply.
And regarding whitelists, is there a way to incorporate them into the configuration as well?

Re: Rustdesk Problem - Agent Configuration Deployment

Published: March 28, 2025 - 11:26
by dcardon
Hi Philippe,

no worries, the local upgrade via the wapt console allows for 100% autonomy in updating packages, but it doesn't benefit from the patches released as the software evolves. :-)

Regarding the whitelist, we'll need to figure out how to configure it. If you know how, feel free to post it here; it might be helpful to others!

Best regards,

Denis