[Wapt] Problem following documentation on backup.

Hubert Touvet TIS htouvet at tranquil.it
Sat Apr 7 18:19:16 CEST 2018


tis-waptrepo is not needed anymore.

the doc is not up to date for this part...

you must use the command

wapt-scanpackages /var/www/wapt

which setup properly the python path with Wapt modules.


Le 07/04/2018 à 18:02, Klaus Ade Johnstad a écrit :
> I have a newly installed minimal Debian 9, with
> tis-waptrepo                      1.5.1.23-tisdeb9-4901-6f0f1018 all
> tis-waptserver                    1.5.1.23-tisdeb9-4901-6f0f1018 amd64
> tis-waptsetup                     1.5.1.23-tisdeb9-4901-6f0f1018 all
>
> Following the documentation on "scan package repositories;":
> https://www.wapt.fr/en/doc-1.5/waptserver_backup.html
>
> root at srvwapt:~# /usr/bin/python /opt/wapt/wapt-scanpackages.py /var/www
> /wapt/
> Traceback (most recent call last):
>    File "/opt/wapt/wapt-scanpackages.py", line 32, in <module>
>      from waptutils import __version__,setloglevel
>    File "/opt/wapt/waptutils.py", line 41, in <module>
>      import requests
> ImportError: No module named requests
>
> When I install the package "python-requests" the next problem is:
> root at srvwapt:~# /usr/bin/python /opt/wapt/wapt-scanpackages.py
> /var/www/wapt/
> Traceback (most recent call last):
>    File "/opt/wapt/wapt-scanpackages.py", line 33, in <module>
>      from waptpackage import update_packages
>    File "/opt/wapt/waptpackage.py", line 81, in <module>
>      from iniparse import RawConfigParser
> ImportError: No module named iniparse
>
> When I install the package "python-iniparse" the next problem is:
> root at srvwapt:~# /usr/bin/python /opt/wapt/wapt-scanpackages.py
> /var/www/wapt/
> Traceback (most recent call last):
>    File "/opt/wapt/wapt-scanpackages.py", line 33, in <module>
>      from waptpackage import update_packages
>    File "/opt/wapt/waptpackage.py", line 89, in <module>
>      from waptcrypto import EWaptMissingCertificate,EWaptBadCertificate
>    File "/opt/wapt/waptcrypto.py", line 43, in <module>
>      from cryptography.x509.verification import
> CertificateVerificationContext, InvalidCertificate,
> InvalidSigningCertificate
> ImportError: No module named verification
>
> I'm not sure what package I'm missing now?
> Maybe you need to add some more dependencies to your packages, or update
> the doumentation.
>
>
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20180407/5f670f75/attachment.html>


More information about the WAPT mailing list