Page 1 sur 1

[RESOLU] Dépôt WAPTWUA

Posté : 25 août 2020 - 15:52
par jonathan.k
Bonjour,

en attendant la solution pour un dépôt sur un pi, j'effectue des test sur une debian.
Le dépôt est bien visible dans l'onglet dépôt, celui-ci est bien synchronisé.

J'ai poussé la configuration sur une OU (wapt-get.ini):

Code : Tout sélectionner

[global]
repo_url=https://depot-mas-tg.mondomaine.local/wapt
send_usage_report=1
use_hostpackages=1
wapt_server=https://srv-wapt.mondomaine.local
use_kerberos=0
check_certificates_validity=1
verify_cert=0
dnsdomain=
max_gpo_script_wait=180
pre_shutdown_timeout=180
hiberboot_enabled=0
use_ad_groups=1
use_repo_rules=True
waptaudit_task_period=1d
use_fqdn_as_uuid=1
[wapt-templates]
repo_url=https://store.wapt.fr/wapt
verify_cert=1
[waptwua]
enabled=True
default_allow=false
install_at_shutdown=true
install_delay=7d
download_scheduling=1d
allow_direct_download = False
lorsque je demande une recherche de mise à jour, voici l'erreur:

Code : Tout sélectionner

Start Windows Updates Scans

Ensure wuauserv Auto Update option is disabled
Scanning with windows updates rules:
{
 "direct_download": false, 
 "default_allow": false, 
 "install_delay": "7d", 
 "download_scheduling": "1d", 
 "filter": "Type='Software' or Type='Driver'", 
 "install_scheduling": null
}

Unable to refresh wsusscan cab, using old one. (error: ConnectionError: HTTPSConnectionPool(host='depot-mas-tg.mondomaine.local', port=443): Max retries exceeded with url: /waptwua/wsusscn2.cab (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x09598730>: Failed to establish a new connection: [Errno 10061] Aucune connexion n\x92a pu \xeatre \xe9tablie car l\x92ordinateur cible l\x92a express\xe9ment refus\xe9e',)))
merci pour votre aide.

Re: Dépôt WAPTWUA

Posté : 25 août 2020 - 16:10
par dcardon
Bonjour Johnatan,

est ce que vous avez bien installé le paquet tis-enable-remote-repo-nginx après avoir déployé l'agent sur la Debian?
Est ce que vous avez bien le process nginx en écoute (netstat -tapn | grep 443 après avoir installé net-tools) ?
Est ce qu'il y a un firewall configuré sur la machine (iptables -L) ?

Denis

Re: Dépôt WAPTWUA

Posté : 25 août 2020 - 16:48
par jonathan.k
Le paquet tis-enable-remote-repo-nginx n'était pas installé, maintenant c'est fait.

voici maintenant le résultat de la commande netstat -tapn |grep 443:

Code : Tout sélectionner

tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      568/nginx: master p
et voici le résultat d'un scan lancé à partir de la console:

Code : Tout sélectionner

Start Windows Updates Scans

Ensure wuauserv Auto Update option is disabled
Scanning with windows updates rules:
{
 "direct_download": false, 
 "default_allow": false, 
 "install_delay": "7d", 
 "download_scheduling": "1d", 
 "filter": "Type='Software' or Type='Driver'", 
 "install_scheduling": null
}
Looking for updates with filter: Type='Software' or Type='Driver'
   Connecting to local update searcher using offline wsusscn2 file...
   Offline Update searcher ready...

Waiting for WUA search to complete
Waiting for WUA search to complete
Searching s
Searching 1s

Searching 2s

Searching 3s

Searching 4s

Searching 5s

Searching 6s

...
Cela semble se terminer sans erreur mais je ne suis pas sur de moi.

Re: Dépôt WAPTWUA

Posté : 25 août 2020 - 17:45
par dcardon
Bonjour Jonathan,

vous devriez récupérer l'état dans la console WAPT dans l'onglet windows update. Il devrait y avoir les KB installées et les KB en attente d'installation.

Denis

Re: Dépôt WAPTWUA

Posté : 26 août 2020 - 10:03
par jonathan.k
Bonjour Denis

C'est bon pour moi, j'ai bien des mises à jour en attente.

Merci, je passe le sujet en résolu.