Problème suite à mise à jour

Bonjour @ tous,

suite à mise à jour ce samedi plus d’accès vpn client l’application ne démarre plus voir le résultat de plus de détail:
[INFO] Autodetected internet interface: eth0 (last start: eth0)
[INFO] Autodetected IPv6 address for the VPN server: 2a00:5881:8100:1002::1 (last start: 2a00:5881:8100:1002::1)
[INFO] No IPv6 delegated prefix found
[INFO] No native IPv6 detected
[INFO] No IPv6 server route to set
[ERR] No IPv6/IPv4 firewall set
[ERR] No host DNS set
[ERR] Openvpn is not running

et donc rien ne fonctionne correctement. mail etc pas d’accès à distance…

quand j’essaye d’accéder à l’interface graphique administrateur la réponse est la suivante:
L’API ne répond pas
ou
Le serveur a fermé la connexion au lieu d’y répondre, Nginx a-t-il été redémarré par erreur ? (Code/message d’erreur : 0 error)

# 504 Gateway Time-out

ma machine est une brique internet avec carte lime 1

yunohost
3.5.2.1 (stable)
yunohost-admin
3.5.2 (stable)
moulinette
3.5.2 (stable)
ssowat
3.5.2.1 (stable)

problème supplémentaire avec le module mise a jour:

Impossible de récupérer la liste d’applications distante community : HTTPSConnectionPool(host=‘app.yunohost.org’, port=443): Max retries exceeded with url: /community.json (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))

Impossible de récupérer la liste d’applications distante labriqueinternet : HTTPSConnectionPool(host=‘labriqueinter.net’, port=443): Max retries exceeded with url: /apps/labriqueinternet.json (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))

Impossible de récupérer la liste d’applications distante yunohost : HTTPSConnectionPool(host=‘app.yunohost.org’, port=443): Max retries exceeded with url: /official.json (Caused by NewConnectionError(’: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))

Some errors happened while updating the cache of APT (Debian’s package manager). Here is a dump of the sources.list lines which might help to identify problematic lines :
sources.list:deb http://ftp.fr.debian.org/debian stretch main contrib non-free
sources.list:deb http://security.debian.org/ stretch/updates main contrib non-free
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ stretch stable
sources.list.d/mongodb-org-3.2.list:deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2 main
sources.list.d/grafana_stable.list:deb https://packages.grafana.com/oss/deb stable main

W: Some index files failed to download. They have been ignored, or old ones used instead.

W: Failed to fetch http://forge.yunohost.org/debian/dists/stretch/InRelease Temporary failure resolving ‘forge.yunohost.org

W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/3.2/InRelease Temporary failure resolving ‘repo.mongodb.org

W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease Could not resolve host: packages.grafana.com

W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Temporary failure resolving ‘security.debian.org

W: Failed to fetch http://ftp.fr.debian.org/debian/dists/stretch/InRelease Temporary failure resolving ‘ftp.fr.debian.org

Récupération des mises à jour disponibles pour les paquets du système …

voilà ou j’en suis une idée pour avancé?

didier58

Salut,

ça semble être lié à un problème de résolution DNS (à voir si c’est la cause ou la conséquence du VPN qui ne se monte pas)

Du coup est-ce que tu peux faire :

systemctl stop ynh-vpnclient

donner le retour des commandes suivantes :

dig +short @8.8.8.8 wikipedia.org
dig +short @89.234.141.66 wikipedia.org

et :

ps -ef --forest | grep yuno

89.234.141.65 à remplacer par 89.234.141.66

Salut Aleks,

voici le retour des différentes commandes:

admin@didiercl:~$ systemctl stop ynh-vpnclient
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentification requise pour arrêter « ynh-vpnclient.service ».
Authenticating as: jeedom
Password: Failed to stop ynh-vpnclient.service: Connexion terminée par expiration du délai d’attente
See system logs and ‘systemctl status ynh-vpnclient.service’ for details.
polkit-agent-helper-1: pam_authenticate failed: Authentication failure

admin@didiercl:~$ dig +short @8.8.8.8 wikipedia.org
91.198.174.192
admin@didiercl:~$
admin@didiercl:~$ dig +short @89.234.141.66 wikipedia.org

91.198.174.192
admin@didiercl:~$
admin@didiercl:~$ ps -ef --forest | grep yuno
avahi 284 1 0 avril15 ? 00:00:03 avahi-daemon: running [yunohost.local]
root 543 1 0 avril15 ? 00:02:02 /usr/bin/python /usr/bin/yunohost-api
admin 1622 1528 0 19:21 pts/1 00:00:00 _ grep yuno
admin@didiercl:~$ dig +short @89.234.141.66 wikipedia.org
91.198.174.192

en espérant en apprendre plus.

didier58

Personne n’a d’idée pour la résolution de mes problèmes?
Bonne nuit.

didier58

Bonsoir @ tous

après un énième essai et la réponse de la commande:
systemctl stop ynh-vpnclient

voici la réponse:
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentification requise pour arrêter « ynh-vpnclient.service ».
Authenticating as: jeedom
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to stop ynh-vpnclient.service: Access denied
See system logs and ‘systemctl status ynh-vpnclient.service’ for details.
admin@didiercl:~$ systemctl status ynh-vpnclient.service
● ynh-vpnclient.service - YunoHost VPN Client.
Loaded: loaded (/etc/systemd/system/ynh-vpnclient.service; enabled; vendor pr
Active: activating (start) since Sat 2019-04-20 17:35:51 CEST; 3h 42min ago
Main PID: 4138 (ynh-vpnclient)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/ynh-vpnclient.service
├─4138 /bin/bash /usr/local/bin/ynh-vpnclient start
└─4216 /usr/bin/python /usr/bin/yunohost firewall reload

et pas de solution à l’horizon…

bonne soirée

didier58