WAPT Console Migration

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
djedje68
Messages: 9
Registration: December 16, 2019 - 1:02 PM

January 15, 2020 - 10:22

Good morning,

I had to migrate my WAPT console to another computer.
Since then, I haven't been able to complete the installations. I get the following error:

Code: Select all

Installing 724B117C-76F4-4BD3-94CA-CCB43094EC59(=4)

Installing 724B117C-76F4-4BD3-94CA-CCB43094EC59(=4)

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1711, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 559, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1017, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'724B117C-76F4-4BD3-94CA-CCB43094EC59(=4)']: erreurs dans les paquets [[PackageRequest(package=u'724B117C-76F4-4BD3-94CA-CCB43094EC59',version=(Version('4.0.0.0'), None),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('10.0.18362'),max_os_version=Version('10.0.18362')), PackageEntry(u'724B117C-76F4-4BD3-94CA-CCB43094EC59',u'4' ), u'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4855, in install\n    force=force\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3934, in install_wapt\n    raise e\nEWaptUnavailablePackage: Missing dependencies: xxxx-7zip\n']]

Exception: Erreur lors de l'installation de [u'724B117C-76F4-4BD3-94CA-CCB43094EC59(=4)']: erreurs dans les paquets [[PackageRequest(package=u'724B117C-76F4-4BD3-94CA-CCB43094EC59',version=(Version('4.0.0.0'), None),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('10.0.18362'),max_os_version=Version('10.0.18362')), PackageEntry(u'724B117C-76F4-4BD3-94CA-CCB43094EC59',u'4' ), u'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4855, in install\n    force=force\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3934, in install_wapt\n    raise e\nEWaptUnavailablePackage: Missing dependencies: xxxx-7zip\n']]
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1711, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 559, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1017, in _run
    self.result.get('errors',[])))
Exception: Erreur lors de l'installation de [u'724B117C-76F4-4BD3-94CA-CCB43094EC59(=4)']: erreurs dans les paquets [[PackageRequest(package=u'724B117C-76F4-4BD3-94CA-CCB43094EC59',version=(Version('4.0.0.0'), None),architectures=[u'x64'],locales=['fr'],maturities=[u'PROD'],min_os_version=Version('10.0.18362'),max_os_version=Version('10.0.18362')), PackageEntry(u'724B117C-76F4-4BD3-94CA-CCB43094EC59',u'4' ), u'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4855, in install\n    force=force\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3934, in install_wapt\n    raise e\nEWaptUnavailablePackage: Missing dependencies: xxxx-7zip\n']]
I don't really know how to do it, how to migrate, etc...

I regenerated a new agent, etc... but it doesn't work.

I missed something but I don't know what.

Thank you in advance
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 15, 2020 - 10:55 AM

Can you verify that 7zip is in the correct architecture for your machine in the private repository?
djedje68
Messages: 9
Registration: December 16, 2019 - 1:02 PM

January 15, 2020 - 10:57

Hello,

Thank you for the feedback,

I checked, it's OK.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 15, 2020 - 11:22

The WAPT agent reports

`raise e\nEWaptUnavailablePackage: Missing dependencies: xxxx-7zip`.

This means it's being asked to install 7-Zip, but the 7-Zip package is not found for the machine.

Several scenarios are possible:

- The package is not available for the machine's architecture

- The package's minimum and maximum OS versions are not compatible with the machine

. - The package's language is not compatible with the machine's language.

- The package's maturity level is not available for this machine.

- The WAPT package is not signed with a key accepted by the machine.

When you "Migrate console," did you keep the existing key and not generate a new one?
djedje68
Messages: 9
Registration: December 16, 2019 - 1:02 PM

January 15, 2020 - 11:37

Several scenarios are possible:

- The package is not available for the machine's architecture.

- The package's minimum and maximum OS versions are not compatible with the machine.

- The package's language is not compatible with the machine's language.

- The package's maturity level is not available for this machine.

- The WAPT package is not signed with a key accepted by the machine.

When you selected "Migrate console," did you keep the existing key and not generate a new one?
I generated a new key, but I still have the old key... Do I just need to move it to my "private" folder?
I think it's really a question of the key because the rest is fine.
djedje68
Messages: 9
Registration: December 16, 2019 - 1:02 PM

January 15, 2020 - 1:01 PM

I can only install packages I've recently imported.
I have to remove, for example, 7-Zip, Firefox, etc., from my private repository, re-import them, and then the installation works.

Where did I go wrong?
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

January 15, 2020 - 2:32 PM

djedje68 wrote: Jan 15, 2020 - 1:01 PM I can only install packages I've recently imported.
I have to delete, for example, 7zip, Firefox, etc. from my private repository, re-import them, and then the installation works.

Where did I go wrong?
As you wrote, you regenerated a key. I imagine that you then somehow deployed the new certificate to your network and removed the old certificate (perhaps deployed an update to your WAPT agents?).

Therefore, the new packages signed with the new key are deployed and installed because the agent recognizes the new key.

Consequently, older packages in your repository, signed with the old key, continue to be served by the server because updates are based on version numbers, but these upgrades are no longer triggered because the execution of a package takes place after the certificate has been properly verified.

This operation is compliant.

WAPT still works really well :D

Sincerely.

Vincent
Vincent CARDON
Tranquil IT
Locked