[RESOLVED] [WAPT-Discovery 2.3.0.13516] Package updates no longer possible (setup.py not allowed in manifest)

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
Locked
fabulousfabs
Messages: 3
Registration: Apr 18, 2023 - 08:52

April 18, 2023 - 09:26

Hello everyone,

For about three weeks now, I've been experiencing a strange problem that doesn't seem to be related to any update (or perhaps the update happened relatively seamlessly) :D)

When I try to update packages on my private repository from the tranquil-it repositories, I encounter the same error message every time:
Errors duplicating package(s):
tis-thunderbird_102.10.0-67_x64_windows_6.1_PROD_fr.wapt: File setup.py is not allowed in manifest of dsin-thunderbird(=102.10.0-67)
This is about Thunderbird, but the error appears regardless of which package I try to update.
I tried reinstalling the console, without effect, and resigning the packages, same result.

I tried some web searches, but "setup.py" returns far too many results unrelated to WAPT, and on this forum "setup.py" doesn't return anything :( If there are already topics on this subject, I'm sorry, I can't find them -.-'

Thank you to everyone who can help me :)

Environment :
WAPT Server: Debian 11 stable with WAPT version 2.3.0.13516.
Administration machine - console: Windows Server 2012R2 with console 2.3.0.13516 rev -69968974

Good day :)
Last edited by fabulousfabs on Apr 18, 2023 - 3:55 PM, edited 1 time.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 18, 2023 - 10:50

Hi Fabien,

it's very likely that the certificate being used is a non-code-signing certificate, which can only be used for configuring machines. We need to find the correct certificate, and that should fix it.

That said, the message isn't very clear; we'll see about making it less cryptic...

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
fabulousfabs
Messages: 3
Registration: Apr 18, 2023 - 08:52

April 18, 2023 - 10:58

dcardon wrote: Apr 18, 2023 - 10:50 AM Hello Fabien,

it's very likely that the certificate being used is a non-code-signing certificate, which can only be used to configure machines. We need to find the correct certificate, and that should fix it.

That said, the message isn't very clear; we'll see about making it less cryptic...

Best regards,

Denis
Hello Denis,
Thanks for your reply.

So, I had a doubt about the keys/certificates used, I tried changing them with the other certificates I had on hand, but the result seemed to be the same with all the ones I had on hand (historical), should I try to recreate a private/public key and certificate pair?
Is there a way to find the "name" of the certificate that the console is expecting?

I'm just asking to make the message less cryptic, do you want me to do something specific to get a snippet of the log or a clearer message?

Thank you again
Fabien
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 18, 2023 - 2:15 PM

Hi Fabien,

to check if the certificate is code-signing or not, you can double-click the .crt file on a Windows machine, and in the certificate window, on the "Details" tab, you can check if "Code-signing" is selected in the "Advanced Key Usage" attribute.

To find out which certificate has been deployed on your network, you can go to an installed agent and check the directory

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
fabulousfabs
Messages: 3
Registration: Apr 18, 2023 - 08:52

April 18, 2023 - 3:55 PM

Hello dcardon, and thank you for your instructions.

Indeed, I didn't have the correct key, neither in C:\program files(x86)\wapt\ssl, nor in C:\program files(x86)\wapt\private, nor even in the old location C:\private.


Luckily, I was able to find the certificate and key I was using in a backup, because for some reason, the files had been deleted from my admin server. Anyway, the problem seems to be solved; the rest has nothing to do with WAPT.

Thanks again, I'm marking this as "solved".
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 18, 2023 - 4:46 PM

Thanks for the feedback, :-)
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
Locked