HTTP 404 error, wapt package update

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
csinfo78
Messages: 19
Registration: Nov 2, 2015 - 4:10 p.m.

November 12, 2015 - 3:06 PM

Hello,

I've made some progress on my WAPT setup, but I'm still having a few problems.

First, when I try to update the WAPT client on a workstation, I get an HTTP 404 error.
Also, on a client machine, when I type `wapt-get list` in the command line, it says there are no results, even though I do have packages in my private repository.

Could you please give me a hand, as there really isn't much community support for WAPT online?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 12, 2015 - 4:37 PM

Hello,

the "update the WAPT client on a machine" option no longer exists.

This function posed a security risk, so it has been removed. The button, however, is still present.

The client is now updated with the waptupgrade package, which is automatically generated when the waptagent is created.

The error is therefore normal;

`wapt-get list` lists the packages installed on the machine. If nothing is installed, it will display nothing.

https://dev.tranquil.it/wiki/WAPT_-_Uti ... e_commande

Simon
csinfo78
Messages: 19
Registration: Nov 2, 2015 - 4:10 p.m.

November 12, 2015 - 10:19 PM

Thanks for the clarification, Simon.

Indeed, I didn't read the documentation properly.

However, I'm encountering another, more annoying problem: package installation on a client machine isn't working.
When I drag and drop a package and save it, I see a popup on the client machine indicating that the packages are updating, but no packages are actually installed, and the package I'm trying to install doesn't install at all.

The firewall is disabled, and the machine responds to pings from both the console machine and the server.

I can't figure out why this is frustrating, as I'm really close to the end.

Thanks in advance for any help you can offer.
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

November 13, 2015 - 11:39

Which package are you trying to install?

If it's a package you created, try using a package from the public repository.
csinfo78
Messages: 19
Registration: Nov 2, 2015 - 4:10 p.m.

November 13, 2015 - 1:11 PM

I'm trying to install the tis-audacity 2.0.5-1 package on a Windows 7 Pro client machine.
I'm importing from official repositories.

I see the popup on the client machine indicating package updates, but the software doesn't install.
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

November 13, 2015 - 2:30 PM

Try going to the local PC's website, localhost:8088, to see what's going on?
csinfo78
Messages: 19
Registration: Nov 2, 2015 - 4:10 p.m.

November 13, 2015 - 2:44 PM

I don't have any further information.

It doesn't show me the available packages.
However, it does list the tasks performed.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 13, 2015 - 9:04 PM

Hi

Can you try this on the client?

Code: Select all

wapt-get install my-audacity 
* my represents the prefix you chose

This will help us to diagnose it.

Simon
csinfo78
Messages: 19
Registration: Nov 2, 2015 - 4:10 p.m.

November 16, 2015 - 2:35 PM

Here's what the command gives me:

Code: Select all



C:\Users\bob>wapt-get install test-audacity
installing WAPT packages test-audacity

Results :
Critical :
 === Unavailable packages ===
  test-audacity

I downloaded the package from the wapt website, I have the package present in /var/www/wapt, it is the correct size.
My wapt-get.ini file

Code: Select all

[global]
waptupdate_task_period=120
wapt_server=https://192.168.200.47
repo_url=https://192.168.200.47/wapt
use_hostpackages=1
The repository address is easily accessible via a web browser.


EDIT: I don't understand anything anymore, I came across a topic on the wapt forum which encountered the same problem as me.
I started by trying to read the /var/www/wapt/package file which displayed some beautiful hieroglyphs.
I had to restart my server to get a normal display.
After that, I started the apache2 and wapt-server services, which I do every time I start my VM, and magically, the package installation works and all the alerts appear in my console.

My question is, where could this be coming from? My server VM has already been restarted several times before, and that has never solved the problem.

I also tried to extract the file ma-vm.local.wapt from the /var/www/wapt-host folder without success.
I tested it on another machine which is running Windows 10 but it doesn't work; I have the impression that before deploying a package, the ma-vm.wapt package must be installed on the client machine.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 17, 2015 - 12:17

Hello,

all .wapt packages and the Packages file are archives (you can extract them with 7-Zip).

The first package the client will want to install is their machine package:
https://yourwaptip/wapt-host/client'sPCname.wapt.

This package includes a version number and dependencies.

Each time software is added or removed (from the console, for example), this package will be modified to edit the WAPT\control file and add or remove packages in the dependencies section.
The package version will then be incremented to indicate a change in instructions.

Therefore, for you, in the Packages file (once extracted): https://wapt/wapt/Packages,

you should find the complete list of your available software in your private repository: https://wapt/wapt/.
You should also see them in the "Private Repository" section of the console.

From here, if everything is OK, you should be able to run: `wapt-get install test-audacity` on your client.

If not, it's probably because the client can't download https://wapt/wapt/Packages.

Simon
Locked