[SOLVED] WAPT issue: update-package

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
Locked
Maggle
Messages: 7
Registration: March 20, 2024 - 2:22 PM

July 11, 2024 - 09:04

Good morning,

I recently updated my WAPT server to the latest version 2.5.5.X.

Since then, when I modify a package with PyScripter and do a "WAPT: update-package", there is no error or anything, but the package does not update with my modifications and the version in the control file does not increment.
WAPT_incident.png
WAPT_incident.png (8.96 KB) Viewed 4827 times
It doesn't ask me for my certificate password or the admin account password for the console.

I'm not sure what could have changed, whether it's related to the update or my computer. I did install the latest version of the agent on my machine.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 11, 2024 - 11:07

Hi Mathieu,

I think the command you're looking for is `build-upload`. `update-package-sources` is used to download a new version of the software, but there's no new version in the case of the `audit-local-admin` package, which only performs auditing.

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
Maggle
Messages: 7
Registration: March 20, 2024 - 2:22 PM

July 18, 2024 - 4:43 PM

Good morning,

Indeed, that must not be the correct command being used. I'm using PyScripter and I only have this:
Wapt1.png
Wapt1.png (12.48 KB) Viewed 4563 times
In my Run Configurations I don't have a build-upload option.

So I did a Run Configuration like this, with a build-upload -i to increment the package version:
Wapt2.png
Wapt2.png (17.46 KB) Viewed 4563 times
And when it starts, it doesn't prompt me with a popup to enter my private key and then the console password:
Wapt3.png
Wapt3.png (10.12 KB) Viewed 4556 times
I'm not really sure what I did to my console.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 23, 2024 - 6:02 PM

Hi Mathieu,

we had quite a few calls regarding the build-upload feature in PyScripter due to the different execution contexts and authentication options [1]. We've removed it, and the new method is simply to have a console open and drag-and-drop the package onto the private repository (or to enable the package development tab in the view and use the functions there).

Regards,

Denis

[1] viewtopic.php?p=13957&hilit=build+upload#p13957
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
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 25, 2024 - 09:37

Hi Mathieu,

were you able to manage with my instructions?

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
Locked