[SOLVED] Business -> Discovery

Questions about WAPT Server / Requests and help related to the WAPT server
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
jmarchand
Messages: 8
Registration: Sep 23, 2023 - 10:28 p.m.

February 26, 2024 - 4:27 PM

Good morning,

I upgraded yesterday from 2.4.x to 2.5.4.15342

Server: Linux Debian 12
Console: Windows 10 and 2019

I think I've lost Enterprise mode.
I removed/reloaded my license. It is recognized, but I get the following:

Code: Select all

root@wapt:/opt/wapt#  wapt-get waptwua-scan
Using config file: /opt/wapt/wapt-get.ini
FATAL ERROR : Exception: waptwua is not available on this computer. Enterprise feature only
root@wapt:/opt/wapt# 
Same from a Windows machine where the console is located.

The wapt-get.ini file was empty in version 2.4 and remained so in version 2.5.
I added:

Code: Select all

root@wapt:/opt/wapt# cat /opt/wapt/wapt-get.ini
[global]

[waptwua]
enabled = True
default_allow = False
direct_download = False
download_scheduling = 7d
install_at_shutdown = True
install_scheduling = 12h
install_delay = 3d
That changes nothing.

Any ideas?

Best regards,

Joel Marchand
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 28, 2024 - 4:37 PM

Hi Joël,

did you successfully run the postconf and accept the nginx file update? There are some changes to the nginx file regarding access to the license file.

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
jmarchand
Messages: 8
Registration: Sep 23, 2023 - 10:28 p.m.

February 29, 2024 - 09:58

Hello,

Ah, thank you very much!

Yes, I hadn't answered YES to the Nginx configuration update suggestion.

I just restarted the postconf tool and that solved my problem.

The only downside was that the new Nginx configuration generated by postconf pointed to the private key pair, and no longer to the public certificate key pair I had set. But anyway, a simple manual modification fixed everything.

Thanks again.

Best regards,

Joel Marchand
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 29, 2024 - 12:01

Hi Joël,

thanks for the feedback. As WAPT evolves, the nginx configuration changes, and we don't really have a good solution for managing configuration modifications that sysadmins might have made on their machines outside of WAPT.

The files are saved with each modification, which makes it easy to apply any changes you might have made.

In a future version, we will remove the YES/NO question and force the file update, while also displaying a message if the file has been modified, indicating that the changes will need to be applied manually.

I'm marking this topic as RESOLVED.

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