[SOLVED] Repository Upgrade to 2.7

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
User avatar
guigeek
Messages: 154
Registration: Nov 21, 2017 - 9:21 p.m.

October 2, 2026 - 3:36 PM

Hello,
I updated everything to WAPT 2.7.
I have one server and four remote repositories.
The server updated without any problems.

However, three out of the four repositories encountered an error during the update, with a missing Python file.
I copied the file from the working repository, and everything is back to normal, but I wanted to keep you informed of the problem:

Oct 02 15:22:53 xxx-wapt-repo systemd[1]: waptservice.service: Deactivated successfully.
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: ModuleNotFoundError: No module named 'six'
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: ModuleNotFoundError: No module named 'six'
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: import six
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: File "/opt/wapt/lib/python3.11/site-packages/pam/__internals.py", line 2, in
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: from .__internals import PAM_ACCT_EXPIRED
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: File "/opt/wapt/lib/python3.11/site-packages/pam/__init__.py", line 9, in
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: File "
Oct 02 15:22:53 xxx-wapt-repo waptservice[542]: Traceback (most recent call last):

The missing file was therefore this one: /opt/wapt/lib/python3.11/site-packages/six.py

All the repositories are similar; they are Debian Bookworm. I can't really explain what happened during the update; no error occurred, it was just when the service was launched.

Feel free to ask if you have any other questions.

Have a good day,
Guillaume
User avatar
dcardon
WAPT Expert
Messages: 2027
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 4, 2026 - 10:37 PM

Hi Guillaume,

the python-pam module removed its explicit dependency declaration for module six (the historical Python 2/Python 3 compatibility module) from its pyproject.toml file in version 2.0.2. Therefore, module six was removed from the requirements.txt file during dependency calculation since no packages required it anymore. This was fixed two weeks ago with version 2.1.0.

In short, there was a mistake in the python-pam project's pyproject.toml file, but I really need to figure out why it wasn't caught during integration testing.

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