Rustdesk Problem - Agent Configuration Deployment

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
pbodin
Messages: 2
Registration: March 27, 2025 - 2:58 PM

March 27, 2025 - 3:16 PM

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
Attachments
2025-03-27 15_04_38-WAPTConsole Enterprise version 2.6.0.16937.png
2025-03-27 15_04_38-WAPTConsole Enterprise version 2.6.0.16937.png (182.61 KB) Viewed 4637 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 27, 2025 - 3:55 PM

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
pbodin
Messages: 2
Registration: March 27, 2025 - 2:58 PM

March 27, 2025 - 5:21 PM

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?
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 28, 2025 - 11:26

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Answer